|
From: Antonino D. <ad...@po...> - 2003-03-06 01:16:55
|
On Thu, 2003-03-06 at 03:02, James Simmons wrote: > > Yes, this is a limitation of stty. It calls con_resize twice (one for > > row and another for cols, depending on the order of the options) so it > > will not work if the driver only supports a fixed set of modes. Another > > reason to bring back fbset resizing. > > ???? stty rows 128 cols 48 works for me. It should'nt calling con_resize > twice. > It does. You probably won't notice it if the driver supports flexible video mode changing. For drivers that don't it will fail. For instance, if a driver supports 800x600 and 1024x768 only, and stty is used to change the mode from 1024x768 to 800x600, it will be done like this: resize to 800x768 <--- because no mode matches this, resizing fails resize to 800x600 If you don't believe me, do an strace stty cols 80 rows 30. Tony |