Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!bellcore!petrus!scherzo!allegra!princeton!orsvax1!pyrnj!caip!im4u!ut-sally!pyramid!amiga!bruceb From: bruceb@amiga.UUCP (Bruce Barrett) Newsgroups: net.micro.amiga Subject: Re: RAW: escape sequences Message-ID: <827@amiga.amiga.UUCP> Date: Fri, 7-Mar-86 06:53:49 EST Article-I.D.: amiga.827 Posted: Fri Mar 7 06:53:49 1986 Date-Received: Sat, 8-Mar-86 23:58:32 EST References: <2885@amdahl.UUCP> Reply-To: bruceb@amiga.UUCP (Bruce Barrett) Distribution: net Organization: Commodore-Amiga Inc., 983 University Ave #D, Los Gatos CA 95030 Lines: 42 In article <2885@amdahl.UUCP> acs@amdahl.UUCP (Tony Sumrall) writes: > >I got a copy of the Bantam book "The AmigaDOS Manual" and was trying out >the various escape sequences defined therein. I couldn't get the Set >Cursor Rendition (xp). I have several questions: > * Exactly what it the sequence I should be typing? xp where x is > a number (this is implied by the doc.)? Real close! You should be typing [0 p to turn off the cursor, and [1 p to turn it back on. Note the blank (space)------^ > * Is [xp identical to xp? Yes, both will fail unless you include the blank. > >Additionally, could someone post the arguments acceptable to or output >from: > - SM (Set Mode, [h)--the book lists only 1 example, [20h = output for every [>1h = allow scroll after last line of screen [?7h = allow scroll of 1 line as you output in last column > - RM (Reset Mode, [l)--the book only lists 1 example, [20l = output for every [>1l = prohibit scroll after last line of screen [?7l = prohibit scroll of 1 line as you output in last column (with the last 2 items prohibited your window would never scroll) > - SGR (Select Graphics Rendition, [m), [##m ## 30-39 set text color 40-49 set background color 0 normal text 1 bold 3 italic 4 underscore 7 negitive (inverse video) These are documented in the *.h files on the C devel diskettes. It is getting late so I'm not going to tell you about the rest today. If you still want to know please ask again. --Bruce Barrett