[Info-vax] DCL output no line feed

Wilm Boerhout wboerhout at gmail.com
Thu Jan 21 09:57:25 EST 2010


On 21 jan, 15:45, "Jerry Alan Braga" <jerry.br... at hotmail.com> wrote:
> Is the any way in and DCL command procedure to output to the screen without
> advancing to the next line?

1. See VMS Help for INQUIRE or READ /PROMPT; this assumes that after
the write you will want to do a read
2. If you want repeated writes without intervening reads, you have to
remember the cursor position (again, assuming that it's a termial that
you write to and not a tape unit). vt100.net holds ANSI and VTxxx
escape sequences to do just that. The idea is to use the following
sequence:

$ WRITE TEXT+"cursor save sequence"
[...] do some other processing...
$ WRITE "cursor restore sequence"+TEXT

On your screen, it will appear as if the second write immediately
follows the first.

Without knowing what problem you are trying to solve, it is hard to
judge whether your solution (write with no advancing) makes sense, or
for that matter, my solutions.

/Wilm



More information about the Info-vax mailing list