/fg

Usage:

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


Bring the socket associated with world into the foreground. The world must already be connected with the /connect command. Any lines that arrived while the socket was in the background will be displayed, unless the -q option is given.

/fg Options:

-n
no socket: put all sockets in the background.
-s
suppress error messages.
-<
previous socket in cycle.
->
next socket in cycle.
-l
ignored.
-q
quiet: don't display lines that were buffered while the socket was in the background.

/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 - 1999 Ken Keys