1835486 Members
3571 Online
110078 Solutions
New Discussion

escape characters

 
geir_2
Super Advisor

escape characters

Hi,

For many years ago, when I worked with VMS, I had a paper with usefull escape characters. These could be useful if you want to configure scroll bars, double size, hight, cursor position etc on a vt-terminal.

It would be great if someone could help me to find the escape characters. If you have some examples it would be great.

Thanks!
9 REPLIES 9
Karl Rohwedder
Honored Contributor

Re: escape characters

Please check out www.vt100.net, there are a lot of manuals, esp. the programmer manuals contain info about all esacpe sequences.

mfg Kalle
David B Sneddon
Honored Contributor

Re: escape characters

Geir,

As well as the link Karl suggested (an excellent
site) you may want to look at the SMG routines
available. The advantage of these is that they
offer some degree of device independence.
There is a manual available at
http://h71000.www7.hp.com/doc/73final/5935/5935PRO.HTML
This of course assumes use of a language capable
of calling SMG. Using DCL will require knowledge
of the escape sequences.

Regards
Dave
Antoniov.
Honored Contributor

Re: escape characters

Hi Geir,
for VT escape sequence look at here
http://vt100.net/docs/

Antonio Vigliotti
Antonio Maria Vigliotti
Daniel Fernandez Illan
Trusted Contributor

Re: escape characters

Hi Geir
Attached document constains escape secuences for VT100 and VT500 terminals.
geir_2
Super Advisor

Re: escape characters

Hi,

thanks for the asnwers.

Look at the following links:
http://www.vt100.net/docs/vt100-ug/chapter3.html#S3.3.2

The answer is:
ESC [ Pn; Pn r

The first parameter is the line number of the first line in the scrolling region; the second parameter is the line number of the bottom line in the scrolling region


But it still does not work. I don't know why.

Thanks again
geir_2
Super Advisor

Re: escape characters

Hi,

Thanks for the answers. The problem is solved.

regards geir
Antoniov.
Honored Contributor

Re: escape characters

Geir,
[n;n r is a level 4 code which is valid only for VT400/VT500.

Antonio Vigliotti
Antonio Maria Vigliotti
geir_2
Super Advisor

Re: escape characters

Hi Antonio,

According to the manual it's correct. But I have noe problem to use the escape characters. But thanks anayway

Regards Geir
Alon Jacob
Frequent Advisor

Re: escape characters

Hello Geir.

You can also find this data inside the VMS itself.
Take a look at the file sys$system:SMGTERMS.TXT

Alon.