View/Edit #87!@wrap

File name: @wrap
Syntax:  @wrap <on|off>
         @wrap

         @linelength <number>
         @linelength

If the lines you see get cut off at the edge of your screen (you don't have
word-wrap), you can get LambdaMOO to split lines for you.  The @linelength
command tells the MOO how many columns you have on your screen (you probably
want @linelength 79) and "@wrap on" tells the MOO you want it to do word-
wrap.

It's better if you can fix this problem without LambdaMOO's help, though,
because the MOO's solution will be slower than a local solution.

If you don't want the MOO to split lines for you, there might still be some
use for the @linelength command.  Certain commands, like @who and @audit,
print truncated lines so they can print in neat columns.  The default for
these is generally about 79 columns, which looks fine if you have an
eighty-column screen.  If your screen is a different width, though, you
can set @linelength and some of these commands will react accordingly.

http://files.moo.ca:8081/8/7/@wrap
Size: 979 bytes.
File perms: Readable


You are not logged in.

[home | help | who | search | setup | code]