Subject: | |
From: | |
Reply To: | |
Date: | Wed, 27 Feb 2002 10:22:38 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
talk about memory lapse! I knew I had created this file but didn't think I
placed it on the 'L'..
It can actually be modified to include any width.
I became interested in this subject after several pranks I pulled on some
former programming co-workers.
I use to move their cursor to say, column 36 and enter esc(4) then move it
to column 42 and press esc(5). Then sit back and wait for the comments to
fly :)
Terminal wars were such fun; at times.
Thanks for reminding me.
-----Original Message-----
From: Robert Mills [mailto:[log in to unmask]]
Sent: Wednesday, February 27, 2002 1:57 AM
To: [log in to unmask]
Subject: Re: [HP3000-L] Escape Code for Screen Width
Larry,
Does this command file look familiar?
PARM SIZE="#"
OPTION NOLIST NOHELP
SETVAR SIZE "!SIZE"
IF UPS("!SIZE") <> "SMALL" AND &
UPS("!SIZE") <> "LARGE" AND &
"!SIZE" <> "132" AND "!SIZE" <> "80"
ECHO
ECHO This command file will allow you to change the screen
ECHO viewing size of your terminal. You can have characters
ECHO displayed in 80 column (LARGE) or 132 column (small).
ECHO
ECHO SYNTAX:
ECHO
ECHO SCREEN [SIZE]
ECHO
ECHO [SMALL] - Will display characters on your screen
ECHO or [132] in 132 column format.
ECHO
ECHO [LARGE] - Will display characters on your screen
ECHO or [80] in 80 column format.
ECHO
ECHO [?????] - Anything other than SMALL or LARGE will
ECHO display this information on your screen.
ECHO
ECHO Created by Larry Barnes
ECHO
ELSE
IF UPS("!SIZE") = "SMALL" OR "!SIZE" = "132"
ECHO ![CHR(27)]&w6f132X
ELSE
ECHO ![CHR(27)]&w6f80X
ENDIF
DELETEVAR SIZE
ENDIF
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|