/fg

Usage:

/FG [-ns<>] [world]
/BG


Bring the socket associated with world into the foreground. The world must already be connected with the /connect command.

/fg Options:

-n
no socket: put all sockets in the background.
-s
silent: don't print error messages on failure.
-<
previous socket in cycle.
->
next socket in cycle.
-l
ignored.
-q
ignored.

/fg returns 0 on failure, nonzero otherwise.

If successful, /fg invokes the WORLD hook, which by default echoes "---- World world ----" or "---- No world ----".

/bg puts all sockets in the background, and is equivalent to /fg -n.

See: /connect, worlds, sockets


Back to index
Back to tf home page
Copyright © 1995, 1996, 1997 Ken Keys