View/Edit #87!@linelength

File name: @linelength
Syntax:
    <TT>@wrap &lt;on|off&gt;</TT>
    <TT>@wrap</TT>

    <TT>@linelength &lt;number&gt;</TT>
    <TT>@linelength</TT>

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 <TT>@linelength</TT>
command tells the MOO how many columns you have on your screen (you probably
want <TT>@linelength 79</TT>) and "<TT>@wrap on</TT>" 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/@linelength
Size: 1,040 bytes.
File perms: Readable


You are not logged in.

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