home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / wizards / 4741 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.9 KB

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