Subject: Re: wscons scroll support
To: matthew green <mrg@eterna.com.au>
From: Darren Reed <darrenr@reed.wattle.id.au>
List: tech-kern
Date: 01/05/2001 19:01:34
In some email I received from matthew green, sie wrote:
> 
> 
> i really like this idea.  i need scrollback for my consoles!
> 
>    David Brownlee wrote:
>    > 
>    >         Just tried this out, and it works really well, though I did find a
>    >         couple of small points:
>    >             a) Switching virtual consoles resets the scroll buffer
>    
>    that's not a bug, that's a feature :). There are basically to way
>    to implement console scrolling: using VGA memory to store the buffer 
>    (Linux) or allocating KVM memory (FreeBSD). I prefered the second one
>    because I like to scroll back as much as I want (you have no physical 
>    limitations). But in order not to wasted to much KVM the scroll
>    buffer is shared among virtual screens. The other way would be to
>    allocate a scroll buffer for each virtual screen but that seem to much
>    a waste. BTW the behaviour is the same as FreeBSD a Linux...
> 
> i don't like this.  i don't care what freebsd or linux do.  this behaviour
> is totally alien to me (a heavy screen user).  at the very least, i'd expect
> the scroll buffer to stay alive across switches, but i'd prefer that each
> VT had it's own scroll buffer, allocated out of KVM (pageable?) as you said.

what matthew said.

further to this, if we support different screen resolutions from
tty to tty (as wscons allows) then using scrollback should not get
messed up with in the process.

Darren