Subject: Re: Buffer for console
To: Patrick Welche , Martin Weber <Ephaeton@gmx.net>
From: Richard Rauch <rauch@eecs.ukans.edu>
List: netbsd-help
Date: 05/22/2001 15:32:07
> You could install "screen"?

You could just use window(1), which ships with NetBSD, too.  (^&


A while ago, someone on tech-kern was posting patches to let the console
directly support scrollback.  There was some debate over how to manage the
buffer.  I haven't heard anything about it in a couple of months though.
So, either it's part of -current and is relatively stable, or it has
fallen by the wayside.  If the original creator of the patches has dropped
work on it, you might dig up the patches and re-integrate them.  (I think
that you'll have to go back to around January, or maybe earlier, in the
archives.)

(FWIW, the issues that were orbiting when I last saw posts about it were,
as I recall: Whether to blindly store lines as fixed-size fields, or
whether to trim leading/trailing blanks.  Whether to use one buffer for
all consoles (and presumably throw away buffers when switching virtual
consoles) or have a seperate buffer for each console.  There was also some
minor debate over the what keys to use for the scrolling, though I think
that that one finally got settled.)

I never got too concerned about the topic since I use X, and xterms have
scrollbars.  (^&  Thus, my memory is a bit fuzzy, and I may not have paid
careful attention (much less did I bother with the patches).


Good luck, if that's where you want to go.  I'd personally just use
window(1), or install screen from pkgsrc, as Patrick Welche suggests.


  "I probably don't know what I'm talking about." --rauch@eecs.ukans.edu