Screen command provides different window types. The first parameter to the screen command defines which type of window is created. If a tty name (e.g. "/dev/ttyS0") is specified as the first parameter to the screen command, then the window is directly connected to this device. An optional parameter is allowed consisting of a comma separated list of flags in the notation as follows:
Where,
screen /dev/ttySX baud_rate,cs8|cs7,ixon|-ixon,ixoff|-ixoff,istrip|-istrip
- /dev/ttySX: Linux serial port (e.g., /dev/ttyS0 [COM1] )
- baud_rate: Usually 300, 1200, 9600 or 19200. This affects transmission as well as receive speed.
- cs8 or cs7: Specify the transmission of eight (or seven) bits per byte.
- ixon or -ixon: Enables (or disables) software flow-control (CTRL-S/CTRL-Q) for sending data.
- ixoff or -ixoff: Enables (or disables) software flow-control for receiving data.
- istrip or -istrip: Clear (or keep) the eight bit in each received byte.
$ screen /dev/ttyS0 19200,cs8
Sample outputs:
No comments:
Post a Comment