On Sun, Aug 21, 2016 at 04:39:34AM -0700, T. Joseph Carter wrote:
> Package: consolation
> Version: 0.0.1-1
> Severity: important
> 
> Hi Bill,
> 
> Intrigued by Consolation as a possible GPM replacement, so I figured I'd
> remove that and give it a shot. 

Congratulation you are the first tester!

> Upon installing it, I find that the mouse
> cursor will extend to the full console height, but not the full console
> width.  It stops in column 64--a default maybe?

> I thought the issue might be that not all of my consoles share the same font
> due to an interaction between console-setup and Plymouth that causes tty1
> not to have the appropriate font set until I do so by hand, however
> restarting it after all windows used the same font didn't resolve the issue.
> 
> BTW, copying a line works regardless of length, and the same for a word that
> begins on or before column 64.

The code I use to get the screen size is as follow:

  if (ioctl(0, TIOCGWINSZ, &s)) perror("TIOCGWINSZ");
  screen_width  = s.ws_col;
  screen_height = s.ws_row;

and I never expected the size of the linux console to change during
boot. I am not sure whether consolation will receive a SIGWINCH
in this case.

In any case consolation should use the size of the terminal in use when
consolation is started. Could you check that ?

> Happy to help debug this if you've got some stuff you'd like me to
> try/log/trace.  I'm using a basic mouse here and GPM works fine, but GPM
> hasn't really kept pace with modern input devices since 1997.  My other
> mouse is an Apple Magic Trackpad, etc.  ;)

Also consolation is fully plug and play, there is no need to configure
the device.

> Incidentally, I've removed gpm for testing consolation and will for the time
> being remove consolation to restore gpm functionality.  The package
> indicates no need to do this, but it seems like a good idea.  If that's
> unnecessary, please let me know.  Else I would suggest a change to the
> manpage and control file.

Well, theoretically you could use gpm for one device and consolation for
the others but in practive it is better to disable gpm while using
consolation, otherwise you get two cursors which is confusing.

Maybe consolation should conflict with gpm at some point.

In any case to switch between gpm and consolation you can do

/etc/init.d/gpm stop
/etc/init.d/consolation start

Cheers,
-- 
Bill. <ballo...@debian.org>

Imagine a large red swirl here. 

Reply via email to