EUCSET(1) RISC/os Reference Manual EUCSET(1)
NAME
eucset - set or get EUC code set widths
SYNOPSIS
eucset [ cswidth ]
eucset -p
DESCRIPTION
eucset assumes the existence of an EUC line discipline
(which does canonical processing of EUC characters) in its
standard input Stream (usually a tty). The EUC line discip-
line must recognize the eucioc calls to ioctl(2), as defined
in the header file sys/eucioctl.h.
If given no arguments, eucset looks for the cswidth parame-
ter in the character class table, which is assumed to
specify the code set widths and screen widths in use. The
format of cswidth parameter is described in character class
table specification (see chrtbl(1M) and wchrtbl(1M).
If given one argument which does not begin with "-", it is
taken to be a string in the format of cswidth parameter,
overriding whatever is in the environment.
If given the optional argument -p, eucset prints the current
values of the code set widths and screen widths as returned
by the line discipline. These values may be different than
what is currently in the user's environment, but represent
the EUC mapping that the EUC line discipline is currently
using. EUC code set 0 (ASCII) is excluded from the listing,
which is in the same format as the cswidth parameter.
The behavior of eucset is affected by the LC_CTYPE category
of the current locale.
RETURN VALUES
eucset returns 0 on success, 1 for failure of any call to
ioctl(2).
FILES
/usr/include/sys/eucioctl.h
/usr/include/sys/euc.h
/usr/include/sys/cswidth.h
SEE ALSO
ioctl(2), getwidth(3W), setlocale(3C), euc(4) in the RISC/os
Programmer's Reference Manual.
chrtbl(1M), wchrtbl(1M), stty_ld(7), streamio(7) in the
RISC/os System Administrator's Reference Manual.
Printed 11/19/92 Page 1