From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,eb61362da3abc85a X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-06-07 06:07:19 PST Path: nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!decwrl!src.dec.com!crl.dec.com!jac.zko.dec.com!4gl.enet.dec.com!heinzer From: heinzer@4gl.enet.dec.com () Newsgroups: comp.sys.dec Subject: Re: Escape sequences for a DECterm Date: 7 Jun 1994 12:56:02 GMT Organization: Digital Equipment Corporation Distribution: world Message-ID: <2t1qp2$co5@jac.zko.dec.com> References: <2t1amh$lf8@unidoct.Chemietechnik.Uni-Dortmund.DE> Reply-To: heinzer@4gl.enet.dec.com () NNTP-Posting-Host: 4GL X-Newsreader: dxrn 6.18-16 Here's a "start" to what you may be looking for... --> Dieter <-- $! This is file ESC_SEQUENCES.COM $! $ ESC[0,7] == 27 ! escape $ NORMAL :== "''ESC'[0m" ! no attributes $ ERASCR :== "''ESC'[2J" ! erase screen $ BOLD :== "''ESC'[1m" ! bold text $ UNDER :== "''ESC'[4m" ! underline text $ BLINK :== "''ESC'[5m" ! blink text $ INVER :== "''ESC'[7m" ! inverse video $ DBL1 :== "''ESC'#3" ! double height top $ DBL2 :== "''ESC'#4" ! double height bottom $ SWSH :== "''ESC'#5" ! single width single height $ DWSH :== "''ESC'#6" ! double width single height $ !+ $ ! Set up erase controls. $ !- $ ERASCR :== "''ESC'[2J" ! erase screen $ ERABOS :== "''ESC'[1J" ! erase cursor to beginning of screen $ ERAEOS :== "''ESC'[0J" ! erase cursor to end of screen $ ERALIN :== "''ESC'[2K" ! erase current line $ ERABOL :== "''ESC'[1K" ! erase cursor to beginning of line $ ERAEOL :== "''ESC'[0K" ! erase cursor to end of line $ !+ $ ! Set up cursor controls. $ !- $ CUH :== "''ESC'[H" ! cursor home $ CUU :== "''ESC'[''num'A" ! cursor up $ CUD :== "''ESC'[''num'B" ! cursor down $ CUR :== "''ESC'[''num'C" ! cursor right $ CUL :== "''ESC'[''num'D" ! cursor left $ CUP :== "''ESC'[''row';''col'f" ! cursor position $ CURSAV :== "''ESC'7" ! cursor save $ CURRES :== "''ESC'8" ! cursor restore $ SCR :== "''ESC'[''top';''bot'r" ! scroll region $ ORIMOD :== "''ESC'[?6h" ! origin mode $ RESMOD :== "''ESC'[?6l" ! reset mode $ SCRREV :== "''ESC'[?5h" ! background inverse $ SCRNOR :== "''ESC'[?5l" ! background normal