eucset(1) — USER COMMANDS
NAME
eucset − set or get EUC code set widths
SYNOPSIS
eucset [ cswidth ] eucset -p
DESCRIPTION
eucset assumes the existence of an line discipline which does canonical processing of EUC character in its standard input STREAM (usually a TTY). The line discipline must recognize the eucioc calls to ioctl(), as defined in the header file /usr/include/sys/eucioctl.h.
If given no arguments, eucset looks in the environment for the cswidth parameter 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.
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. The primary code set (ASCII) is excluded from the listing, which is in the same format as cswidth parameter.
RETURN VALUES
eucset returns 0 on success, 1 for failure of any call to ioctl().
FILES
/usr/include/sys/eucioctl.h
/usr/include/sys/euc.h