[Info-vax] 2 questions, 1st regarding setting up keyboard 2nd. dcl programming

David J Dachtera djesys.no at spam.comcast.net
Wed Jan 7 21:41:20 EST 2009


acid.friend at yahoo.de wrote:
> 
> thank you. i will check it out.
> 
> kind regards,
> Acid F
> 
> karl.rohwed... at gmx.de wrote:
> > Perhaps the following site is of interest:
> >
> > http://www.termsys.demon.co.uk/vtansi.htm
> >
> > regards Kalle


Rather than escape sequences, you might also consider simply appending
enough back-space characters (ASCII 8) to move the cursor to the
beginning of the underscores.

For example:
$ bsp[0,8] = 8
$ under = f$fao( "_______!7*''bsp'" )
$ read sys$command p9/prompt="LOGIN: ''under'"

That will work on many terminals, even one that doesn't understand
VTxxx escapes sequences, and even on hard-copy terminals like
teletype, LA120, etc.

Of course, that won't limit the user's input to the length of the
underscores, and their entry will not be underscored, but it does "give
the appearance", sort of.

David J Dachtera
DJE Systems



More information about the Info-vax mailing list