Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
runx(1)			      Svgalib User Manual		       runx(1)

NAME
       runx - try to overcome problems of Xfree96 restoring textmode using sv-
       galib.

SYNOPSIS
       runx

DESCRIPTION
       If XFree86 corrupts your	textmode font, try putting  restorefont(1)  in
       your  path  and use the shell script runx to run	X.  runx saves the VGA
       font data in /tmp/fontdata, and restores	it when	you exit X.

       The runx	script actually	is:

	      #!/bin/sh
	      echo Saving font in /tmp/fontdata
	      restorefont -w /tmp/fontdata
	      startx
	      echo Restoring font from /tmp/fontdata
	      restorefont -r /tmp/fontdata

       Note that this doesn't help with	syncing	problems.

       A more rigorous alternative is to run the savetextmode(1) script	before
       running X, and textmode(1) after. This will restore the textmode	regis-
       ters and	the VGA	palette	in addition to the VGA font.

       Assuming	that savetextmode(1) and textmode(1) are in your PATH the runx
       script would then look like:

	      #!/bin/sh
	      echo Saving SVGA state
	      savetextmode
	      startx
	      echo restoring SVGA state
	      textmode

       This  utility  is part of svgalib and can be found in the utils/	subdi-
       rectory of the original svgalib distribution. However, it  is  not  in-
       stalled	by  default,  s.t. it is unclear where you can find it if your
       svgalib was install by a	linux distribution.

       However,	this is	no big deal as it was printed out above	already	;-).

SEE ALSO
       svgalib(7), vgagl(7), libvga.config(5),	convfont(1),  dumpreg(1),  re-
       storefont(1),   restorepalette(1),   restoretextmode(1),	 fix132x43(1),
       savetextmode(1),	setmclk(1), textmode(1).

AUTHOR
       This manual page	was edited by Michael Weller  <eowmob@exp-math.uni-es-
       sen.de>.	 The  exact source of the referenced utility as	well as	of the
       original	documentation is unknown.

       It is very likely that both are at least	to some	extent are due to Harm
       Hanemaayer <H.Hanemaayer@inter.nl.net>.

       Occasionally  this  might be wrong. I hereby asked to be	excused	by the
       original	author and will	happily	accept any additions or	corrections to
       this first version of the svgalib manual.

Svgalib	(>= 1.2.11)		  2 Aug	1997			       runx(1)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=runx&sektion=1&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help