garbage at start

folkert <folkert-Beo89p9qyDM6GGFevw1D/[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Organization www.unixexpert.nl
Message-ID <[email protected]>
Hi,

Situation:
- I login to a linux system (either from an other linux system or via
  putty)
- from that one I hop to an other linux system using openssh
- on that 2nd system I open a "screen"-session
- in there I start a program which pipes its output through e.g. less or
  more
- garbage appears on the screen
  I straced the program and this is the result:
...
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig -icanon -echo ...}) = 0
write(1, "\33(B\33)0\33[?1049h\33[1;41r\33[m\17\33[4l\33[39;49m\33[?1h\33=", 44) = 44
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig -icanon -echo ...}) = 0
...
Now this
"\33(B\33)0\33[?1049h\33[1;41r\33[m\17\33[4l\33[39;49m\33[?1h\33="
string appears visible on the terminal (putty, gnome terminal).

Also in the strace logging I found that this string comes from
/lib/terminfo/s/screen so I'm guessing that maybe that string is
incorrect? Or...?

Any pointers would be helpfull.


Regards

Folkert van Heusden

-- 
MultiTail ist eine flexible Applikation um Logfiles und Kommando
Eingaben zu überprüfen. Inkl. Filter, Farben, Zusammenführen,
Ansichten etc. http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
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.