nl.3cur

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 3CUR 代码 · 共 50 行

3CUR
50
字号
.TH nl 3cur .SH Namenl, nonl \- enable/disable newline control.SH Syntax.br.B#include <cursesX.h>.PP.br.Bint nl(\|).PP.Bint nonl(\|).SH Description.NXR "nl macro".NXR "nonl subroutine"The .PN nlroutine enables the newline control translations.When newline control is enabled,a newline is translated into a carriage returnand a linefeed on output, and a return is translated into a newline oninput.Initially, these translations do occur..PPThe.PN nonlroutinedisables these translations, allowingthe.PN cursesprogram to use thelinefeed capabilityof the terminal,resulting in faster cursor motion.The.PN nlroutineis a macro..SH Return ValuesThe.PN nland.PN nonlfunctions return OK on success and ERR on error.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?