all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* term-mode, ESC AnSiT, and screen
@ 2004-01-07  0:29 Mark Plaksin
  0 siblings, 0 replies; only message in thread
From: Mark Plaksin @ 2004-01-07  0:29 UTC (permalink / raw)


If term-mode sees ESC AnSiTc DIR, it updates default-directory based on
the DIR provided.  term-mode also uses AnSiTu (u for user) and AnsiTh
(host).  With these you can track the directory even if you are on a
remote host.  Send the right host, user, and directory, and you can use
TRAMP to load files from the remote host.  It's wonderful!

It fails to work if you run screen inside your term-mode buffer.  screen
discards ESC A so you just end up with 'nSiTc DIR' displayed on the
screen.  Thinking this was a screen bug, I asked the screen folks about
it.  So far they have asked if ANSI X3.64 says you should preserve or
discard undefined escape sequences.  And, of course, they asked if
term-mode could use a different sequence :)

Was ESC A selected because it wasn't defined and it should be passed
through?  Everything besides screen passes it so I'm guessing that
everything but screen is doing the right thing :)

Thanks!

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-01-07  0:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-07  0:29 term-mode, ESC AnSiT, and screen Mark Plaksin

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.