lkml.org 
[lkml]   [2004]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [Linux-fbdev-devel] Re: fbdv/fbcon pending problems
    From
    Date
    On Wed, 2004-02-25 at 08:14, Stuart Young wrote: 
    > On Tue, 24 Feb 2004 07:36 pm, Geert Uytterhoeven wrote:
    > >
    > > There should be an ANSI escape sequence for resetting the scroll region.
    > > Just send that to the console.
    >
    > Yup there is. It's Esc [r , however this also returns the cursor to the top of
    > the screen. You can use Esc [s & Esc [u to save and restore the current
    > cursor position, so it's just a matter of putting them around it thus:
    > Esc [s Esc [r Esc [u
    >
    > Or with echo (in a bash script - \\'s to escape it from the shell):
    > echo -ne \\033[s\\033[r\\033[u
    >
    > Now there is a problem with this solution: This leaves the logo (and any
    > boot-time drawn graphics in the unscrollable region) on the screen.

    Should it? :)


    --
    Earthling Michel Dänzer | Debian (powerpc), X and DRI developer
    Libre software enthusiast | http://svcs.affero.net/rm.php?r=daenzer

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:01    [W:0.022 / U:0.216 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site