This class allows Qore scripts to get or set terminal settings on UNIX platforms.
Definition QC_TermIOS.dox.h:45
int getLFlag()
Returns the local mode flag for the object.
int getCC(softint cc)
Returns the integer value for the given control character from the given control character code.
nothing setLFlag(softint flag)
Sets the local mode flag for the object from a mask of Terminal Attribute Local Mode Constants.
static hash getWindowSize()
Returns a hash giving the current terminal window size in hash keys "rows" and "columns".
int getIFlag()
Returns the input mode flag for the object.
nothing setIFlag(softint flag)
Sets the input mode flag for the object from a mask of Terminal Attributes Input Mode Constants.
bool isEqual(Termios termios)
Returns True if the TermIOS object passed as an argument is equal to the current object; False if not...
nothing setOFlag(softint flag)
Sets the output mode flag for the object from a mask of Terminal Attributes Output Mode Constants.
nothing setCFlag(softint flag)
Sets the control mode flag for the object from a mask of Terminal Attribute Control Mode Constants.
constructor()
Creates the TermIOS object with random contents.
int getCFlag()
Returns the control mode flag for the object.
int getOFlag()
Returns the output mode flag for the object.
nothing setCC(softint offset, softint value)
Sets the value of the given control character.
copy()
Returns a copy of the object.
const VWERASE
subscript for the VWERASE character
Definition QC_TermIOS.dox.h:458
const VERASE
subscript for the VERASE character
Definition QC_TermIOS.dox.h:434
const VEOL2
subscript for the EOL2 character
Definition QC_TermIOS.dox.h:432
const VLNEXT
subscript for the VLNEXT character
Definition QC_TermIOS.dox.h:440
const VREPRINT
subscript for the VREPRINT character
Definition QC_TermIOS.dox.h:446
const VSTATUS
subscript for the character
Definition QC_TermIOS.dox.h:450
const VSUSP
subscript for the VSUSP character
Definition QC_TermIOS.dox.h:454
const VSTART
subscript for the VSTART character
Definition QC_TermIOS.dox.h:448
const VEOL
subscript for the EOL character
Definition QC_TermIOS.dox.h:430
const VTIME
subscript for the VTIME value
Definition QC_TermIOS.dox.h:456
const VDISCARD
subscript for the VDISCARD character
Definition QC_TermIOS.dox.h:424
const VKILL
subscript for the VKILL character
Definition QC_TermIOS.dox.h:438
const VQUIT
subscript for the VQUIT character
Definition QC_TermIOS.dox.h:444
const VSTOP
subscript for the VSTOP character
Definition QC_TermIOS.dox.h:452
const VEOF
subscript for the EOF character
Definition QC_TermIOS.dox.h:428
const _POSIX_VDISABLE
if the value of any key is this value, it means that the key is disabled
Definition QC_TermIOS.dox.h:460
const VDSUSP
subscript for the VDSUSP character
Definition QC_TermIOS.dox.h:426
const VINTR
subscript for the VINTR character
Definition QC_TermIOS.dox.h:436
const VMIN
subscript for the VMIN value
Definition QC_TermIOS.dox.h:442
const MDMBUF
old name for CCAR_OFLOW
Definition QC_TermIOS.dox.h:356
const CLOCAL
ignore modem status lines
Definition QC_TermIOS.dox.h:334
const CSIZE
character size mask
Definition QC_TermIOS.dox.h:350
const CS8
character size mask: 8 bits
Definition QC_TermIOS.dox.h:348
const CSTOPB
send 2 stop bits
Definition QC_TermIOS.dox.h:352
const CCAR_OFLOW
DCD flow control of output.
Definition QC_TermIOS.dox.h:328
const CS7
character size mask: 7 bits
Definition QC_TermIOS.dox.h:346
const CCTS_OFLOW
CTS flow control of output.
Definition QC_TermIOS.dox.h:330
const PARENB
parity enable
Definition QC_TermIOS.dox.h:358
const HUPCL
hang up on last close
Definition QC_TermIOS.dox.h:354
const CDSR_OFLOW
DSR flow control of output.
Definition QC_TermIOS.dox.h:332
const CRTSCTS
CTS flow control of output and RTS flow control of input.
Definition QC_TermIOS.dox.h:338
const CS6
character size mask: 6 bits
Definition QC_TermIOS.dox.h:344
const CREAD
enable receiver
Definition QC_TermIOS.dox.h:336
const PARODD
odd parity, else even
Definition QC_TermIOS.dox.h:360
const CS5
character size mask: 5 bits
Definition QC_TermIOS.dox.h:342
const CRTS_IFLOW
RTS flow control of input.
Definition QC_TermIOS.dox.h:340
const ECHO
enable echoing
Definition QC_TermIOS.dox.h:292
const ALTWERASE
use alternate WERASE algorithm
Definition QC_TermIOS.dox.h:290
const ECHONL
echo NL even if ECHO is off
Definition QC_TermIOS.dox.h:300
const FLUSHO
output being flushed (state)
Definition QC_TermIOS.dox.h:306
const ECHOKE
visual erase for line kill
Definition QC_TermIOS.dox.h:298
const NOFLSH
don't flush after interrupt
Definition QC_TermIOS.dox.h:314
const ECHOE
visually erase chars
Definition QC_TermIOS.dox.h:296
const ECHOCTL
echo control chars as ^(Char)
Definition QC_TermIOS.dox.h:294
const TOSTOP
stop background jobs from output
Definition QC_TermIOS.dox.h:320
const IEXTEN
enable DISCARD and LNEXT
Definition QC_TermIOS.dox.h:310
const ECHOPRT
visual erase mode for hardcopy
Definition QC_TermIOS.dox.h:302
const ISIG
enable signals INTR, QUIT, [D]SUSP
Definition QC_TermIOS.dox.h:312
const PENDIN
retype pending input (state)
Definition QC_TermIOS.dox.h:318
const EXTPROC
external processing
Definition QC_TermIOS.dox.h:304
const NOKERNINFO
no kernel output from VSTATUS
Definition QC_TermIOS.dox.h:316
const ICANON
canonicalize input lines
Definition QC_TermIOS.dox.h:308
const ONOCR
no CR output at column 0
Definition QC_TermIOS.dox.h:376
const OPOST
enable following output processing
Definition QC_TermIOS.dox.h:380
const ONOEOT
discard EOT's (^D) on output
Definition QC_TermIOS.dox.h:378
const OXTABS
expand tabs to spaces
Definition QC_TermIOS.dox.h:382
const ONLRET
NL performs CR function.
Definition QC_TermIOS.dox.h:374
const OCRNL
map CR to NL on output
Definition QC_TermIOS.dox.h:368
const ONLCR
map NL to CR-NL (ala CRMOD)
Definition QC_TermIOS.dox.h:372
const TCSANOW
make change immediate
Definition QC_TermIOS.dox.h:472
const TCSASOFT
flag - don't alter hardware state
Definition QC_TermIOS.dox.h:474
const TCSADRAIN
drain output, then change
Definition QC_TermIOS.dox.h:468
const TCSAFLUSH
drain output, flush input
Definition QC_TermIOS.dox.h:470
hash< auto > hash()
Always returns the same hash passed.
list< auto > list(...)
Returns a list of the arguments passed at the top level.
Qore namespace.
Definition QC_AbstractSmartLock.dox.h:2