반응형

참고: http://database.sarang.net/study/glibc/12.htm

 

http://www.gnu.org/software/libc/manual/html_node/Canonical-or-Not.html

 

규범모드 canonical mode 또는 표준 모드 standard mode 라고 부르며, 규범 모드에서는 모든 입력이 줄 단위로 처리된다. 한줄이 완성되기 전까지는(즉, 일반적으로 Enter키를 누를 때까지) 터미널 인터페이스가 모든 키눌림을 관리

 

이 모드의 반대가 비규범 모드이다.

 

 

 

In canonical input processing mode, terminal input is processed in lines terminated by newline ('\n'), EOF, or EOL characters. No input can be read until an entire line has been typed by the user, and the read function (see I/O Primitives) returns at most a single line of input, no matter how many bytes are requested.

In canonical input mode, the operating system provides input editing facilities: some characters are interpreted specially to perform editing operations within the current line of text, such as ERASE and KIL

반응형

+ Recent posts