home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.coherent
- Path: sparky!uunet!rosevax!aquarius!grante
- From: grante@aquarius.rosemount.com (Grant Edwards)
- Subject: Re: Tcl to replacement most of /bin & /usr/bin (was: Tcl on Linux
- Message-ID: <1992Nov18.173737.17409@rosevax.rosemount.com>
- Sender: news@rosevax.rosemount.com (USENET News administrator)
- Nntp-Posting-Host: aquarius
- Reply-To: grante@aquarius.rosemount.com (Grant Edwards)
- Organization: Rosemount, Inc.
- References: <9211170717.AA17293@PCS.CNU.EDU>
- Date: Wed, 18 Nov 1992 17:37:37 GMT
- Lines: 36
-
- shendrix@PCS.CNU.EDU ("", Shannon Hendrix) writes:
- :
- : No. X11 and MGR are kludged on top of UNIX. Just like Windows runs
- : on top of DOS. I mean kernel support for graphics (not just drivers).
- : Access to the frame buffer just like normal RAM.
- :
-
- That means that your code has to know how to handle every single type
- of frame buffer and graphics hardware with which your program will
- ever by used, you've got to know how the planes are arranged, what
- bits in what bytes correspond to what pixels, what bit patterns
- correspond to what intensities, and _tons_ of other ugly stuff.
-
- There might not even _be_ a frame buffer that can be accessed as you
- would RAM (it could be vector graphics, although X11 or MGR on a
- vector graphics device wouldn't be a good match).
-
- It's like asking for direct access to disk on a sector-by-sector basis,
- or worse yet, playing with the control registers in the SCSI
- interface. It may be fun at first, but the whole point of device
- drivers for disks, graphics, serial ports, network interfaces, tape
- drives, etc, is to obtain device independence. I don't want to have
- to re-write my source code every time a new peripheral device comes
- out or every time the hardware interface changes. I don't want to have
- to know all the registers in a Zilog 8531 dual serial interface chip
- when I could just open /dev/ttya and start reading and writing.
-
- OK, then we'll define a standard software interface, and let the
- kernel handle the icky details. Presto, we've invented device
- drivers.
-
- --
- Grant Edwards |Yow! Make me look like LINDA
- Rosemount Inc. |RONSTADT again!!
- |
- grante@aquarius.rosemount.com |
-