home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / bsd / 3187 < prev    next >
Encoding:
Internet Message Format  |  1992-07-30  |  2.3 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!pasteur!cory.Berkeley.EDU!sim
  2. From: sim@cory.Berkeley.EDU (Peng-Toh Sim)
  3. Newsgroups: comp.unix.bsd
  4. Subject: Re: 386BSD: Dinky little socket(?) bug -- ^V as escape character?
  5. Summary: POSIX IEXTEN
  6. Message-ID: <1992Jul30.113545.23558@pasteur.Berkeley.EDU>
  7. Date: 30 Jul 92 11:35:45 GMT
  8. References: <sand.712454840@milton> <1992Jul30.011650.5292@pasteur.Berkeley.EDU> <1992Jul30.081047.16575@news.tu-graz.ac.at>
  9. Sender: nntp@pasteur.Berkeley.EDU (NNTP Poster)
  10. Organization: University of California, at Berkeley
  11. Lines: 39
  12. Nntp-Posting-Host: cory
  13.  
  14. In article <1992Jul30.081047.16575@news.tu-graz.ac.at> chmr@fstgds01.tu-graz.ac.at (Christoph Robitschko) writes:
  15. >In article <1992Jul30.011650.5292@pasteur.Berkeley.EDU> sim@cory.Berkeley.EDU (Peng-Toh Sim) writes:
  16. >>In article <sand.712454840@milton> sand@milton.u.washington.edu (Derek Upham) writes:
  17. >[complains that he has to press ^V twice to be interpreted in a screen session]
  18. [bunch of stuff I wrote deleted.]
  19. >>Can somebody who has access to the actual POSIX.1 document comment
  20. >>on this please?
  21. >>
  22. >>PT
  23. >>sim@cory.berkeley.edu
  24. >>
  25. >From "Portable Operating System Interface (POSIX) Part 1: System Application
  26. >Program Interface (API) [C Language]" ("IEEE Std 1003.1 - 1990"), Chapter
  27. >7.1.2.4:
  28. >
  29. ># If IEXTEN is set,implementation-defined functions shall be recognized from the
  30. ># input data. It is implementation defined how IEXTEN being set interacts with
  31. ># ICANON, ISIG, IXON, or IXOFF. If IEXTEN is not set, then implementation-
  32. ># defined functions shall not be recognized, and the corresponding input
  33. ># characters shall be processed as described for ICANON, ISIG, IXON, or IXOFF.
  34.  
  35. Ha Ha, what an ambiguous standard!
  36. To get the "correct" behaviour, we can fix 386bsd or screen etc. or both!!!
  37. I think 386bsd should be fixed such that when ICANON is not set, IEXTEN
  38. functions are ignored.  This still follows the above definition and yet 
  39. will work well in practice because other POSIX programs that uses RAW mode
  40. will "forget" to turn off IEXTEN anyway.
  41.  
  42. PT
  43. sim@cory.berkeley.edu
  44.  
  45. >
  46. >Typing errors are my own intellectual property 8->
  47. >
  48. >                            Christoph
  49. >-- 
  50. >------------------------------------------------------------------------
  51. >Christoph M. Robitschko  | "the only man who got his work done by Friday
  52. >chmr@edvz.tu-graz.ac.at  |             was Robinson Crusoe."
  53.