Operating System - OpenVMS
1823178 Members
3623 Online
109647 Solutions
New Discussion юеВ

Re: Powerterm escape sequences

 
SOLVED
Go to solution
Bart Zorn_1
Trusted Contributor

Powerterm escape sequences

I am looking for documentation about escape sequences for PowerTerm 525 V5.6, as found on the PathWorks 32 V7.4 CD.

The Ericom website is not very helpful, because it wants a valid serial number before you can down load the User Guide.

Has anyone any pointers?

Thanks in advance,

Bart Zorn
10 REPLIES 10
David B Sneddon
Honored Contributor

Re: Powerterm escape sequences

Bart,

Since it is supposed to be a VT emulator, try

http://www.cs.utk.edu/~shuford/terminal_index.html

for lots of useful terminal stuff.

Dave
Bart Zorn_1
Trusted Contributor

Re: Powerterm escape sequences

Hi Dave,

Yes, it is supposed to emulate a VT terminal and it does that very well. There is indeed a lot of information on the UTK site.

However, I am looking for PowerTerm specific escape sequences, such as setting the Window title.

Thanks anyway!

Bart


Daniel Fernandez Illan
Trusted Contributor

Re: Powerterm escape sequences

Hi Bart
Some actions for PowerTerm 525 (V5.4.2 is my version) does not use escape sequences. Comands are on .psl files. You can obtain scripts using Ctrl+Alt+F9 to record scripts and after save these modifications.
I use a file similar to:

set session-name "name of session"

set comm-type telnet
set host-name ip-address
ok = [session open]
if {$ok == 0} {return}

Saludos.
Daniel.
Bart Zorn_1
Trusted Contributor

Re: Powerterm escape sequences

Hello Daniel,

This looks good, but I am wondering how can I initiate the execution of such a script from the host (as would be possible with escape sequences)?

Thanks,

Bart
Daniel Fernandez Illan
Trusted Contributor
Solution

Re: Powerterm escape sequences

Hello Bart

This is the content of help from PowerTerm:

A host application may activate a script file or script commands via special escape sequences.

Escape Sequences for VT

Activating a script file by the name Script-Name:

ESCP$sScript-NameESC \
Example: activating the message.psl script:
ESCP$smessage.pslESC\

Note

ESC is the ASCII 27 code.

Activating script commands Script-Commands:

ESCP$tScript-CommandsESC \

Example: activating the "message testing ; send end" commands:

ESCP$tmessage testing ; send endESC\

Escape Sequences for DG

Activating a script file by the name Script-Name:

ESCWsScript-Name000

Note

ESC is the ASCII 30 code, 000 is the ASCII 0 code.

Activating script commands Script-Commands:

ESCWtScript-Commands000

Saludos.
Daniel.
Bart Zorn_1
Trusted Contributor

Re: Powerterm escape sequences

Daniel,

This looks like what I was looking for.

Thanks!

Bart
Jess Goodman
Esteemed Contributor

Re: Powerterm escape sequences

I use something similar to this in my login.com to set my Powerterm sessions window title:
$SAY:=WRITE SYS$OUTPUT
$NODE=F$GETSYI("NODENAME")
$ESC[0,8]=27
$SAY ESC,"P$tset session-name ",NODE,ESC,"\"
I have one, but it's personal.
Bart Zorn_1
Trusted Contributor

Re: Powerterm escape sequences

Yes, I have it working now.

Thanks to all who responded!

Bart
Galen Tackett
Valued Contributor

Re: Powerterm escape sequences

Does anyone know if there's a way via escape sequences to distinguish between a PowerTerm and a real VTxxx or DECterm?

This isn't terribly important. Just curious...


Thanks,

Galen
Jess Goodman
Esteemed Contributor

Re: Powerterm escape sequences

If you send a ENQ (Control-E Ascii 5) to the terminal it will repond with its answerback sequence (default is "PowerTerm").
I have one, but it's personal.