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

  1. Path: sparky!uunet!dtix!darwin.sura.net!mips!cs.uoregon.edu!nntp.uoregon.edu!news.u.washington.edu!milton!sand
  2. From: sand@milton.u.washington.edu (Derek Upham)
  3. Newsgroups: comp.unix.bsd
  4. Subject: 386BSD: Dinky little socket(?) bug -- ^V as escape character?
  5. Message-ID: <sand.712454840@milton>
  6. Date: 30 Jul 92 00:07:20 GMT
  7. Sender: news@u.washington.edu (USENET News System)
  8. Organization: University of Washington
  9. Lines: 22
  10.  
  11. I've noticed the following problem while running "screen" on 386BSD
  12. (both of these from the vanilla bin01 and etc01 sources): control-v
  13. needs to be typed twice for it to be received by a process.  For
  14. example, under tcsh, the key sequence
  15.  
  16.         echo ^V^G
  17.  
  18. which should enter a literal ^G (BEL, 0x7) on the command line, simply
  19. beeps.  Similarly, "^V^B", which should enter a literal ^B (0x2),
  20. moves the cursor back one space.  Both of these DO work correctly when
  21. you type two ^V characters instead of one.  Inserting some suitable
  22. printf's in "screen" indicates that the problem occurs before the data
  23. stream reaches the program---somewhere in the pty or socket code,
  24. looks like.  Anyone else noticed this problem?
  25.  
  26. Derek
  27.  
  28. -- 
  29. Derek Lynn Upham                                     University of Washington
  30. sand@u.washington.edu                University Computing Services Operations
  31. =============================================================================
  32. "Ha!  Your Leaping Tiger Kung Fu is no match for my Frightened Piglet Style!"
  33.