screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: garbage at start


From: Kevin Van Workum
Subject: Re: garbage at start
Date: Thu, 13 Feb 2014 11:39:46 -0500

What happens when you pipe your command to 'less -r' ?


On Thu, Feb 13, 2014 at 11:31 AM, folkert <address@hidden> wrote:
It is screen in fact.

On Thu, Feb 13, 2014 at 11:29:56AM -0500, Kevin Van Workum wrote:
> Try setting TERM=screen.
>
>
> On Thu, Feb 13, 2014 at 7:12 AM, folkert <address@hidden> 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
> > address@hidden
> > https://lists.gnu.org/mailman/listinfo/screen-users
> >
>
> --
>


Folkert van Heusden

--
To MultiTail einai ena polymorfiko ergaleio gia ta logfiles kai tin
eksodo twn entolwn. Prosferei: filtrarisma, xrwmatismo, sygxwneysi,
diaforetikes provoles. http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]