Line wrapping with leading space

Posted by Daniel P on Fri 30 Apr 2010 12:18 AM — 3 posts, 15,995 views.

USA #0
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
Amended on Fri 30 Apr 2010 12:34 AM by Daniel P
USA #1
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.
Amended on Fri 30 Apr 2010 12:41 AM by Twisol
USA #2
First suggestion worked. Guess I overlooked that flag, thinking it was an option to turn on rather than off. Thanks!

-Daniel