Or scroll forward or left and right to edit the command.

Ain't life great!

Roy

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Hester
Sent: Wednesday, August 30, 2006 2:48 PM
To: [email protected]
Subject: [U2] [UV] up-arrow w/command stack

I've been using a variation of the code snippet Bob Woodward posted a
couple of weeks ago to change my UV prompt to display the current
account:

0001: ACCOUNT = FIELD(@PATH,'/',DCOUNT(@PATH,'/'))
0002: STELPROMPT = ACCOUNT:'>'
0003: STELPROMPT<2>= ACCOUNT:'>>'
0004: STELPROMPT<3>= '+'
0005: ASSIGN 1 TO SYSTEM(4001)
0006: ASSIGN STELPROMPT TO SYSTEM(4002)

I just discovered that if you use this with VT220 emulation, your
up-arrow will let you scroll back through the command stack and execute
a previous command by pressing <enter>.  This discovery has made my day
:).

-John

John Hester
System & Network Administrator
Momentum Textiles, Inc.
(949) 833-8886 x623
http://www.memosamples.com
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to