Re: how to invoke canonical processing in kernel

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 21 Oct 2001 18:03:14 +0100 (BST)


> subsystem. So the processing that was handled by the 'ldterm' module on
> other OSs now has to be handled by the available line disciplines in the
> Linux kernel. While browsing the source I noticed that the default line

Linux is based on the BSD codebase. The streams disaster was one we chose
to skip over and ignore

> discipline N_TTY is probably sufficient to do the job but I am not sure
> of the hooks. I am wondering if I can invoke the default line discipline
> somehow or would I have to implement the canonical processing all over
> again.

Canonical processing is always part of the tty driver. The POSIX
tcsetattr/tcgetattr calls let you configure which parts of it you need
(eg line processing, echo, character by character input etc)

Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/