These commands are documented in the Apple IIGS Firmware Reference. Briefly, you need to do PR#(slot), print the command character (usually control-I for slot 1 and control-A for slot 2), and then print the appropriate command string--for example, to select 2400 baud on the modem port, PRINT CHR$(1)"10B". To select the baud rate, the command string is "(cmd-char)nB", where n is a number from the following table: n Baud rate n Baud rate -- --------- -- --------- 0 Default (from control panel) 8 1200 1 50 9 1800 2 75 10 2400 3 110 11 3600 4 134.5 12 4800 5 150 13 7200 6 300 14 9600 7 600 15 19200 To select the number of data and stop bits, print "(cmd-char)nD", where n is a number from the following table n Data bits Stop bits -- --------- --------- 0 8 1 1 7 1 2 6 1 3 5 1 4 8 2 5 7 2 6 6 2 7 5 2 To select the parity, print "(cmd-char)nP"... n Parity -- ------ 0 None (default value) 1 Odd 2 None 3 Even (Mark and Space parity are not available.) Other commands that might be useful: nN Set line length to n CE Force carriage return after full line (used with nN) CD Don't force carriage return XE Use XON/XOFF handshaking XD Ignore XON/XOFF FE Insert keystrokes into serial port input stream FD Ignore keystrokes LE Add LF after each CR LD Don't add LF after CR R Reset serial firmware to control panel defaults Z Disable command recognition, tabbing, and formatting EE Echo input ED Don't echo input ME Delete incoming LF's after CR MD Don't delete LF after CR BE Turn on I/O buffering BD Turn off I/O buffering AE Allow BASIC tabbing to work through serial port AD Disable BASIC tabbing T Enter terminal mode (must also do IN#slot first) Q Exit from terminal mode S Send break - Neil Parker -- Neil Parker No cute ASCII art...no cute quote...no cute nparker@cie.uoregon.edu disclaimer...no deposit, no return... parker@corona.uoregon.edu (This space intentionally left blank: ) ---------------------------------------------------------------------