Re: using svgalib on 'screen': You must be the owner of the current

Search this archive.

From: Matan (matan@svgalib.org)
Date: Wed 30 Jan 2002 - 16:39:53 IST


On Wed, 30 Jan 2002, Johannes Zellner wrote:

> >I think using screen is the same (as far as svgalib is concerned) as
> > running telnet localhost, so svgalib does not know the program is
> > actually running on the local console.
> > I am not sure it's a good idea to run an svgalib program from a screen
> > session - when you try to move to another window, svgalib won't catch
> > that (as it catches vc switches), so you will now run a program that
> > thinks it's in text mode, but the video card is actually in graphics
> > mode.
> >
> > I guess that the only real solution is to add support for screen, the
> > same as there is support for linux virtual consoles.
> 
> ok. attached is a small patch which works on screen.

Did you check (or can you tell) what happens with your patch in the
following scenarios:

Running screen in an xterm
Running screen in a telnet session (from a remote computer)
Running a non-raw mode svgalib program (zgv) and pressing c-a 1 to
change window?


-- 
Matan Ziv-Av.                         matan@svgalib.org



------------------------------------------------------------------
Unsubscribe:  To:   listbot@svgalib.org
              Body: unsubscribe linux-svgalib


This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:24 IST