Try setting TERM=screen.
On Thu, Feb 13, 2014 at 7:12 AM, folkert <folk...@vanheusden.com> wrote: > 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 > > _______________________________________________ > screen-users mailing list > screen-users@gnu.org > https://lists.gnu.org/mailman/listinfo/screen-users > --
_______________________________________________ screen-users mailing list screen-users@gnu.org https://lists.gnu.org/mailman/listinfo/screen-users