Re: screen discards undefined escape sequences

Dan Nelson <[email protected]>
Newsgroups gmane.comp.gnu.screen
Message-ID <[email protected]>
In the last episode (Jan 19), Mark Plaksin said:
> > Are you running emacs, starting term-mode, then running screen
> > inside that, then opening up multiple windows?
> 
> Yes, exactly. (I get the same result with a single screen window).
> Before I run screen term-mode sees ESC A when it's echo'd.  And now I
> think I see your point.  term-mode is a terminal emulator so it gets
> to do whatever it wants.  So it does something special when it sees
> ESC AnSiT.  term-mode is really the only "everything else" that
> behaves differently from screen.
> 
> So it's just term-mode that's behaving strangely, eh?  The Emacs
> folks were silent when I asked them about term-mode and screen.  I'll
> try again.

The screen manpage lists all the escape codes processed by screen, and
it looks like there is a way to pass a string unmolested through screen
to the outer terminal:

    ESC P      (A)  Device Control  String.   Outputs  a  string
                    directly to the host terminal without inter-
                    pretation.

    ESC \      (A)  String Terminator

So, if you can get your shell to send ESC P before, and ESC \ after
that Emacs escape code, you should be all set.

-- 
	Dan Nelson
	[email protected]

 

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/NhFolB/TM
---------------------------------------------------------------------~->

Yahoo! Groups Links

To visit your group on the web, go to:
 http://groups.yahoo.com/group/gnu-screen/

To unsubscribe from this group, send an email to:
 [email protected]

Your use of Yahoo! Groups is subject to:
 http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.