Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: wilsonj@alum01.its.rpi.edu (John Wilson)
Subject: Re: vt220 terminal
Date: 12 Oct 1994 16:50:39 GMT	[thread overview]
Message-ID: <37h44v$6ug@usenet.rpi.edu> (raw)
In-Reply-To: CxJvrI.7sC@inter.NL.net

In article <CxJvrI.7sC@inter.NL.net>,
Jan Gerritse <gerritse@inter.NL.net> wrote:
>On a VT220 terminal, you can put an answer-back message in the set-up.
>Is there an escape sequence to read this message out ?

^E (005 ASCII that is, or ENQ)

Make sure your OS doesn't turn ^Es into <circumflex> <E> on output.
On our old RSTS system we used to send CHR$(133) with VT100s to fool
the OS, that ought to work with a 220 in 7-bit mode.  Note that there's
no guarantee that the answerback is any particular length, or that
it ends in CR, or even that there is one at all, so you'll have to
set a timeout and do a delimiterless read if you want to be bulletproof.

John Wilson


  reply	other threads:[~1994-10-12 16:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-10-12  8:04 vt220 terminal Jan Gerritse
1994-10-12 16:50 ` John Wilson [this message]
1994-10-12 17:43 ` Kent C. Brodie
1994-10-17 21:49   ` Bernard Rushton
1994-10-18  9:15     ` Mark Van-Bellen, MIS, HNS UK, x211
1994-10-18 13:41     ` Kent C. Brodie
1994-10-12 17:43 ` Stephen Hoffman
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox