[Info-vax] DCL output no line feed

Jerry Alan Braga jerry.braga at hotmail.com
Thu Jan 21 11:18:27 EST 2010


but the write sys$output command by default places an CRLF to the screen, if 
I want to display a message at the bottom line than the screen will scroll 
after the command is done, I do not want that.

"Wilm Boerhout" <wboerhout at gmail.com> wrote in message 
news:f637dbe7-11ea-4a6d-8643-b13d50ff7978 at p8g2000yqb.googlegroups.com...
> 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