emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNU Screen inside Emacs?


From: joakim
Subject: GNU Screen inside Emacs?
Date: Fri, 09 Apr 2010 09:23:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux)

I would like to connect to long running remote ssh commands inside Emacs
shells. Normaly one uses Gnu Screen for this, but Screen doesnt work
inside an Emacs shell. I could use a Emacs terminal, but thats
inconvenient.

Currently I try using starting this command inside an emacs shell
session:

TERM=xterm screen

I need to trick screen since it doesnt want to run in a "dumb" terminal
since it needs terminal erase for standard operation. This trick works a
little bit, but color escapes look weird, and so on, and its not the
right solution.

Ok, so something somewhere must change for this to work like I want, I'm
not just sure where, which is why I ask here. What soultion would be
most Emacsy?

- patch Screen so it works sufficiently in dumb terminals?
- patch the Emacs shell so its not "dumb" but maps some particular
  escapes to emacs commands?
- something else altogether involving writing a much dumber screen
  replacement, perhaps involving nohup, or disown.
- using emacs in demon mode and some kind of emacs buffer sync package
  between 2 instances. Overkill but interesting.

-- 
Joakim Verona




reply via email to

[Prev in Thread] Current Thread [Next in Thread]