cbreak.3cur
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 3CUR 代码 · 共 45 行
3CUR
45 行
.TH cbreak 3cur .SH Namecbreak, nocbreak \- set/clear cbreak mode.SH Syntax.Bint cbreak(\|).PP.Bint nocbreak(\|).SH Description.NXR "cbreak subroutine".NXR "nocbreak subroutine"The routine .PN cbreak puts the terminal into CBREAK mode.In this mode, characters typed by the user are immediately available to theprogram and erase/kill character processing is not performed.Interrupt and flow control characters are unaffected by this mode..PPThe routine .PN nocbreakdisables CBREAK.In this case the terminaldriver will buffer inputuntil a newline or carriage return is typed. .PPThe initial settings that determine whether or not a terminal isin CBREAK mode are dependent on the terminal driver implementation.As a result of this, it is not possible to determine if a terminalis in CBREAK mode, as it is an inherited characteristic.It is necessary to call.PN cbreak to ensure that the terminal is set to the correct mode for the application..SH Return ValuesThe.PN cbreakand .PN nobreakfunctions return OK on success and ERR on error.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?