List Info

Thread: bug on mac? cut and paste double spaces.




bug on mac? cut and paste double spaces.
country flaguser name
United States
2008-03-10 13:16:48
I'm on a mac, latest version of everything.

When I cut and paste headers, the pasted header
text is double spaced, i.e. a blank line appears
between each header line, as shown below.

I didn't see this on the bugs page so I thought
I would ask here if there's anything I can do
to fix this.

Thanks!
Mark

ps, liveheaders is wonderful wonderful wonderful!








https://www.
mozdev.org/icons/mm-icon.png



GET /icons/mm-icon.png HTTP/1.1

Host: www.mozdev.org

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O;
en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12

Accept: image/png,*/*;q=0.5

Accept-Language: en-us,en;q=0.5

Accept-Encoding: gzip,deflate

Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

Keep-Alive: 300

Connection: keep-alive



HTTP/1.x 200 OK

Date: Mon, 10 Mar 2008 18:12:19 GMT

Server: Apache

Last-Modified: Tue, 10 Oct 2006 12:36:55 GMT

Etag: "79074-119-452b93e7"

Accept-Ranges: bytes

Content-Length: 281

Keep-Alive: timeout=15, max=396

Connection: Keep-Alive

Content-Type: image/png

_______________________________________________
Livehttpheaders mailing list
Livehttpheadersmozdev.org
https://www.mozdev.org/mailman/listinfo/livehttpheaders

Re: bug on mac? cut and paste double spaces.
country flaguser name
United States
2008-03-10 13:43:52
This is due to HTTP's use of "rn" for newlines;
*nix based systems
(including OS X) either display "r" 'oddly' (e.g.
^M) or count both as
newline characters (as if it were "nn").

Cheers,
-Nikolas

Mark Harrison wrote:
> I'm on a mac, latest version of everything.
>
> When I cut and paste headers, the pasted header
> text is double spaced, i.e. a blank line appears
> between each header line, as shown below.
>
> I didn't see this on the bugs page so I thought
> I would ask here if there's anything I can do
> to fix this.
>
> Thanks!
> Mark
>
> ps, liveheaders is wonderful wonderful wonderful!
>
>
>
>
>
>
>
>
> https://www.
mozdev.org/icons/mm-icon.png
>
>
>
> GET /icons/mm-icon.png HTTP/1.1
>
> Host: www.mozdev.org
>
> User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X
Mach-O; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
>
> Accept: image/png,*/*;q=0.5
>
> Accept-Language: en-us,en;q=0.5
>
> Accept-Encoding: gzip,deflate
>
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
>
> Keep-Alive: 300
>
> Connection: keep-alive
>
>
>
> HTTP/1.x 200 OK
>
> Date: Mon, 10 Mar 2008 18:12:19 GMT
>
> Server: Apache
>
> Last-Modified: Tue, 10 Oct 2006 12:36:55 GMT
>
> Etag: "79074-119-452b93e7"
>
> Accept-Ranges: bytes
>
> Content-Length: 281
>
> Keep-Alive: timeout=15, max=396
>
> Connection: Keep-Alive
>
> Content-Type: image/png
>
> _______________________________________________
> Livehttpheaders mailing list
> Livehttpheadersmozdev.org
> https://www.mozdev.org/mailman/listinfo/livehttpheaders
>
>   



_______________________________________________
Livehttpheaders mailing list
Livehttpheadersmozdev.org
https://www.mozdev.org/mailman/listinfo/livehttpheaders

Re: bug on mac? cut and paste double spaces.
country flaguser name
United States
2008-03-10 13:44:11
Mark Harrison wrote:
> I'm on a mac, latest version of everything.
>
> When I cut and paste headers, the pasted header
> text is double spaced, i.e. a blank line appears
> between each header line, as shown below.
>
> I didn't see this on the bugs page so I thought
> I would ask here if there's anything I can do
> to fix this.
>
> Thanks!
> Mark
>
> ps, liveheaders is wonderful wonderful wonderful!
>
>
>
>
>
>
>
>
> https://www.
mozdev.org/icons/mm-icon.png
>
>
>
> GET /icons/mm-icon.png HTTP/1.1
>
> Host: www.mozdev.org
>
> User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X
Mach-O; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
>
> Accept: image/png,*/*;q=0.5
>
> Accept-Language: en-us,en;q=0.5
>
> Accept-Encoding: gzip,deflate
>
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
>
> Keep-Alive: 300
>
> Connection: keep-alive
>
>
>
> HTTP/1.x 200 OK
>
> Date: Mon, 10 Mar 2008 18:12:19 GMT
>
> Server: Apache
>
> Last-Modified: Tue, 10 Oct 2006 12:36:55 GMT
>
> Etag: "79074-119-452b93e7"
>
> Accept-Ranges: bytes
>
> Content-Length: 281
>
> Keep-Alive: timeout=15, max=396
>
> Connection: Keep-Alive
>
> Content-Type: image/png
>
> _______________________________________________
> Livehttpheaders mailing list
> Livehttpheadersmozdev.org
> https://www.mozdev.org/mailman/listinfo/livehttpheaders
>
>   



_______________________________________________
Livehttpheaders mailing list
Livehttpheadersmozdev.org
https://www.mozdev.org/mailman/listinfo/livehttpheaders

Re: bug on mac? cut and paste double spaces.
country flaguser name
United States
2008-03-10 13:47:54
Nikolas Coukouma wrote:
> This is due to HTTP's use of "rn" for
newlines; *nix based systems
> (including OS X) either display "r" 'oddly'
(e.g. ^M) or count both as
> newline characters (as if it were "nn").

Ah, got it.  It seems most of my applications are treating
it
as "nn".  Perhaps in the future there could be
an option
to trim the "r" when the headers are copied.

Thanks!
Mark
_______________________________________________
Livehttpheaders mailing list
Livehttpheadersmozdev.org
https://www.mozdev.org/mailman/listinfo/livehttpheaders

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )