From: Tobias Ernst <tobi@bland.fido.de>
Subject: Re: Dec C pecularity
Date: 1999/07/13 [thread overview]
Message-ID: <87673onc42.fsf@romulus.bland.fido.de> (raw)
In-Reply-To: 37789EF3.D7A52B7@iisc.com
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2630 bytes --]
Hallo!
> It is my opinion that "more advanced programmers" do not even notice
> a difference between \x1b and \033. I am astounded at the thought of
> a need to "calculate the octal ones manually"
Now I don�t really want to discuss about this. Of course a good programmer
has no problems with either octal nor hexadcimal. What I meant to ay is that
I often have to work with code from "not so good" programmers that use hex - if
at all - because they know it better than octal. This simply is an empirical
fact from the code that I have to handle, or should I say "clean up". But
this discussion leads to nowhere, so let�s quit it :-).
> So now you know that the compiler does exactly what you want and that some
> basic RTFM would have shown that your "Dec C pecularity" was just K&R mode,
> the same mode as provided by -traditional in gcc.
Please be careful about accusing others not having done basic RTFM. The
manpage of cc on our system says that "-std" is the default for cc, while
actually the given example of code works if I specify -std, but it doesn�t if
it don�t.
> It would be fun to play with some examples. Would you please provide
> some. On at least one major vendor, I have the ability to file internal
> bugs and escalations and if there is something broken then lets get it
> fixed. The Linux and FSF communities feel the same. If things are broken
> then lets work on fixing them.
Compile the current ncurses release on OSF/1 (4.0e) and run the testcase as
described in the installation instructions. You will see that some tests
fail. The consequence clearly is that some programs that need ncurses will of
course also misbehave. At least this was the case when my colleague installed
ncurses the last time.
Or compile jmacs on NetBSD/Alpha with the NetBSD package and try to run it on
a VT100 attached to the serial console.
These are just the two examples that come to my mind at once. If you need
more, just grab any Unix newbie that has been using DOS, Windows, OS/2 or
Macintosh previously. Any such person will surely tell you a lot of
experiences he had with Unix console application. We Unix "experts" (err...)
usually do not note these problems as hard because we have long ago reverted
to saying things like ESC:wq because that will always work on any console.
But a new Unix user who is accustomed to the fact that all keys on the
keyboard do what is printed onto them or at least do not do any harm if they
do work will definitely have troubles on Unix. And I don�t think that this
will ever get fixed if it hasn�t been fixed until now.
Kind Regards,
Tobias.
next prev parent reply other threads:[~1999-07-13 4:00 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-06-09 4:00 Dec C pecularity Bernhard Reiter
1999-06-11 4:00 ` Jeff Sullivan
1999-06-13 4:00 ` Tobias Ernst
1999-06-14 4:00 ` Peter da Silva
1999-06-26 4:00 ` Tobias Ernst
1999-06-29 4:00 ` Charles M Richmond
1999-07-13 4:00 ` Tobias Ernst [this message]
1999-07-13 4:00 ` Kevin Oberman
1999-07-13 4:00 ` Charles M Richmond
1999-07-14 4:00 ` T.E.Dickey
1999-07-15 4:00 ` libcurses and patches for 4.0 jhitchcock
1999-07-16 4:00 ` T.E.Dickey
1999-08-10 4:00 ` b_andreasen
1999-07-16 4:00 ` Dec C pecularity Tobias Ernst
1999-07-18 4:00 ` T.E.Dickey
1999-07-14 4:00 ` T.E.Dickey
1999-06-22 4:00 ` Jeff Sullivan
1999-06-22 4:00 ` Jeff Sullivan
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox