home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / bsd / 5472 < prev    next >
Encoding:
Text File  |  1992-09-10  |  3.9 KB  |  82 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!paladin.american.edu!gatech!news.byu.edu!ux1!fcom.cc.utah.edu!park.uvcc.edu!ns.novell.com!thisbe.Eng.Sandy.Novell.COM!terry
  3. From: terry@thisbe.Eng.Sandy.Novell.COM (Terry Lambert)
  4. Subject: Re: AT&T Long Distance Boycott (was: BNR2SS, Mach, and The Lawsuit)
  5. Message-ID: <BuDFBD.MJL@Novell.COM>
  6. Sender: usenet@Novell.COM (Usenet News)
  7. Nntp-Posting-Host: thisbe.eng.sandy.novell.com
  8. Organization: Novell NPD -- Sandy, UT
  9. References: <1992Sep08.192000.4488@kithrup.COM> <1992Sep10.015548.4228@pegasus.com> <1992Sep10.055834.6643@kithrup.COM>
  10. Date: Thu, 10 Sep 1992 16:33:12 GMT
  11. Lines: 69
  12.  
  13. In article <1992Sep10.055834.6643@kithrup.COM> sef@kithrup.COM (Sean Eric Fagan) writes:
  14. >In article <1992Sep10.015548.4228@pegasus.com> richard@pegasus.com (Richard Foulk) writes:
  15. >>Termcap/terminfo is a standard that's available on, pretty much, all
  16. >>Unixes.  So why leave it out of the POSIX standard?
  17. >
  18. >Termcap and terminfo are two different things.  Or aren't you aware of that?
  19. >Which one should be standardised on?
  20. >
  21. >Choose termcap, and you choose an outdated, limited, and obsolete
  22. >technology.
  23.  
  24.     That you can expand without having to modify a structure and
  25. re-tic all the terminfo files and recompile all applications relying on
  26. the library routines (which you also have to rebuild).  For istance, how
  27. do I support named attributes for graphic characters no in the VT100
  28. alternate set with terminfo?
  29.  
  30. >Choose terminfo, and you leave out all of the non-SysV sites out there, such
  31. >as BSD systems.  And you are still choosing a limited and obsolete
  32. >technology.
  33.  
  34. But not outdated, I suppose... 8-).
  35.  
  36. >Create an alternative, and you run the risk of creating something that is
  37. >unworkable, overly complicated, difficult to implement, or just out and out
  38. >broken.  Ask Henry Spencer or Dan Bernstein about that.
  39.  
  40. And precisely what you are suggesting for porting to nominally "standard"
  41. environments based on POSIX.  You can't have it both ways, Sean.
  42.  
  43. I think the real question is not support of a particular data format
  44. (since most of us have untic/tic/infocmp/infocap/captoinfo if we're into
  45. hacking terminal definitions, anyway), but support for standard curses
  46. libraries, and what has historically been called "the termcap library".
  47. This means the functions, tgetent(), tgetstr(), tgetnum(), tgetflag(),
  48. tgoto(), and tputs(), and some arbitrary mechanism for changing the
  49. assumed "rows" and "columns" values which act as soft limits for these
  50. functions, so that you can implement window resizing and the functional
  51. equivalent of SIGWINCH.
  52.  
  53. I think most people who are only interested in using an existing terminal
  54. definition could care less what the underlying data storage mechanism was.
  55. They just want the functions above with an ISO standard curses library on
  56. top of it.  VMS, to take our non-UNIX "POSIX" example again, has a database
  57. of terminal information, but has no "termcap" library to get at it, and it's
  58. curses library is non-ISO, both of which are "bad things".
  59.  
  60. There was no good [non-political] reason to leave the "termcap" and "curses"
  61. library *functions* out of POSIX (and to hell with the underlying data
  62. format, which only serves to muddy the issue of why the data isn't
  63. available in any form, which is the real issue).
  64.  
  65. I reiterate (for the umpteenth time) POSIX is a good first step, but it is
  66. certainly not sufficient as the type of platform you paint it.  I can more
  67. easily port an application to 386bsd (which has *not* passed a POSIX
  68. validation test) than to VMS (which has).  Both Robert Withrow and myself
  69. have a certain amount of experience in this area, and POSIX is simply not
  70. sufficient for out-of-the-box compilation, nor is it functionally sufficient
  71. such that all applications can be coded strictly within it's bounds and
  72. fulfill requirements.
  73.  
  74.  
  75.                     Terry Lambert
  76.                     terry_lambert@gateway.novell.com
  77.                     terry@icarus.weber.edu
  78.  
  79. ---
  80. Disclaimer:  Any opinions in this posting are my own and not those of
  81. my present or previous employers.
  82.