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