unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: joakim@verona.se
To: Emacs development discussions <emacs-devel@gnu.org>
Subject: Re: GNU Screen inside Emacs?
Date: Fri, 09 Apr 2010 10:14:13 +0200	[thread overview]
Message-ID: <m3r5mp9h62.fsf@verona.se> (raw)
In-Reply-To: <m339z5ay3g.fsf@verona.se> (joakim@verona.se's message of "Fri, 09 Apr 2010 09:23:15 +0200")

joakim@verona.se 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.

I got some advice that "dtach" might be suitable, so I'll look into
that.

-- 
Joakim Verona




  parent reply	other threads:[~2010-04-09  8:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-09  7:23 GNU Screen inside Emacs? joakim
2010-04-09  7:54 ` Thierry Volpiatto
2010-04-09  8:14 ` joakim [this message]
2010-04-10  1:16 ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3r5mp9h62.fsf@verona.se \
    --to=joakim@verona.se \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).