[Info-vax] escape sequences, cursor positioning

Hein RMS van den Heuvel heinvandenheuvel at gmail.com
Sun Jan 11 08:11:17 EST 2009


On Jan 11, 3:49 am, acid.fri... at yahoo.de wrote:
> hi everybody,
> it might be interesting for you to read my previous topic:http://groups.google.com/group/comp.os.vms/browse_thread/thread/37b3e...
:
> i've found out that some escape seqences work very well and other
> don't work and now i'm trying to find some help here.

I hope that your working attitude is that beginners do not find
massive problems such as non-working escape secquences, all they find
is areas they do not understand well enough.

Possible cause of trouble here: DCL terminates each write with a
<CR><LF>
Possible solution here: put the positioning escape sequence in the
PROMPT.
Hint, instead of the classic "''symbol'" try &symbol.

For example:

$ x = esc + "[2C" + esc + "[4m"
$!
$ read sys$command input1/prompt=&x
$ say esc+ "[m"

When in doubt, switch the terminal to "DISPLAY CONTROL" (or somehting
along those lines) in its setup screen(s).

Enjoy,
Hein





More information about the Info-vax mailing list