[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
garbage at start
From: |
folkert |
Subject: |
garbage at start |
Date: |
Thu, 13 Feb 2014 13:12:59 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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
- garbage at start,
folkert <=