Getchar w/wout echo
Dan Mercer
mercer at ncrcce.StPaul.NCR.COM
Fri Sep 2 07:22:27 AEST 1988
In article <225800061 at uxe.cso.uiuc.edu> mcdonald at uxe.cso.uiuc.edu writes:
:
:> Before you go mucking with the language, I suggest you learn
:> a bit more about your hardware, your operating system, and
:> how they interrelate. Then I suggest you do what I did when I
:> wrote a menuing system - read everything available about the
:> tty device drivers, stty, and termio, experiment like
:> crazy, then write your own raw character input routines.
:
:We want it put in the language so that programs will run portably,
:and MOST IMPORTANTLY, so that operating system designers will
:have to fix their operating systems so that it can be done
:portably!!!!!!!!!!
:
:Doug McDonald
I think you misunderstand portability. 'C' is portable because
its not machine dependent. The run time support libraries
are machine dependent. Strcpy on some systems is written in
'C', but in most cases, is probably written in assembler
to maximize machine efficiencies.
'C' run time support differs from machine to machine, and
operating system to operating system. Forking on UNIX(tm)
creates another concurrently running process. No such luck
on MS-DOS(tm).
Portability doesn't mean I can write a program for my PC and
recompile it for my NCR Tower and expect it to run the same.
Get real. And don't expect operating system designers to
redesign their operating systems just because someone's too
dumb to figure out how to turn off echoing.
Dan Mercer
NCR Comten
More information about the Comp.lang.c
mailing list