Re: screen discards undefined escape sequences

Michael Schroeder <[email protected]>
Newsgroups gmane.comp.gnu.screen
Message-ID <[email protected]>
On Sat, Jan 17, 2004 at 08:16:23PM -0500, Mark Plaksin wrote:
> What is the right way to get screen to print ESC A to the screen?  I
> have tried adding the following to DoESC in ansi.c but instead of an
> escape character I get a colored non-ASCII character and then an A.  I
> also have the dungeon collapse around me after running screen a while.

If you really must do this (but I won't patch screen for this):

    struct canvas *cv;
    for (cv = curr->w_layer->l_cvlist; cv; cv = cv->c_lnext)
      {
	display = cv->c_display;
	AddStr("\033A");
      }

Cheers,
  Michael.

-- 
Michael Schroeder           [email protected]
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}

 

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.