To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.admin.generalOpen lugnet.admin.general in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Administrative / General / 8184
8183  |  8185
Subject: 
Re: line breaks in my messages, why does this happen ?
Newsgroups: 
lugnet.admin.general
Date: 
Tue, 24 Oct 2000 17:36:23 GMT
Viewed: 
385 times
  
In lugnet.admin.general, Todd Lehman writes:
In lugnet.admin.general, Ray Sanders writes:
When I enter a message thru the web interface, then click preview, the raw
text (in the edit window) comes back with hard line breaks at the end of
each line.  Why does this happen ?

Because the form says

  <TEXTAREA NAME="Body" COLS=79 ROWS=20 MAXLENGTH=65000 WRAP=HARD>

It's the WRAP=HARD part that asks for the hard line breaks.


In case it matters, I'm using MacOS 8.1, Netscape 4.5.

This also caused a URL I put in to line break. You can see this at...
<http://news.lugnet.com/market/theory/?n=1679>

Am I doing something wrong?

No, but I think your web browser is.  With other browsers, WRAP=HARD only
applies at word breaks (i.e. spaces), meaning that really big long words
more than 79-80 columns -- like URLs, for example -- shouldn't be broken
when you browser sends the text.  OTOH, maybe the browsers that work are the
ones that are broken.


One possible solution to the URL problem would be
if the edit area was wider (although I suspect that this could break people
on a screen smaller than 17").

Actually, screen size doesn't matter much, it's screen resolution (for
example 1024x768 or 640x480) that matters.  But along those general lines,
one possible solution would be to leave out the WRAP=HARD line.  Unfortunately,
then what happens is that you have to hit Enter (or Return) manaully and if
you don't, your text area scrolls.

What does Netscape 4.6 or 4.7 or MSIE 5.x on the Mac do?  I don't think it's
supposed to be breaking URLs onto two lines without your permission.  And it's
not something the server does.

--Todd


Dear Todd,

A suggestion:

How about a url or link box in each message?

I am not a programmer and thus I don't know if my proposal is monumental,
heresy, impractical, or unnecessary.  My suggestion is merely an idea to
address the "wrap" problems in messages.  If there was a dedicated field
where there were different "margins", would this solve or create problems?

Just as there are boxes for Lugnet .groups and topic headers... Would it be
possible to add a dedicated box for urls/links to the "post a message" and
"reply" options?  That way, a space is "built in" to each post for the
insertion of a url.  If a person does not wish to include a web address,
then the field is left empty and no link appears in the posted message
(either at the top or end of a message).

I don't know if my suggestion is a simple add-on or a colossal code
challenge.  I think enough market messages and discussion group updates
focus on urls to merit considering my suggestion.  If there was a seperate
box or field away from the body text, would that solve some of these issues.

If a person wanted to post multiple urls, maybe this field would allow that
as well.

Please let me know if this is a viable idea...

                        John



Message has 1 Reply:
  Idea for extra long liks in posts
 
(...) Another suggestion ROSCO (22 years ago, 7-Apr-02, to lugnet.admin.suggestions)

Message is in Reply To:
  Re: line breaks in my messages, why does this happen ?
 
(...) Because the form says <TEXTAREA NAME="Body" COLS=79 ROWS=20 MAXLENGTH=65000 WRAP=HARD> It's the WRAP=HARD part that asks for the hard line breaks. (...) No, but I think your web browser is. With other browsers, WRAP=HARD only applies at word (...) (24 years ago, 24-Oct-00, to lugnet.admin.general)

10 Messages in This Thread:






Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR