Open Text Corporation Press Room | Careers | Investors  
Enterprise Content Management
News | Company | Open Text | Hummingbird Connectivity  
Home > Exceedusers > Apr2003 >  Re: how can I recall my last command Print View   Contact Me   
Site Tools
My Notes
My Menu Add this page to My Menu
Enterprise Content Management

 

From: Nigel Pain ( )
Date: Fri Apr 11 2003 - 12:15:23 EDT


************************************************************************
************************************************************************
*******
This email and any files transmitted with it are intended solely for the
use of the individual or entity to whom they are addressed.
************************************************************************
************************************************************************
*******

This is really a UNIX thing rather than Exceed.

The way I do it is to use the Korn shell. Then if you have the
environment variable EDITOR set to vi, you can use vi keystrokes and
commands to edit your command line. In terms of recalling previous
commands, hit ESC to take you out of insert mode and then k scrolls back
through commands and j scrolls forward. To edit a line use h to move
left and l to move right, x deletes the character under the cursor and i
takes you back into insert mode. This is an extremely brief summary of
some of the most important keystrokes but vi is an extremely complex and
powerful text editor. Some hate it, some love it, I can live with it!

***************************************************
Nigel Pain
Scottish Executive
Analytical Services Team
Victoria Quay
EDINBURGH
EH6 6QQ
UK
Tel +44 131 244 7237

Mailto:
<Mailto: >
Website: http:\\www.scotland.gov.uk <http:\\www.scotland.gov.uk>

-----Original Message-----
From: Steve Diniro [ mailto:
<mailto: > ]
Sent: 11 April 2003 15:45
To:
Subject: [EXCEEDUSERS] how can I recall my last command

*******************************************************************
This email has been received from an external party and
has been swept for the presence of computer viruses.
*******************************************************************

When running an Xclient window, how can I recall the last command I
typed?

In DOS, with DOSKEY installed, you simply have to press the up arrow key
to
recall the previous command you typed.

When I do this in an Xclient session, up arrow returns junk, like: ^[[A

Thanks,

Steve

PLEASE NOTE: THE ABOVE MESSAGE WAS RECEIVED FROM THE INTERNET.

On entering the GSI, this email was scanned for viruses by the
Government Secure Intranet (GSI) virus scanning service supplied
exclusively by Cable & Wireless in partnership with MessageLabs.

GSI users see http://www.gsi.gov.uk/main/new2002notices.htm
<http://www.gsi.gov.uk/main/new2002notices.htm> for further details. In
case of problems, please call your organisational IT helpdesk.



This archive was generated by hypermail 2b29 : Wed Apr 16 2003 - 00:01:02 EDT