[Vollbild]  [Home]

Terminal attributs

Location:/usr/include/bits/termios.h

Array argp* in rdx is pointing to (c++ type = struct termios)
c_iflaginput mode flags32 bit+0
c_oflagoutput mode flags32 bit+4
c_cflagcontrol mode flags32 bit+8
c_lflaglocal mode flags32 bit+12
c_lineline discipline8 bit+16
c_cc[NCCS]control characters8 bit+17
c_ispeedinput speed32 bit+18
c_ospeedoutput speed32 bit+22
--------
208 bit= 26 bytes


c_iflag    input mode flags
bithexdecimalc++ nameDescription
10x11IGNBRKignore BREAK
20x22BRKINTinterup signal on BREAK
30x44IGNPARignore parity
40x88PARMRK
50x1016INPCK
60x2032ISTRIP
70x4064INLCR
80x80128IGNCR
90x100256ICRNL
100x200512IUCLC
110x4001024IXON
120x8002048IXANY
130x10004096IXOFF
140x20008192IMAXBEL

c_oflag    output mode flags
bithexdecimalc++ nameDescription
10x11OPOST
20x22OLCUC
30x44ONLCR
40x88OCRNL
50x1016ONOCR
60x2032ONLRET
70x4064OFILL
80x80128OFDEL
90x100256NLDLY=NL1
100x200512CR1(+CR2=CRDLY)
110x4001024CR2(+CR1=CRDLY)
120x8002048TAB1(+TAB2=TABDLY)
130x10004096TAB2(+TAB1=TABDLY)
140x20008192BSDLY=BS1
150x400016384VTDLY=VT1
160x800032768FFDLY=FF1

c_cflag    control mode flags
bithexdecimalc++ nameDescription
43210x00B0
43210x11B50
43210x22B75
43210x33B110
43210x44B134
43210x55B150
43210x66B200
43210x77B300
43210x88B600
43210x99B1200
43210xa10B1800
43210xb11B2400
43210xc12B4800
43210xd13B9600
43210xe14B19200
43210xf15B38400
50x1016CS6(+CS7=CS8=CSIZE)
60x2032CS7(+CS6=CS8=CSIZE)
70x4064CSTOPB
80x80128CREAD
90x100256PARENB
100x200512PARODD
110x4001024HUPCL
120x8002048CLOCAL
16/15/14/130x10004096CBAUDEX
16/15/14/130x10014097B57600
16/15/14/130x10024098B115200
16/15/14/130x10034099B230400
16/15/14/130x10044100B460800
16/15/14/130x10054101B500000
16/15/14/130x10064102B576000
16/15/14/130x10074103B921600
16/15/14/130x10084104B1000000
16/15/14/130x10094105B1152000
16/15/14/130x100a4106B1500000
16/15/14/130x100b4107B2000000
16/15/14/130x100c4108B2500000
16/15/14/130x100d4109B3000000
16/15/14/130x100e4110B3500000
16/15/14/130x100f4111B4000000
290x10000000268435456CLOCAL

c_lflag    local mode flags
bithexdecimalc++ nameDescription
10x11ISIGgenerate signal on input
20x22ICANONcanon input
30x44XCASE
40x88ECHOprint input
50x1016ECHOE
60x2032ECHOK
70x4064ECHONL
80x80128NOFLSHdo not delete input buffer
90x100256TOSTOP
100x200512ECHOCTL
110x4001024ECHOPRT
120x8002048ECHOKE
130x10004096FLUSHOdelete output buffer
140x20008192PENDIN
150x400016384IEXTENextended input

c_line    line disciplines
bithexdecimalc++ nameDescription
43210x00N_TTY
43210x11N_SLIP
43210x22N_MOUSE
43210x33N_PPP
43210x44N_STRIP
43210x55N_AX25
43210x66N_X25X.25 async
43210x77N_6PACK
43210x88N_MASCReserved for Mobitex module
43210x99N_R3964Reserved for Simatic R3964 module
43210xa10N_PROFIBUS_FDLReserved for Profibus
43210xb11N_IRDALinux IR - http://irda.sourceforge.net
43210xc12N_SMSBLOCKSMS block mode - for talking to GSM data cards about SMS messages
43210xd13N_HDLCsynchronous HDLC
43210xe14N_SYNC_PPPsynchronous PPP
43210xf15N_HCIBluetooth HCI UART

c_cc    control characters
bithexdecimalc++ nameDescription
543210x00VINTR
543210x11VQUIT
543210x22VERASE
543210x33VKILL
543210x44VEOF
543210x55VTIME
543210x66VMIN
543210x77VSWTC
543210x88VSTART
543210x99VSTOP
543210xa10VSUSP
543210xb11VEOL
543210xc12VREPRINT
543210xd13VDISCARD
543210xe14VWERASE
543210xf15VLNEXT
543210x1016VEOL2

c_ispeed    input speed

c_ospeed    output speed

I know something !
 
 
Free Web Hosting