pkgsrc-Users archive

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

Re: x11/xterm



On Thu, 16 Jul 2020 at 21:49, Sad Clouds <cryintothebluesky%gmail.com@localhost> wrote:
>
> On Thu, 16 Jul 2020 21:48:23 +0900
> Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost> wrote:
>
> > martin@ wrote:
> >
> > > > > Anything against enabling sixel-graphics support on x11/xterm?
> > > >
> > > > For those of us who don't know what this is, can you please tell
> > > > us what this adds and why you want it?
> > >
> > > It is a kind of "graphics mode" for old VT320 or newer (heh!)
> > > terminals. Allows displaying 1bit b/w pixel graphics on the xterm.
> >
> > Sixel itself supports not only 1 bit b/w but also 8 bit colors
> > (and there is an extension for more colors).
> >
> > See libsixel description for more details:
> >  https://github.com/saitoha/libsixel
> > (There is a "sixel based Xserver that works over terminal.")
> >
> > ---
> > Izumi Tsutsui
>
> Isn't there a lot of overhead with doing 2D graphics via terminal escape
> sequences? I wonder how well this works with remote ssh connections and
> slow networks.

It's actually brilliant, I didn't expect it. The script works straight
out of the box - on -current, at least. To display a directory with
some 67 background pictures in a terminal it takes

./lsix ../../Pictures  9.88s user 7.10s system 105% cpu 16.056 total

Chavdar






-- 
----


Home | Main Index | Thread Index | Old Index