MCCSET(1) RISC/os Reference Manual MCCSET(1)
NAME
mccset - set or get shift sequences for the mcc driver
SYNOPSIS
mccset [-p] [-timeout n] [-term name] [ -cs{0,1,2,3}[rw]
sequence]
DESCRIPTION
The mccset command sets or gets shift sequences for the mcc
STREAMS module, which must be pushed on the standard input.
The -p option prints the current shift sequences and timeout
value.
The -timeout option sets the timeout value in milliseconds
(see mcc(7)).
The -cs option is used to set the shift sequence for a code
set. The code set (0, 1, 2 or 3) must be specified after
the -cs option. The following r or w specifies input or
output. If neither r nor w is specified, the shift sequence
is set for both input and output. The shift sequence itself
is specified after that.
When the shift sequence is not specified, mccset uses the
shift sequences in the terminfo of the terminal type speci-
fied in the -term option or in the TERM environment vari-
able. (The capnames are s0ds, s1ds, s2ds and s3ds. See
terminfo(4).)
EXAMPLE
To set the escape sequence for code set 1 for both input and
output to ESC $ B, the following is used:
mccset -cs1 '^[$B'
SEE ALSO
terminfo(4) in the RISC/os Programmer's Reference Manual.
mcc(7) in the RISC/os System Administrator's Manual.
Printed 11/19/92 Page 1