RE: Shell hangs when using "screen" and "emacs"



Hmmm, difficult to debug. The best would be to have a key logger to see
what keystrokes you type and then work out what screen is actually
trying to do.

I like screen but it does not work well with bash in emacs mode using
the standard key bindings.

Try Ctrl+a " to get a list of windows if it freezes up again.

It could also be the bash session itself that freezes up. I know it can
do that but I can't for the life of me remember what the shortcut was to
freeze or unfreeze it.

Not a very helpful reply, I share your pain. :-)

Regards

-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-
bounces@xxxxxxxxxx] On Behalf Of Kenneth Holter
Sent: 07 May 2008 16:06
To: redhat-list@xxxxxxxxxx
Subject: Shell hangs when using "screen" and "emacs"

Hi.

I log onto your servers using SSH, and typically run emacs within a
screen session. I try and use shortcuts (for example Ctrl plus some
key) in emacs, but whenever I type an erroneous shortcut the entire
shell freezes and I'm forced to kill the window and restart the SSH
session.

I think this problem has something to do with using emacs within a
screen session, but I'm not sure how to debug it. Has anyone had the
same problem, and knows how to correct it?

Regrads,
kenneho
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • RE: Shell hangs when using "screen" and "emacs"
    ... Shell hangs when using "screen" and "emacs" ... I like screen but it does not work well with bash in emacs mode using ... Try Ctrl+a " to get a list of windows if it freezes up again. ... screen session, but I'm not sure how to debug it. ...
    (RedHat)
  • Re: persistent emacs a la screen?
    ... As far as I can tell, emacsclient only opens a new buffer in an existing Emacs frame. ... I want to keep an Emacs session running and be able to attach to it when I log in, and detach from it when I log out without closing it down. ... client$ ssh myserver ... While it is true that I could run 'emacs -nw' within a window on my persistent screen session, the problem with that is that there seems to be no key that is productive to use for screen that does not interfere with Emacs. ...
    (comp.emacs)
  • Shell hangs when using "screen" and "emacs"
    ... I try and use shortcuts (for example Ctrl plus some ... key) in emacs, but whenever I type an erroneous shortcut the entire ... shell freezes and I'm forced to kill the window and restart the SSH ... screen session, but I'm not sure how to debug it. ...
    (comp.os.linux.misc)
  • Shell hangs when using "screen" and "emacs"
    ... I try and use shortcuts (for example Ctrl plus some ... key) in emacs, but whenever I type an erroneous shortcut the entire ... shell freezes and I'm forced to kill the window and restart the SSH ... screen session, but I'm not sure how to debug it. ...
    (RedHat)
  • Re: gdb with curses ,ErError opening terminal: emacs.
    ... DaVinci> I write a little programme using curses.but When I debug it ... DaVinci> with emacs, the error is Error opening terminal: ... DaVinci> if I debug it with kdbg,the error is Error opening terminal: ...
    (comp.unix.programmer)