home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!engr.uark.edu!cseg03.uark.edu!dws
- From: dws@cseg03.uark.edu (David W. Summers)
- Newsgroups: comp.os.linux
- Subject: Re: Can you access a virtual console directly?
- Message-ID: <1992Sep16.022550.6776@cseg03.uark.edu>
- Date: 16 Sep 92 02:25:50 GMT
- References: <1992Sep15.212642.26628@klaava.Helsinki.FI> <1992Sep15.220517.9988@uoft02.utoledo.edu>
- Sender: netnews@engr.uark.edu (NetNews Administrator)
- Organization: University of Arkansas
- Lines: 43
- Nntp-Posting-Host: cseg03.uark.edu
-
- billp@jupiter.cse.utoledo.edu (Bill Parquet) writes:
-
- >wirzeniu@klaava.Helsinki.FI (Lars Wirzenius) writes:
- >: >How about if the kernel had some special services that would make it
- >: >easy and portable (within Linuces) to use the virtual consoles without
- >: >termcap? I mean something like this:
- >:
- >: You solution has serious problems. Among other things, it assumes that
- >: the video memory is laid out in a special way. Not everybody uses the
- >: same kind of hardware you do. If you use termcap, you just don't have
- >: to worry about it.
- >
- >It might be helpful if there was some sort of library for screen mainten-
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- >ance. Instead of directly manipulating the screen, it would translate
- ^^^^^
- >function calls into termcap codes. Maybe something like borlands turbo-
- >vision, only not nearly so elaborate.
- >
- >Something like that would keep the new programmers happy, and still keep
- >the programs fairly portable. If the api was extensive enough, special
- >versions could be made vt100, MGR, X11 (although that might be spreading
- >out a little thin), but just being able to recompile the app with a
- >different library and being able to take advantage of a completely different
- >interface.
- >
- >(If I could clone myself maybe 3 or 4 times, I would probably have enough
- >time to program all my ideas!)
- >
-
- What you are describing is what CURSES is! (Unless I'm mis-understanding).
-
- Of course you might want to enhance the functionality of CURSES to
- include new and nifty things and/or to do things faster and more
- efficiently.
-
-
- - David Summers
-
- --
- "Never under-estimate the bandwidth of a station-wagon
- David Summers full of tapes, hurtling down the highway."
- dws@engr.uark.edu - Tanenbaum, "Computer Networks"
-