Subj : Re: New terminal program To : Omnibrain From : deon Date : Tue Nov 22 2022 23:30:50 Re: Re: New terminal program By: Omnibrain to deon on Tue Nov 22 2022 12:16 am Howdy, > Now I've kind of a problem. > This sequence clears the attribute: > \x1E\x09\n\x1E > Now is the question which behavior is correct? Unfortunately I don't have a > spec just a table with commands and this table leaves much room for > interpretation. All these are cursor movement (not characters are written - or overwritten). \x1e is "home", takes the cursor to 1,1 \x09 is "right", moves the cursor to the right (but doesnt overrite anything) \x0a is "down", moves the cursor down (some horizontal position) And just while I'm on this topic: \x08 is "left" \x0b is "up" (same horizontal position) The cursor wraps when it gets to its boundary, ie: * If you are at position 40 and "right", you are on the next line at position 1 * If you are on the bottom line (24) and down, you wrap to the top line (same col). And thus, if the cursor is at 40,24 and "right", it wraps to 1,1. ....лоеп --- SBBSecho 3.15-Linux * Origin: I'm playing with ANSI+videotex - wanna play too? (21:2/116) .