home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / linux / 10783 < prev    next >
Encoding:
Internet Message Format  |  1992-09-15  |  2.3 KB

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