home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / D / SVGALIB / _SVGALIB.TAR / usr / bin / runx next >
Encoding:
Text File  |  1995-01-18  |  424 b   |  13 lines

  1. #!/bin/sh
  2. # Script to save VGA textmode font, run X, and restore VGA textmode font.
  3.  
  4. # A more rigorous alternative is to run the 'savetextmode' script before
  5. # running X, and 'textmode' after. This will restore the textmode registers
  6. # and the VGA palette in addition to the VGA font.
  7.  
  8. echo Saving font in /tmp/fontdata
  9. restorefont -w /tmp/fontdata
  10. startx
  11. echo Restoring font from /tmp/fontdata
  12. restorefont -r /tmp/fontdata
  13.