From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,1eec04886a82d86d,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-10-12 11:53:57 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!cs.utexas.edu!convex!news.duke.edu!zombie.ncsc.mil!MathWorks.Com!news2.near.net!satisfied.elf.com!rpi!wilsonj From: wilsonj@alum01.its.rpi.edu (John Wilson) Newsgroups: comp.sys.dec Subject: Re: vt220 terminal Date: 12 Oct 1994 16:50:39 GMT Organization: Rensselaer Polytechnic Institute, Troy NY Message-ID: <37h44v$6ug@usenet.rpi.edu> References: NNTP-Posting-Host: alum01.its.rpi.edu Keywords: vt220 In article , Jan Gerritse 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 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