public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Control-O hangs rxvt
@ 2002-04-16  7:26 O'BRIEN,STEVE (HP-UnitedKingdom,ex1)
  2002-04-16  9:01 ` Christopher Glaeser
  2002-04-16 10:50 ` David Starks-Browning
  0 siblings, 2 replies; 9+ messages in thread
From: O'BRIEN,STEVE (HP-UnitedKingdom,ex1) @ 2002-04-16  7:26 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

On Monday 15 Apr 02, Christopher Glaeser writes:
> > > Control-O in emacs via a telnet session hangs rxvt.  Is there a way to
> remap
> > > Control-O so that it can be used in emacs to insert a new line?  If
not,
> is
> > > there a way to un-hang rxvt after using Contorl-O?
> >
> > I don't have any problem using C-o in emacs in rxvt.  You'll have to
> > solve the problem yourself or provide a lot more detail than what you
> > supplied here.
> 
> Thanks for responding.  I assumed this was a common problem because I got
> quite a few hits on google regarding ^o and rxvt.  Unfortunately, I
haven't
> found any solutions posted.  In addition, since my posting to this
> newsgroup, rxvt users with the same problem have been contacting me
> privately asking me if I found a solution yet.  Perhaps a few more details
> will help isolate the problem.
> 
> Regarding your use of C-o, emacs, and rxvt, did you also include a telnet
> session?  Here is the sequence we are using to cause the problem.
> 
> - Starting from Win XP
> - cygwin
> - rxvt
> - unset DISPLAY
> - telnet linux-system
> - emacs foo
> - C-o
> 
> The rxvt session is now hung, and I don't know how to un-hang it except to
> kill the rxvt session.  Thanks in advance for a solution.

I don't have a full solution, but I can add a few more details and provide a
work-around.
The problem has nothing to do with linux or emacs. I can see the same effect
by telneting to another cygwin box (even localhost if inetd is running),
then typing ^O at the bash prompt.

If you type stty -a in your rxvt shell you will see that ^O is the flush
character. And if you read the telnet manual, it explains that the flush
character is captured locally and sent to the remote side as a telnet
control sequence. The local client then disables input until the remote end
acknowledges; and I assume this acknowledgment is not forthcoming.

You can undefine the flush character by typing:
stty flush ^-
before you start telnet. You can add this line to /etc/profile or
/etc/profile.d/local.sh 
or ~/.bash_profile so that it is always set in every session.

I cannot explain why rxvt should fail to respond to ^] in this state whereas
the cygwin console does. Can any terminal experts help here?

Steven 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: Control-O hangs rxvt
@ 2002-04-16 11:43 Mark Allan Young
  0 siblings, 0 replies; 9+ messages in thread
From: Mark Allan Young @ 2002-04-16 11:43 UTC (permalink / raw)
  To: Cygwin

While the workaround "stty flush ^-" does workaround the problem,
doesn't explain the problem I originally posted...specifically,

	$ cat >.t.
	<ctrl-O>
	....hang

ignores all attempts to break back into the shell...   hitting the 
delete icon on the rxvt window get's a message from windows:

	"End Program - bash"
	"This program is not responding."

implying that rxvt or bash has wandered off into the weeds...

comments?

...myoung

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Control-O hangs rxvt
@ 2002-04-12 17:18 Christopher Glaeser
  2002-04-15  4:18 ` David Starks-Browning
  0 siblings, 1 reply; 9+ messages in thread
From: Christopher Glaeser @ 2002-04-12 17:18 UTC (permalink / raw)
  To: cygwin

Control-O in emacs via a telnet session hangs rxvt.  Is there a way to remap
Control-O so that it can be used in emacs to insert a new line?  If not, is
there a way to un-hang rxvt after using Contorl-O?

Best,
Christopher






--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-04-16 18:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-16  7:26 Control-O hangs rxvt O'BRIEN,STEVE (HP-UnitedKingdom,ex1)
2002-04-16  9:01 ` Christopher Glaeser
2002-04-16 10:50 ` David Starks-Browning
  -- strict thread matches above, loose matches on Subject: below --
2002-04-16 11:43 Mark Allan Young
2002-04-12 17:18 Christopher Glaeser
2002-04-15  4:18 ` David Starks-Browning
2002-04-15 10:25   ` Christopher Glaeser
2002-04-15 10:32     ` Ehud Karni
2002-04-16  5:40     ` David Starks-Browning

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).