delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/09/08/21:29:21

Date: Sun, 8 Sep 1996 21:25:58 -0400
From: dj (DJ Delorie)
Message-Id: <199609090125.VAA17464@delorie.com>
To: jack AT st DOT rim DOT or DOT jp
CC: djgpp-workers AT delorie DOT com
In-reply-to: <199609041703.CAA20399@mars.st.rim.or.jp> (message from =?ISO-2022-JP?B?GyRCQEQ7M0JnMnAbKEI=?= /Daisuke Aoyama on Thu, 05 Sep 1996 02:03:27 +0900)
Subject: Re: new files and diffs

> o added console I/O with tiny termios emulation and fixed for the
>   emulation.

I don't like this because it adds a *lot* of code to read() and
write().  Is there a better way?  How about just using dos's "get a
line" function, which is what most history and command-line editing
TSRs hook.  I'd rather support the user's chosen history/edit TSR than
try to make a unix-type one work.  After all, it *isn't* unix.  We
want the program to think it's unix, not the user, whenever possible.

It's OK for termios to call setmode() to emulate text/binary, if
that's useful for termios emulation, as long as read() and write()
aren't affected.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019