[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU Screen inside Emacs?
From: |
Thierry Volpiatto |
Subject: |
Re: GNU Screen inside Emacs? |
Date: |
Fri, 09 Apr 2010 09:54:25 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
address@hidden writes:
> 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.
You can start ssh in an xterm, and then run term or ansi-term in emacs
and use screen -x
--
Thierry Volpiatto
Gpg key: http://pgp.mit.edu/