LSTOWN-L Archives

LISTSERV List Owners' Forum

LSTOWN-L

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Jacob Haller <[log in to unmask]>
Thu, 23 Feb 2006 16:19:32 -0500
text/plain (50 lines)
>I am posting the message via the web. I tried to post teh messae via email as
>well. I got the same prpble. After 79 char. it goes to the second line.

If you post using the web interface then your messages get wrapped 
every 76 characters. That's because the HTML for that part of the 
form is:

<textarea name="3" cols="76" rows="20" wrap="hard" id="message"></textarea>

which creates a text box 76 characters wide and forces text to wrap 
if it exceeds that width.

This part of the form is ultimately derived from the OBJECT-P1-TEXT 
web template.

To modify it, go to the mailing list management page for the mailing 
list, click on 'Templates', click on 'Switch to WWW templates', 
select 'Posting Interface Web Pages' next to 'Select a Category', and 
find OBJECT-P1-TEXT.

You'll see:

>+SE GETTPL <input type="hidden" name="&+PART-NAME;" value="_TXT_">&+BR;
>+SE GETTPL &+GETTPL;<textarea name="&+PART-NAME;" cols="76" 
>rows="20" wrap="hard" id="message">&+PART_TXT;</textarea>

Get rid of the 'wrap="hard"' part:

>+SE GETTPL <input type="hidden" name="&+PART-NAME;" value="_TXT_">&+BR;
>+SE GETTPL &+GETTPL;<textarea name="&+PART-NAME;" cols="76" 
>rows="20" id="message">&+PART_TXT;</textarea>

and click on 'Update'.

Now if you go back to the posting page you should see that the 
'wrap="hard"' part of the '<textarea ...' line is gone, and if you 
post a message with a long line it should go through unwrapped.

This means that if you want other parts of the text to still be 
wrapped, you will need to introduce the line feeds manually.
-- 
Jacob Haller, Technical Support, L-Soft international, Inc
   LISTSERV (R) is a registered trademark of L-Soft.
    Support is available 9:00-18:00 ET, Monday-Friday
     except on the following holidays:
      <http://www.lsoft.com/resources/holidays.asp>

All of our manuals are available for download at
   <http://www.lsoft.com/resources/manuals.asp>

ATOM RSS1 RSS2