Wrap
From Elendor
(Difference between revisions)
(Created page with ' WRAP <n> WRAP off The WRAP command turns Elendor's built-in line wrapping feature on or off and sets the display width. Normally the mush sends text without formatting…') |
|||
(One intermediate revision not shown) | |||
Line 1: | Line 1: | ||
- | |||
WRAP <n> | WRAP <n> | ||
WRAP off | WRAP off | ||
Line 29: | Line 28: | ||
lets them run off the end of the display and you have to use the horizontal | lets them run off the end of the display and you have to use the horizontal | ||
scroll bar to read them. You can tell the game to break long lines with | scroll bar to read them. You can tell the game to break long lines with | ||
- | html line breaks (" | + | html line breaks ("<br>") to avoid this problem if you like. To do so, |
just type "WRAP 80", which will break long lines at the 80th column. Lines | just type "WRAP 80", which will break long lines at the 80th column. Lines | ||
that the client already wraps properly will not be affected by this. | that the client already wraps properly will not be affected by this. |
Current revision as of 22:13, 30 May 2010
WRAP <n> WRAP off The WRAP command turns Elendor's built-in line wrapping feature on or off and sets the display width. Normally the mush sends text without formatting it to fit your screen. The program you use to connect to the game is there- fore responsible for inserting carriage returns and newlines at appropriate places. However, if you use telnet to connect, you might be disappointed with those results. Most telnet programs don't bother to avoid splitting words across lines, and some just let the text run off the side of the screen without trying to wrap it to the next line at all. In those cases you can tell the mush to try and wrap the output it sends you by using this command. Typing "WRAP 79" turns mush-side linewrapping on and wraps to a 79-column display. (Normally you should use a number one less than the actual number of columns, because usually if the mush prints anything in the last column, your connection program will try to wrap the line instead of letting the mush do it.) Most of the time if you are a telnet user you should use the TERM command instead of the WRAP command. When you execute the "TERM on" command, line wrapping is automatically turned on and set to a 79-column display. The TERM command also activates a bunch of other features beneficial to telnet users. See HELP TERM for details. When you execute "TERM off", line wrap- ping is automatically turned off. WRAP has a special meaning for Pueblo users. Old versions of the Pueblo client fail to break long lines with no spaces in them. Instead the client lets them run off the end of the display and you have to use the horizontal scroll bar to read them. You can tell the game to break long lines with html line breaks ("<br>") to avoid this problem if you like. To do so, just type "WRAP 80", which will break long lines at the 80th column. Lines that the client already wraps properly will not be affected by this. See Also: HELP telnet, HELP term