Go to main content

man pages section 4: Device and Network Interfaces

Exit Print View

Updated: Thursday, June 13, 2019
 
 

jconvrs (4M)

Name

jconvrs - code conversion STREAMS module (Japanese EUC/PC kanji)

Synopsis

#include <sys/types.h>
#include <sys/stropt.h>
#include <sys/conf.h>
ioctl(fd, I_PUSH, "jconvrs");

Description

jconvrs is a STREAMS module that is available to be pushed onto a stream. Usually, this module has to be pushed onto a stream between terminal circuit module such as ldterm (4M) and STREAMS compatible module such as ttcompat (4M) .

jconvrs has to be pushed when you operate PC kanji data. It converts up stream for Japanese EUC into PC kanji code and passes high module. It also converts down stream for PC kanji code into Japanese EUC and passes low module. jconvrs controls terminal circuit under PCK environment by using with jconvs (4M) .

Ioctls

jconvrs processes the following ioctls:

EUC_OXLON

Start performing code conversion between Japanese EUC and PC kanji for I/O stream.

EUC_OXLOFF

Stop performing code conversion between Japanese EUC and PC kanji for I/O stream.

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/locale/extra

See Also

setterm(1), stty(1), streamio (4I) , jconv7 (4M) , jconv8 (4M) , jconvru (4M) , jconvs (4M) , jconvu (4M) , ldterm (4M) , ptem (4M) , PCK (7)

Notes

When you use jconvrs with jconvs (4M) , jconvu (4M) , jconv7 (4M) , or jconv8 (4M) at a time and `raw' is specified by stty(1), code convert function automatically become off without specification by EUC_OXLON / EUC_OXLOFF .

jconvrs supports PC kanji/Japanese EUC code conversion under TOG Japanese Vendors Council (TOG/JVC) Recommended Code Set Conversion Specification between Japanese EUC and Shift–JIS.