Running Ferret without X Windows
Question:
How can I run Ferret without X-windows?
Solutions:
(from the Ferret Users Guide)
- GIF mode - GIF output without X windows
- Ferret can run in batch mode -- without an X server. Invoke batchmode by starting up Ferret with the -gif option:
> ferret -gif
Graphical output is buffered, and can be stored in a GIF file by executingthe FRAME command. For example:
yes? frame/file=picture.gif
sends the stored graphical output from Ferret to the GIF filepicture.gif.
Please note the following when using batch mode:
-
- Window resizing only works if the window is cleared before resizing thewindow. For instance:
yes? set window/clear/size=0.25
-
- will resize the window while
yes? set window/size=0.25/clear
-
- will cause an error.
- Avoid metafile commands when running in batch mode. In particular,
yes? set mode meta
-
- Don't create new Ferret windows when running without an X server. The followingcommand:
yes? set window/new
- will result in an error message
- Don't create new Ferret windows when running without an X server. The followingcommand:
- PostScript mode - PostScript output without X windows
- Ferret can also generate PostScript files without an X server. If you wish to use this mode, start Ferret with the -batch option:
> ferret -batch <file>.ps
- where <file> is the name of the output file. Note that the filename must end with ".ps".
Please note the following when using PostScript mode:
- The PostScript output will not be fully written to the output file untilyou exit from Ferret.
- Window sizing commands do not have any effect on PostScript output.
- Avoid metafile commands when running in PostScript mode.
- Don't create new Ferret windows when running without an X server. The following command:
yes? set window/new
- will result in an error.
Last modified: June 15, 2001