> What is the most direct method to scroll text in a given region of a
> console window? For example, if the console size is 50 rows by 80 columns,
> and I only want to scroll the text in the region (18,23) by (32,45) how
> would this be done? Is there a syscall I could use? I don't want to
> have to compile in curses, which I don't have a clue on how to use anyway.
> I would like to be able to access video text memory directly
> (at 0x000B8000) but I don't think that is possible. Any suggestions?
> And please, give examples! Thanks!
Take a look at the /dev/vcsa devices. Simple example:
echo "....abcdefghijklmnopqrstuvwxyz" > /dev/vcsa0
Further examples can be found in _Linux Application Development_.
ps: Curses, Slang, or some variant thereof is the right way to do it.
-- "Love the dolphins," she advised him. "Write by W.A.S.T.E.."
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/