Differences between current version and previous revision of xinit(1).
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 2 | Last edited on Tuesday, September 23, 2003 11:22:24 pm | by CraigBox | |
Older page: | version 1 | Last edited on Tuesday, September 23, 2003 11:04:09 pm | by CraigBox | Revert |
@@ -31,12 +31,14 @@
!!EXAMPLES
Below are several examples of how command line arguments in ''xinit'' are used.
;__xinit__ : This will start up a server named ''X'' and run the user's ''.xinitrc'', if it exists, or else start an ''xterm''.
-;
__xinit -- /usr/X11R6/bin/Xqdss :1__ : This is how one could start a specific type of server on an alternate display.
+__xinit -- /usr/X11R6/bin/Xqdss :1__
+;
: This is how one could start a specific type of server on an alternate display.
;__xinit -geometry =80x65+10+10 -fn 8x13 -j -fg white -bg navy__ : This will start up a server named ''X'', and will append the given arguments to the default ''xterm'' command. It will ignore ''.xinitrc''.
;__xinit -e widgets -- ./Xsun -l -c__ : This will use the command ''.\/Xsun -l -c'' to start the server and will append the arguments ''-e widgets'' to the default ''xterm'' command.
-;
__xinit /usr/ucb/rsh fasthost cpupig -display ws:1 -- :1 -a 2 -t 5__ : This will start a server named ''X'' on display 1 with the arguments ''-a 2 -t 5''. It will then start a remote shell on the machine __fasthost__ in which it will run the command ''cpupig'', telling it to display back on the local workstation.
+__xinit /usr/ucb/rsh fasthost cpupig -display ws:1 -- :1 -a 2 -t 5__
+;
: This will start a server named ''X'' on display 1 with the arguments ''-a 2 -t 5''. It will then start a remote shell on the machine __fasthost__ in which it will run the command ''cpupig'', telling it to display back on the local workstation.
Below is a sample ''.xinitrc'' that starts a clock, several terminals, and leaves the window manager running as the ``last'' application. Assuming that the window manager has been configured properly, the user then chooses the ``Exit'' menu item to shut down X.
xrdb -load $HOME/.Xresources