text terminal howto 20 opfgcqrq54z7jifn7jscwd7frxsxzhcyohognaq opfgcqrq54z7jifn7jscwd7frxsxzhcyohognaq OPFGCQRQ54Z7JIFN7JSCWD7FRXSXZHCYOHOGNAQ


Text-Terminal-HOWTO: Appendix B: Escape Sequence Commands Terminology 20. Appendix B: Escape Sequence Commands TerminologyThese are sometimes called "control sequences". This section of Text-Terminal-HOWTO is incomplete (and may never be complete as there are such a huge number of control sequences). This section is for reference and perhaps really belongs in something that would be called "Text-Terminal-Programming-HOWTO".An example of an ANSI standard escape sequence is ESC[5B which moves the cursor down 5 lines. ESC is the Escape character. The parameter 5 is included in the sequence. If it were 7 the cursor would move down 7 lines, etc. A listing for this sequence as "move cursor down x lines: ESC[xB" is easy to to understand. But command jargon such as: "tertiary device attribute request" is less comprehensible. This section will try to explain some of the more arcane jargon used for escape sequence commands. A full listing (including the escape sequence codes for the ANSI standard) is a "wish list" project. Since many escape sequences do the same thing as is done when setting up the terminal with Set-Up Options, such escape sequences options will not be repeated here.20.1 Esc Sequence ListFor a list of many (but not all) escape sequences for various terminals see Escape Seqs.; N. America or Escape Seqs.; Europe. These are used for terminal emulation and are not always the same as on the corresponding real terminal..20.2 Printer EscAuto Print on/off: When on, data from the host is also teed (sent) to the printer port of the terminal (and also shows on the terminal screen).Print Controller on/off: When on, data from the host is sent only to the printer (nothing shows on the terminal screen).20.3 ReportsThese sequences are usually a request sent from the host to request a report from the terminal. The terminal responds by sending a report (actually another escape sequence) to the host which has embedded in it certain values telling the host about the current state of the terminal. In some cases a report may be sent to the host even if it wasn't asked for. This sometimes happens when set-up is exited. By default no unsolicited reports should be sent.Request for Status (Report Operating Status): Meaning of replies for VT100 is either "I'm OK" or "I'm not OK"Request for Device Attributes: The "device" is usually the printer. Is there a printer? Is it ready?Reqest for Tertiary Device Attributes (VT): Reply is report that was entered during set-up. The tertiary device is the 3rd device (the printer or auxiliary port device ??). The 1st device may be the host computer and the 2nd device the terminal.Request for Terminal Parameters: What is the parity, baud rate, byte width, etc. This request doesn't seem to make much sense, since if the host didn't already know this it couldn't communicate with the terminal or send a reply.20.4 Cursor MovementsThe cursor is where the next character received from the host will be displayed. Most of the cursor movements are self-explanatory. "index cursor" means to move the cursor down one line. Cursor movements may be relative to the current position such as "move 4 spaces left" or absolute such as "move to row 3, column 39". Absolute is called "Direct Cursor Positioning" or "Direct Cursor Addressing".The home position is row 1 col. 1 (index origin is 1). But where this home position is on the physical screen is not completely clear. If "Cursor Origin Mode" = "Relative Origin Mode" is set, then home is at the top of the scrolling region (not necessarily the top of the screen) at the left edge of the screen. If "Absolute Origin Mode" is set (the same as unsetting any of the two modes in the previous sentence) then home is at the upper left corner of the screen. On some old terminals if "Cursor Origin Mode" is set it means that it's relative.20.5 PagesSee Pages for an explanation of pages. There are a number of escape sequences to deal with pages. Text may be copied from one page to another and one may move the cursor from page to page. Switching pages may or may not be automatic: when the screen becomes full (page 1) then more data from the host goes to page 2. The cursor may only be on one page at a time and characters which are sent to the terminal go there. If that page is not being displayed, new text will be received by the terminal and go into display memory, but you will not see it (until the terminal is switched to that page). t

Wyszukiwarka

Podobne podstrony:
text terminal howto 2 eco2mtullt7zlyeiszxynu2yrkoyuriolwpudhi eco2mtullt7zlyeiszxynu2yrkoyuriolwpudh
text terminal howto 1 s76m2vv53hpf7iuhhhmqyqtjzxinakzs3uz5aey s76m2vv53hpf7iuhhhmqyqtjzxinakzs3uz5ae
text terminal howto 19 oh6tpsuaxvxr4hf37ciuydnfpa5d6wfzvbt6uki oh6tpsuaxvxr4hf37ciuydnfpa5d6wfzvbt6u
text terminal howto 8 6oap46zh2atkgwpj6lieirkd233gx7koq7xf2ga 6oap46zh2atkgwpj6lieirkd233gx7koq7xf2g
text terminal howto 3 auzt7kasgagee6644i6bimjecd2ia4tciuo45gy auzt7kasgagee6644i6bimjecd2ia4tciuo45g
text terminal howto kpze5eddlh3abi7dfltb7z3zwyd5zfxcg5hb7ba kpze5eddlh3abi7dfltb7z3zwyd5zfxcg5hb7ba
text terminal howto 6 rvpisrvtite6sq3tvpnyi6sed4tgmxxk4bb7u2q rvpisrvtite6sq3tvpnyi6sed4tgmxxk4bb7u2
text terminal howto 10 6xnqiwoqqg63dbxziffmdaxaql7crul6m6jfgaq 6xnqiwoqqg63dbxziffmdaxaql7crul6m6jfg
text terminal howto 15 dvswdfv63wzarnnqikomdtizprofgvdxi47mlja dvswdfv63wzarnnqikomdtizprofgvdxi47ml
text terminal howto 7 d3zeov4eq2brkq3rwyrf3gmfrujvxtharzotlcq d3zeov4eq2brkq3rwyrf3gmfrujvxtharzotlc
text terminal howto 22 ubalhv6pmumdby22mufhx3ivbqploo4mucmyina ubalhv6pmumdby22mufhx3ivbqploo4mucmyi
text terminal howto 5 z4nav75xpqiwzwonw4msjdpqapgpjb36mwdb5xa z4nav75xpqiwzwonw4msjdpqapgpjb36mwdb5x
text terminal howto 4 zm272gurucsnas4ng5zewrpsucz5ovzrqdakfvq zm272gurucsnas4ng5zewrpsucz5ovzrqdakfv
text terminal howto 4 zm272gurucsnas4ng5zewrpsucz5ovzrqdakfvq zm272gurucsnas4ng5zewrpsucz5ovzrqdakfv
text terminal howto 12 mnwbjvagxa5xkhk42ctoc5geqwdjewwanqsav4y mnwbjvagxa5xkhk42ctoc5geqwdjewwanqsav
text terminal howto 9 kindkpoux7ukzlglfzssjv3kq3kzkgsrqe7aeei kindkpoux7ukzlglfzssjv3kq3kzkgsrqe7aee
multi disk howto 20 623jxrnttobj6lnmjmrzex7r2d62x6pjwrf3s6a
keyboard and console howto 20 5olhgqbz3fqtpryftlqnpddqhws4pghrtgvzqgi

więcej podobnych podstron