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