Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ MUSHclient ➜ General ➜ Line wrapping with leading space

Line wrapping with leading space

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Daniel P   USA  (97 posts)  Bio
Date Fri 30 Apr 2010 12:18 AM (UTC)

Amended on Fri 30 Apr 2010 12:34 AM (UTC) by Daniel P

Message
My problem is this..with a big tab-spaced list (and no line breaks, so I rely on client to do the line-wrapping), a client-side line wrap will indent the next line one space in and then the next line one space further in.

In short:

Item1     Item2     Item3     Item4     
 Item5     Item6     Item7     Item8
  Item9     Item10    Item11    Item12
   Item13    Item14    Item15    Item16


A large block of text will output something reasonable like:


A wall of granite soars into the heavens and
 disappears into the misty clouds above. There
 is a large block of cheese on the ground. A
 turtle plods around in circles.


But a tabbed list gets that offset problem.

Is there an option someplace to move that leading space to the end of the previous line (or just omit it from the output altogether), and thus keep everything in a nice straight column format?

Currently trying Twisol's suggestion from the infamous multiline problem: http://www.mushclient.com/forum/bbshowpost.php?bbsubject_id=10010:

Quote:
The solution is usually to configure your screenwidth to 0, disabling server-side wrapping altogether,...


Thanks.
-Daniel
Top

Posted by Twisol   USA  (2,257 posts)  Bio
Date Reply #1 on Fri 30 Apr 2010 12:39 AM (UTC)

Amended on Fri 30 Apr 2010 12:41 AM (UTC) by Twisol

Message
Make sure "indent paragraphs" is unchecked, in Game -> Configure -> Output, on the right side.

Assuming you're playing an Iron Realms MUD and your first example refers to the HELP index lists, that's a well known (and somewhat separate) issue. The HELP lists rely on knowing your wrap-width in order to display the helps in columns that will fit on your screen. In the absence of screenwidth, it sends it all as one line, and the client wraps it as you see it. It's more of a server-side issue than a client-side issue. Your best bet would be to have an alias that does CONFIG SCREENWIDTH 80, then the help command, then CONFIG SCREENWIDTH 0.

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
Top

Posted by Daniel P   USA  (97 posts)  Bio
Date Reply #2 on Fri 30 Apr 2010 02:05 AM (UTC)
Message
First suggestion worked. Guess I overlooked that flag, thinking it was an option to turn on rather than off. Thanks!

-Daniel
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


11,309 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.