[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IIGS terminal mode



SlickRCBD wrote:

 >I once saw a list of escape or control commands that could be issued
 >from the keyboard to control various things on the IIGS serial ports.
 >One of them turned it into a dumb terminal. I think another did
 >something like parity. In any case, I could really use a refresher on
 >those commands. Or at the very least, tell me the one to make it a dumb
 >terminal.

Quick list:

PR#N = where N is slot number (1 or 2); initialize output on port.
IN#N = where N is slot number (1 or 2); initialize input on port.
nnnN = set line width to nnn.
nnB = set baud rate to one of 15 values, from 50 - 19,200.
C = send ^M whenever line width exceeded.
nD = set standard settings for data bits & stop bits; Data range from 5-8, stop
1 or 2.
F = disable keyboard input.
I = echo output to display screen.
K = disable linefeed after carriage return.
L = enable LF after CR.
M = delete incoming LFs.
nP = set parity so a standard value of n; parity is even, odd, mark, space, or
none.
Q = quit terminal mode.
R = reset port.
S = send break character.
T = enter terminal mode.
X = turn on XON/XOFF mode.
Z = ignore further commands until Control-Reset pressed.

Format of commands is cT, where T is the desired command, and c is the command
character: Control-I for port 1, Control-A for port 2.  To change the command
character, first type the command character, then type the control character
you wish to change c to (must be another Control-character).

The above is from "Technical Introduction to the Apple IIGS."

HTH