home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.wizards:4741 comp.unix.shell:4745 comp.unix.misc:4208
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!olivea!charnel!rat!koko.csustan.edu!nic.csu.net!gd!oleg
- From: oleg@gd. (Oleg Kibirev)
- Newsgroups: comp.unix.wizards,comp.unix.shell,comp.unix.misc
- Subject: Re: The Problem with UNIX
- Message-ID: <1992Nov16.234721.3224@nic.csu.net>
- Date: 17 Nov 92 07:47:20 GMT
- References: <1992Nov11.194557.16258@yarc.uucp> <1992Nov12.204710.5808@reed.edu> <1992Nov14.145943.1288@global.hacktic.nl>
- Organization: Computer Science Departement of California State University in Fresno
- Lines: 29
- Nntp-Posting-Host: gd.cs.csufresno.edu
-
- In article <1992Nov14.145943.1288@global.hacktic.nl> peter@global.hacktic.nl (Peter Busser) writes:
- >kanderso@reed.edu (Karl Anderson) writes:
- >
- >>Is there any reason why there can't be another stream for more
- >>user-friendly messages?
- >
- >Yes! Feeping creaturism. I'm pro user friendly messages, but, IMHO, consistency
- >and clarity are much more important than verboseness. Furthermore, it would
- >require existing programs to be extended with the verbose message.
- >
- >A better approach would be, IMHO, to leave the messages what they are and make
- >every program return a meaningful error number. A seperate program could
-
- This remindes me about real old Hewlett Packard BASIC interpeter...
- ???
- RUN
- ERROR 4578 IN LINE 8083
-
- >figure out which verbose message belongs to that number. That saves several K's
- >of text for each program and makes translation to foreign langauges much
- >easier. The user who uses such a tool gradually learns to associate the terse
-
- I suppose you have heard about shared libraries ;-).
-
- Seriously, I would really appreciate a call like eprintf that accepts the same
- arguments as printf but also has staff like %n for program name, %m for message,
- %p for callers PID etc. This would encourage people to use more meaninfull diagnostics.
-
- Oleg
-