Message-Id: <199904181610.QAA84502@out4.ibm.net> From: "Mark E." To: Eli Zaretskii , djgpp-workers AT delorie DOT com Date: Sun, 18 Apr 1999 12:11:25 -0400 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Termios and getchar In-reply-to: X-mailer: Pegasus Mail for Win32 (v3.01d) Reply-To: djgpp-workers AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Mark, does this mean that Bash never uses any buffered stdio functions, > only `read' and `write' for its interactive I/O? Otherwise, I don't > understand how does the new port manage to invoke termios. Bash uses Readline which in turn uses read() and write() which termios hooks. The hooks themselves are installed during Readline's initialization when tcgetattr is called (see the docs for __libc_termios_init to explain how this is true). Mark --- Mark Elbrecht, snowball3 AT usa DOT net http://snowball.digitalspace.net/