Re: screen discards undefined escape sequences

Dan Nelson <[email protected]>
Newsgroups gmane.comp.gnu.screen
Message-ID <[email protected]>
In the last episode (Jan 06), Mark Plaksin said:
> screen discards certain escape sequences.  For example if you run this:
> echo ^[Hello        # where ^[ is an actual escape character
> 
> you get this:
> ello

According to my ANSI escape table, ESC H is "Horizontal Tab Set", and
screen correctly parses this:

$ printf "test\ttest\ntest >\033H<\ntest\ttest\n"  
test    test
test ><
test  test
$

You'll have to run "reset" after this to get your tabs back to normal
(or exit the window).

> Emacs' term-mode looks for an escape sequence (^[AnSiT) to do directory
> tracking.  This fails inside of screen because screen discards the ^[A.

ESC A doesn't appear in my table.  I don't actually have a copy of
X3.64, though, so I can't say for sure whether unknown escapes are
supposed to be eaten or passed through.  Can you tell Emacs to send
something else?

-- 
	Dan Nelson
	[email protected]

 

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.