* 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
* 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
1 sibling, 0 replies; 9+ messages in thread
From: David Starks-Browning @ 2002-04-16 10:50 UTC (permalink / raw)
To: cygwin
On Tuesday 16 Apr 02, O'BRIEN,STEVE (HP-UnitedKingdom,ex1) writes:
> I cannot explain why rxvt should fail to respond to ^] in this state whereas
> the cygwin console does. ...
Or why it should not cause problems to hundreds of other cygwin rxvt
users who also have the "stty flush ^O".
You *are* using Cygwin telnet, right?
Anyway, thanks for the workaround. I could put that in the FAQ. (But
despite assertions that this is a common problem, I never recall
seeing it in this list before, at least not in the last couple of
years that I've been reading it. Apologies if I've missed it all
somehow.)
Regards,
David
(Cygwin FAQ maintainer)
--
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 7:26 O'BRIEN,STEVE (HP-UnitedKingdom,ex1)
@ 2002-04-16 9:01 ` Christopher Glaeser
2002-04-16 10:50 ` David Starks-Browning
1 sibling, 0 replies; 9+ messages in thread
From: Christopher Glaeser @ 2002-04-16 9:01 UTC (permalink / raw)
To: cygwin
> 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.
Perfect! Many thanks Steve. - 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
* 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-15 10:25 ` Christopher Glaeser
2002-04-15 10:32 ` Ehud Karni
@ 2002-04-16 5:40 ` David Starks-Browning
1 sibling, 0 replies; 9+ messages in thread
From: David Starks-Browning @ 2002-04-16 5:40 UTC (permalink / raw)
To: Christopher Glaeser; +Cc: cygwin
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.
Well, a "few more details" is an understatement, because this doesn't
really tell us much more than we could deduce from your first message.
I am unable to repeat this, following your recipe, except in my case I
am using WinNT4. (And please don't ask if I missed something like
"telnet" because if I said I followed it then I followed it.)
I am afraid you and others who are experiencing this will have to
debug it, or otherwise figure out why it fails for you and not for us.
It is almost certainly a problem with your local or remote setup.
Since you don't even say which versions of cygwin, rxvt, telnet
(Cygwin or Windows?) or emacs you are using, or what your TERM or stty
settings are, I don't think any more "me too" or "me neither" replies
on this thread will help to pin it down.
Regards,
David
(Cygwin FAQ maintainer)
--
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-15 10:25 ` Christopher Glaeser
@ 2002-04-15 10:32 ` Ehud Karni
2002-04-16 5:40 ` David Starks-Browning
1 sibling, 0 replies; 9+ messages in thread
From: Ehud Karni @ 2002-04-15 10:32 UTC (permalink / raw)
To: cdg; +Cc: cygwin
On Mon, 15 Apr 2002 10:07:55 -0700, Christopher Glaeser <cdg@nullstone.com> wrote:
>
> 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 did your recipe and the rxvt worked fine (did NOT hang).
The differences from your system are:
1. I'm working on W98 (not XP).
2. I used ssh not telnet.
Ehud.
--
Ehud Karni Tel: +972-3-7966-561 /"\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X Against HTML Mail
http://www.mvs.co.il FAX: 1-815-5509341 / \
mailto:ehud@unix.simonwiesel.co.il Better Safe Than Sorry
--
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-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
0 siblings, 2 replies; 9+ messages in thread
From: Christopher Glaeser @ 2002-04-15 10:25 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?
>
> 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.
- 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
* Control-O hangs rxvt
2002-04-12 17:18 Christopher Glaeser
@ 2002-04-15 4:18 ` David Starks-Browning
2002-04-15 10:25 ` Christopher Glaeser
0 siblings, 1 reply; 9+ messages in thread
From: David Starks-Browning @ 2002-04-15 4:18 UTC (permalink / raw)
To: Christopher Glaeser; +Cc: cygwin
On Friday 12 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.
Regards,
David
--
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 11:43 Control-O hangs rxvt Mark Allan Young
-- strict thread matches above, loose matches on Subject: below --
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
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).