delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/09/03/18:09:49

Message-Id: <199709032209.SAA03594@delorie.com>
From: Oberhumer Markus <k3040e4 AT c210 DOT edvz DOT uni-linz DOT ac DOT at>
Subject: stdin + binmode (yet another one ;-)
To: djgpp-workers AT delorie DOT com (djgpp-workers)
Date: Thu, 4 Sep 1997 00:04:18 +0200 (METDST)
Return-Read-To: markus DOT oberhumer AT jk DOT uni-linz DOT ac DOT at
Mime-Version: 1.0

I strongly suggest removing all calls that disable Ctrl-C when
switching stdin to binary mode (e.g in setmode() or fopen()).

Here are my arguments:

- UNIX doesnt' have setmode, so it's not a compatibility issue

- Borland's, Microsoft's and Watcom's setmode don't do it (just checked),
  so it's an incompatibility anyway

- Disabling Ctrl-C ought to be done via the termios stuff,
  so it's a bad design

- Having to reboot your computer is EVIL ;-)

Markus

- Raw text -


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