92 int getCC(softint cc);
187 nothing
setCC(softint offset, softint value);
const VEOF
subscript for the EOF character
Definition: QC_TermIOS.dox.h:427
const ECHONL
echo NL even if ECHO is off
Definition: QC_TermIOS.dox.h:299
const ECHOPRT
visual erase mode for hardcopy
Definition: QC_TermIOS.dox.h:301
const TCSANOW
make change immediate
Definition: QC_TermIOS.dox.h:471
bool isEqual(Termios termios)
Returns True if the TermIOS object passed as an argument is equal to the current object; False if not...
static hash getWindowSize()
Returns a hash giving the current terminal window size in hash keys "rows" and "columns".
const ONOCR
no CR output at column 0
Definition: QC_TermIOS.dox.h:375
const ONLRET
NL performs CR function.
Definition: QC_TermIOS.dox.h:373
const NOKERNINFO
no kernel output from VSTATUS
Definition: QC_TermIOS.dox.h:315
const VSTATUS
subscript for the character
Definition: QC_TermIOS.dox.h:449
const VSTOP
subscript for the VSTOP character
Definition: QC_TermIOS.dox.h:451
const ECHOE
visually erase chars
Definition: QC_TermIOS.dox.h:295
const ECHOKE
visual erase for line kill
Definition: QC_TermIOS.dox.h:297
const ONOEOT
discard EOT's (^D) on output
Definition: QC_TermIOS.dox.h:377
const CS7
character size mask: 7 bits
Definition: QC_TermIOS.dox.h:345
const TCSASOFT
flag - don't alter hardware state
Definition: QC_TermIOS.dox.h:473
const CSIZE
character size mask
Definition: QC_TermIOS.dox.h:349
const CCTS_OFLOW
CTS flow control of output.
Definition: QC_TermIOS.dox.h:329
const ISIG
enable signals INTR, QUIT, [D]SUSP
Definition: QC_TermIOS.dox.h:311
const CS5
character size mask: 5 bits
Definition: QC_TermIOS.dox.h:341
const VKILL
subscript for the VKILL character
Definition: QC_TermIOS.dox.h:437
const TCSAFLUSH
drain output, flush input
Definition: QC_TermIOS.dox.h:469
const VQUIT
subscript for the VQUIT character
Definition: QC_TermIOS.dox.h:443
const CCAR_OFLOW
DCD flow control of output.
Definition: QC_TermIOS.dox.h:327
nothing setLFlag(softint flag)
Sets the local mode flag for the object from a mask of Terminal Attribute Local Mode Constants.
const VSTART
subscript for the VSTART character
Definition: QC_TermIOS.dox.h:447
const NOFLSH
don't flush after interrupt
Definition: QC_TermIOS.dox.h:313
const TCSADRAIN
drain output, then change
Definition: QC_TermIOS.dox.h:467
const CRTS_IFLOW
RTS flow control of input.
Definition: QC_TermIOS.dox.h:339
const VINTR
subscript for the VINTR character
Definition: QC_TermIOS.dox.h:435
nothing setCC(softint offset, softint value)
Sets the value of the given control character.
const ONLCR
map NL to CR-NL (ala CRMOD)
Definition: QC_TermIOS.dox.h:371
const ECHOCTL
echo control chars as ^(Char)
Definition: QC_TermIOS.dox.h:293
const MDMBUF
old name for CCAR_OFLOW
Definition: QC_TermIOS.dox.h:355
const VDSUSP
subscript for the VDSUSP character
Definition: QC_TermIOS.dox.h:425
int getIFlag()
Returns the input mode flag for the object.
const PENDIN
retype pending input (state)
Definition: QC_TermIOS.dox.h:317
const CLOCAL
ignore modem status lines
Definition: QC_TermIOS.dox.h:333
const OCRNL
map CR to NL on output
Definition: QC_TermIOS.dox.h:367
const VERASE
subscript for the VERASE character
Definition: QC_TermIOS.dox.h:433
const VTIME
subscript for the VTIME value
Definition: QC_TermIOS.dox.h:455
nothing setCFlag(softint flag)
Sets the control mode flag for the object from a mask of Terminal Attribute Control Mode Constants.
const OPOST
enable following output processing
Definition: QC_TermIOS.dox.h:379
nothing setIFlag(softint flag)
Sets the input mode flag for the object from a mask of Terminal Attributes Input Mode Constants.
const CRTSCTS
CTS flow control of output and RTS flow control of input.
Definition: QC_TermIOS.dox.h:337
copy()
Returns a copy of the object.
int getLFlag()
Returns the local mode flag for the object.
constructor()
Creates the TermIOS object with random contents.
const CS6
character size mask: 6 bits
Definition: QC_TermIOS.dox.h:343
const ALTWERASE
use alternate WERASE algorithm
Definition: QC_TermIOS.dox.h:289
int getCC(softint cc)
Returns the integer value for the given control character from the given control character code.
int getCFlag()
Returns the control mode flag for the object.
const CSTOPB
send 2 stop bits
Definition: QC_TermIOS.dox.h:351
const HUPCL
hang up on last close
Definition: QC_TermIOS.dox.h:353
const ICANON
canonicalize input lines
Definition: QC_TermIOS.dox.h:307
hash< auto > hash(object obj)
Returns a hash of an object's members.
const FLUSHO
output being flushed (state)
Definition: QC_TermIOS.dox.h:305
int getOFlag()
Returns the output mode flag for the object.
const VLNEXT
subscript for the VLNEXT character
Definition: QC_TermIOS.dox.h:439
const VEOL2
subscript for the EOL2 character
Definition: QC_TermIOS.dox.h:431
const IEXTEN
enable DISCARD and LNEXT
Definition: QC_TermIOS.dox.h:309
const VREPRINT
subscript for the VREPRINT character
Definition: QC_TermIOS.dox.h:445
const VSUSP
subscript for the VSUSP character
Definition: QC_TermIOS.dox.h:453
const CS8
character size mask: 8 bits
Definition: QC_TermIOS.dox.h:347
This class allows Qore scripts to get or set terminal settings on UNIX platforms.
Definition: QC_TermIOS.dox.h:44
const CREAD
enable receiver
Definition: QC_TermIOS.dox.h:335
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:2
const VDISCARD
subscript for the VDISCARD character
Definition: QC_TermIOS.dox.h:423
const ECHO
enable echoing
Definition: QC_TermIOS.dox.h:291
nothing setOFlag(softint flag)
Sets the output mode flag for the object from a mask of Terminal Attributes Output Mode Constants.
const OXTABS
expand tabs to spaces
Definition: QC_TermIOS.dox.h:381
const CDSR_OFLOW
DSR flow control of output.
Definition: QC_TermIOS.dox.h:331
const VWERASE
subscript for the VWERASE character
Definition: QC_TermIOS.dox.h:457
const _POSIX_VDISABLE
if the value of any key is this value, it means that the key is disabled
Definition: QC_TermIOS.dox.h:459
const VEOL
subscript for the EOL character
Definition: QC_TermIOS.dox.h:429
const EXTPROC
external processing
Definition: QC_TermIOS.dox.h:303
const VMIN
subscript for the VMIN value
Definition: QC_TermIOS.dox.h:441
const PARENB
parity enable
Definition: QC_TermIOS.dox.h:357
const PARODD
odd parity, else even
Definition: QC_TermIOS.dox.h:359
const TOSTOP
stop background jobs from output
Definition: QC_TermIOS.dox.h:319