/fg

Usage:

/FG [-nsq<>l] [-cN] [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 or counted in the more prompt, 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.
-cN
Repeat the -< or -> option N times.
-l
ignored.
-q
quiet: jump to the last screenful of text, instead of starting at the same location you were at the last time the socket was current.

/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. By default, /bg is bound to the ^] key (not ESC, which is ^[)

See: /connect, worlds, sockets


Back to index
Back to tf home page
Copyright © 1995, 1996, 1997, 1998, 1999, 2002, 2003 Ken Keys