Linux-kernel mailing list archive 1998-48,: Re: Scrolling text

# Re: Scrolling text

H. Peter Anvin (hpa@transmeta.com)
3 Dec 1998 07:17:15 GMT

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Jim Woodward: "cua* on kernel 2.1 and beyond"
- Previous message: Krzysztof G. Baranowski: "Re: NTFS partitions show up as OS/2 partitions."
- Maybe in reply to: Android: "Scrolling text"

Followup to: <Pine.LNX.3.96.981202163715.1056A-100000@ansa>
By author: Android <android@abac.com>
In newsgroup: linux.dev.kernel
>
> 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!
>

If you *really* want to muck with the video memory directly (which
means it's not going to work in an xterm, or via telnet, or...) then
you can access it as /dev/vcsa. However, you are much better off
using curses; that's what it's for.

-hpa

    --
        PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD  1E DF FE 69 EE 35 BD 74
        See http://www.zytor.com/~hpa/ for web page and full PGP public key
            I am Bahá'í -- ask me about it or see http://www.bahai.org/
       "To love another person is to see the face of God." -- Les Misérables

    -
    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/

- Next message: Jim Woodward: "cua* on kernel 2.1 and beyond"
- Previous message: Krzysztof G. Baranowski: "Re: NTFS partitions show up as OS/2 partitions."
- Maybe in reply to: Android: "Scrolling text"