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
*****************************
Robert W.Mills, Systems Development Manager, Windsong Services
Electron House, Cray Avenue, St. Mary Cray, Kent BR5 3PN, ENGLAND
Tel: +44 (0)1689.870622 x 3005 Fax: +44 (0)1689 899026
[log in to unmask]
********************************
The thoughts, comments, and opinions expressed herein are mine.
They do not reflect those of my employer, nor anyone else.
********************************
***Confidentiality Notice: This e-mail message, including any attachments,
is for the sole use of the intended recipients and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.
-----Original Message-----
From: Larry Barnes [mailto:[log in to unmask]]
Sent: 26 February 2002 19:47
To: [log in to unmask]
Subject: Escape Code for Screen Width
I have been searching different sites for an escape code sequence for change
the number of characters displayed on a screen. I'm trying to put this in a
script.
I'm using Reflection for HP. I can change this value under the setup menu
but I'm sure there's an escape sequence that will do this also.
Anyone have places I can search. I've been to WRQ's and can't find it. If
it's there I must be using the wrong search string(s). I've looked thru
some of the archives in this list and I'm stuck.
Any help would be appreciated.
Thanks,
Larry A. Barnes
Systems Administrator - HP3000
Coldwater Creek Inc.
Coeur d'Alene, ID
> Shop today at Coldwater Creek http://www.coldwatercreek.com
>
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|