[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  Line wrapping with leading space
Home  |  Users  |  Search  |  FAQ
Register forum user name
Forgotten password?

Line wrapping with leading space

It is now over 60 days since the last post. This thread is closed.   [New subject]  Start a new subject   [Refresh] Refresh page

Posted by Daniel P   USA  (86 posts)  [Biography] bio
Date Fri 30 Apr 2010 12:18 AM (UTC)  quote  ]

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

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:

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

[Go to top] top

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

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

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
[Go to top] top

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

[Go to top] 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.


It is now over 60 days since the last post. This thread is closed.   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum

[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.


Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Web site powered by FutureQuest.Net]