mutt and http//url???

2013-03-22 Thread Gary Kline

guys,

==many== yeears ago when i was running Only FBSD, I  asked
this list how i could use mutt when somebody included an
http://url.com; and i got replies that worked.  --sseems 
like the url string got moved to the end and clicking on the 
string exec'd firefox.   

in the past couple years i've sub'd to the nytimes and other places
where the http string is several dozens of bytes.  in my mutt 
at least, there are + marks embedded at the beginning of each
new lines.  so that when i mouse lick on the url, i almost 
invariably get  either Nothing from my browswer, or the wrong 
page.

i've googled for days.  zero.  im finally asking the top list
on the web.   can anybody clue me in?  i'm  using linux/gnome/mutt.
but it shouldnt make any difference. [?!]

tia, everybody,

gary





-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mutt and http//url???

2013-03-22 Thread Polytropon
On Fri, 22 Mar 2013 14:36:15 -0700, Gary Kline wrote:
   in the past couple years i've sub'd to the nytimes and other places
   where the http string is several dozens of bytes.  in my mutt 
   at least, there are + marks embedded at the beginning of each
   new lines.  so that when i mouse lick on the url, i almost 
   invariably get  either Nothing from my browswer, or the wrong 
   page.

That's to be expected. A URL covering several lines _can_ be
copied (selected) when the line wrap is uninterrupted. It
will even work for double- or triple-click (select word, select
line) with the normal edit buffer (left swipe to select, in
Firefox middle click or mousewheel press to go to URL). As the
'+' character will be part of the wrapped URL (which can span
several lines), the URL will be wrong, as you've seen.



   i've googled for days.  zero.  im finally asking the top list
   on the web.   can anybody clue me in?  i'm  using linux/gnome/mutt.
   but it shouldnt make any difference. [?!]

If I remember correctly, there's a way to disable the line break
emphasizer ('+' character) in the display. Have you tried

set markers=no

in your ~/.muttrc? Or was it

unset markers

Something with markers... I'm not fully sure if this is the
setting you're searching for, but go ahead and try it.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mutt and http//url???

2013-03-22 Thread Karl Vogel
 On Fri, 22 Mar 2013 14:36:15 -0700, 
 Gary Kline kl...@thought.org said:

G in the past couple years i've sub'd to the nytimes and other places
G where the http string is several dozens of bytes.  in my mutt at least,
G there are + marks embedded at the beginning of each new lines.  so
G that when i mouse lick on the url,

   Don't lick your mouse.  That's gross.

G i almost invariably get either Nothing from my browswer, or the wrong
G page.

   You might want to try urlview, bound to Ctrl-B in mutt by default.  It's a
   screen-oriented program for extracting URLs from text files, putting
   them in a menu, and letting you run a command to view a specific item.

   If you're on a FreeBSD system, it's in /usr/ports/textproc/urlview.

-- 
Karl Vogel  I don't speak for the USAF or my company

Oh, to be only half as wonderful as my child thought I was when he was small,
and only half as stupid as my teenager now thinks I am.--Rebecca Richards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mutt and http//url???

2013-03-22 Thread Gary Kline
On Sat, Mar 23, 2013 at 01:20:18AM +0100, Polytropon wrote:
 On Fri, 22 Mar 2013 14:36:15 -0700, Gary Kline wrote:
  in the past couple years i've sub'd to the nytimes and other places
  where the http string is several dozens of bytes.  in my mutt 
  at least, there are + marks embedded at the beginning of each
  new lines.  so that when i mouse lick on the url, i almost 
  invariably get  either Nothing from my browswer, or the wrong 
  page.
 
 That's to be expected. A URL covering several lines _can_ be
 copied (selected) when the line wrap is uninterrupted. It
 will even work for double- or triple-click (select word, select
 line) with the normal edit buffer (left swipe to select, in
 Firefox middle click or mousewheel press to go to URL). As the
 '+' character will be part of the wrapped URL (which can span
 several lines), the URL will be wrong, as you've seen.
 
 
 
  i've googled for days.  zero.  im finally asking the top list
  on the web.   can anybody clue me in?  i'm  using linux/gnome/mutt.
  but it shouldnt make any difference. [?!]
 
 If I remember correctly, there's a way to disable the line break
 emphasizer ('+' character) in the display. Have you tried
 
   set markers=no
 
 in your ~/.muttrc? Or was it
 
   unset markers
 
 Something with markers... I'm not fully sure if this is the
 setting you're searching for, but go ahead and try it.
 

theres a 'set markers' that defaults to yes. I edited it to no
and, presto, no mo' '+' in the url strings.  ---how you ever 
remembered  the variable 'markers' is beyound me, but yup.

anyway, with my konsole at std size, ~37x80, I moused dead-on 
the http string.  same as before: the string showed up from the
'http://.' to the eol.  and when I clicked, I got garbage.  

wait, there's more.  I blew up the konsole  until it filled the
entire  screen.  [i did this once before and got the right page.]
it still worked.  no '+' line break, but still.

it's a bear to have to enlage the xterm/konsole just to read
some mail, but it works with the two embedded urls that I've tried
so far.  why?  dunno.
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mutt and http//url???

2013-03-22 Thread Gary Kline
On Fri, Mar 22, 2013 at 08:39:07PM -0400, Karl Vogel wrote:
  On Fri, 22 Mar 2013 14:36:15 -0700, 
  Gary Kline kl...@thought.org said:
 
 G in the past couple years i've sub'd to the nytimes and other places
 G where the http string is several dozens of bytes.  in my mutt at least,
 G there are + marks embedded at the beginning of each new lines.  so
 G that when i mouse lick on the url,
 
Don't lick your mouse.  That's gross.



but it was so tasty! 'specially with chocolatte syrup.

 G i almost invariably get either Nothing from my browswer, or the wrong
 G page.
 
You might want to try urlview, bound to Ctrl-B in mutt by default.  It's a
screen-oriented program for extracting URLs from text files, putting
them in a menu, and letting you run a command to view a specific item.
 
If you're on a FreeBSD system, it's in /usr/ports/textproc/urlview.


this was one of the things I tried.  I followed the instructions
exactly--with urlview and ^B.  eventually I wound up with the
list but it was hard to decide which was the text!

maybe leave o ne konsole wide open on my 4th workspace


 -- 
 Karl Vogel  I don't speak for the USAF or my company
 
 Oh, to be only half as wonderful as my child thought I was when he was small,
 and only half as stupid as my teenager now thinks I am.--Rebecca Richards
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mutt and http//url???

2013-03-22 Thread Polytropon
On Fri, 22 Mar 2013 18:18:55 -0700, Gary Kline wrote:
   anyway, with my konsole at std size, ~37x80, I moused dead-on 
   the http string.  same as before: the string showed up from the
   'http://.' to the eol.  and when I clicked, I got garbage.  

The only way I tried (and confirmed) to deal with this
particular problem is to make the select URL process
a bit more complex (in terms of steps involed):

Use a triple-click to select the whole (multi-line) URL,
OR select it manually. Doing so with a held-down left
mouse button will transfer the selected text into the
edit buffer. In this specific case where the '+' characters
have been eliminated, the line breaks will also _not_
be part of the edit buffer content.

I've tried this by selecting a multi-line URL in a
normal X terminal (xterm) and pasting it to a GUI text
editor - result: one line, as intended. Now if I do a
middle-click in the web browser (Opera in my case), it
will navigate to that URL in the current tab (or open
a new tab for it if I click on an empty space on the
tab bar).

The same concept applies to Firefox, but you need to have
one instance of it started. Click the middle mouse button
(or if you don't have one, press down the mouse wheel).
Now Firefox will receive the full URL and go to that
web page.

However, this is, as you see, a bit more complicated.
You can still try it and verify if it will work in your
setting.



   wait, there's more.  I blew up the konsole  until it filled the
   entire  screen.  [i did this once before and got the right page.]
   it still worked.  no '+' line break, but still.

That's an interesting workaround, but also makes things
unneccessarily complicated. An intermediate solution could
be to maximize the whole terminal application and use
virtual desktops (workspaces) to switch between MUA and
web browser. Still that's suboptimum.






-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org