Re: odd question re man pages

2022-01-07 Thread gene heskett
On Friday, January 7, 2022 6:38:14 PM EST Ralph Katz wrote:
> On 1/7/22 03:01, gene heskett wrote:
> ...
> 
> > I've noted that there can be links to a web page in a man page that are
> > underscored if you click on them while reading the man page, but
> > clicking
> > the link does not do anything.  Is it supposed to send the default
> > browser to that page? If so, where should I check for the broken
> > linkage?
> Hi Gene,
> In xfce-terminal, right click, preferences, advanced tab, use
> middle-click to open URLs.  Or Ctrl-left click if not enabled for
> middle-click.
> 
> Regards,
> Ralph
> 
> .
You da man, it works.  Thank you!


Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 





Re: odd question re man pages

2022-01-07 Thread Ralph Katz

On 1/7/22 03:01, gene heskett wrote:
...

I've noted that there can be links to a web page in a man page that are
underscored if you click on them while reading the man page, but clicking
the link does not do anything.  Is it supposed to send the default browser
to that page? If so, where should I check for the broken linkage?


Hi Gene,
In xfce-terminal, right click, preferences, advanced tab, use 
middle-click to open URLs.  Or Ctrl-left click if not enabled for 
middle-click.


Regards,
Ralph



Re: odd question re man pages

2022-01-07 Thread Curt
On 2022-01-07, Nate Bargmann  wrote:
>
> I use the Shift + Right-click trick to get the menu in applications that
> seem to block Gnome Terminal's handling of the URL.  I've found the
> trick useful with Mutt and Midnight Commander.
>

I see. I only experimented in a man page. 



Re: odd question re man pages

2022-01-07 Thread Nate Bargmann
* On 2022 07 Jan 10:26 -0600, Curt wrote:
> On 2022-01-07, Nate Bargmann  wrote:
> >
> > Did you try Shift + Right-click and select "Open Link" or some such in
> > your terminal?  That is what works for me in Gnome Terminal.
> >
> 
> This is what works for me in gnome-terminal:
> 
>  URL detection[edit]
>  GNOME Terminal parses the output and automatically detects snippets of
>  text that appear to be URLs or email addresses.[2] When a user points
>  to a URL, the text is automatically underlined, indicating that the
>  user may click. Upon clicking, the appropriate application will open to
>  access that resource.
> 
> 
> https://en.wikipedia.org/wiki/GNOME_Terminal
> 
> Of course, the phrase "the appropriate application will open" is kind of a 
> mixture
> of wishful thinking and convenient simplification, though it should
> normally be your default browser. 

I use the Shift + Right-click trick to get the menu in applications that
seem to block Gnome Terminal's handling of the URL.  I've found the
trick useful with Mutt and Midnight Commander.

- Nate

-- 
"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."
Web: https://www.n0nb.us
Projects: https://github.com/N0NB
GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819



signature.asc
Description: PGP signature


Re: odd question re man pages

2022-01-07 Thread gene heskett
On Friday, January 7, 2022 6:41:45 AM EST Andrew M.A. Cater wrote:
> cat /etc/debian_version
11.2

And now I see how it works since it does that way, thank you.

Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 





Re: odd question re man pages

2022-01-07 Thread gene heskett
On Friday, January 7, 2022 8:05:59 AM EST Celejar wrote:
> On Fri, 07 Jan 2022 05:59:36 -0500
> gene heskett  wrote:
> 
> ...
> 
> > That is installed, but I can't find a configurator for it.  And I am a
> > heavy user of mc but the file menu popup steals the F10 key, also a
> > pita. But there is not an F10 checked in the settings for xfce or
> > konsole that I can find.
> 
> If you're using xfce4-terminal, look at xfce4-terminal's Edit /
> Preferences / Advanced / Shortcuts / Disable menu shortcut key (F10 by
> default)
> 
> Celejar
> 
> .
You da man Celejar. Thanks.

Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 





Re: odd question re man pages

2022-01-07 Thread gene heskett
On Friday, January 7, 2022 6:16:21 AM EST David wrote:
> On Fri, 7 Jan 2022 at 21:59, gene heskett  wrote:
> > On Friday, January 7, 2022 5:21:03 AM EST David wrote:
> > > On Fri, 7 Jan 2022 at 21:01, gene heskett  
wrote:
> > > > debian 11.1, 64 bit net-install updated yesterday.
> > > > 
> > > > I've noted that there can be links to a web page in a man page that
> > > > are
> > > > underscored if you click on them while reading the man page, but
> > > > clicking
> > > > the link does not do anything.  Is it supposed to send the default
> > > > browser to that page? If so, where should I check for the broken
> > > > linkage?
> > > 
> > > Hi. Well, you need to install whatever the terminal program calls to
> > > implement this functionality (plus a default browser obviously).
> > > Possibly 'xdg-open' utility in the 'xdg-utils' package. Works here.
> > > It might need configuration, I can't remember. Try it and see.
> > 
> > That is installed, but I can't find a configurator for it.  And I am a
> > heavy user of mc but the file menu popup steals the F10 key, also a
> > pita. But there is not an F10 checked in the settings for xfce or
> > konsole that I can find.
> 
> Did you test it? For example:
>   $ xdg-open http://google.com
> 
> If that works, then look for a way to configure your terminal emulator
> to use it. What terminal emulator are you using? konsole?
> 
> Search for example:
>   "konsole xdg-open how" finds lots of info.
> 
> I can't help with konsole, I don't use it.

Thanks, I'll do the search when I get warmed back up. My furnace failed late 
yesterday afternoon, 7+" of snow and 17F out ths morning. Mite chilly around 
the edges for a guy with diabetic feet.

Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 





Re: odd question re man pages

2022-01-07 Thread Curt
On 2022-01-07, Nate Bargmann  wrote:
>
> Did you try Shift + Right-click and select "Open Link" or some such in
> your terminal?  That is what works for me in Gnome Terminal.
>

This is what works for me in gnome-terminal:

 URL detection[edit]
 GNOME Terminal parses the output and automatically detects snippets of
 text that appear to be URLs or email addresses.[2] When a user points
 to a URL, the text is automatically underlined, indicating that the
 user may click. Upon clicking, the appropriate application will open to
 access that resource.


https://en.wikipedia.org/wiki/GNOME_Terminal

Of course, the phrase "the appropriate application will open" is kind of a 
mixture
of wishful thinking and convenient simplification, though it should
normally be your default browser. 



Re: odd question re man pages

2022-01-07 Thread Nate Bargmann
* On 2022 07 Jan 04:01 -0600, gene heskett wrote:
> Greetings all;
> 
> debian 11.1, 64 bit net-install updated yesterday.
>  
> I've noted that there can be links to a web page in a man page that are 
> underscored if you click on them while reading the man page, but clicking 
> the link does not do anything.  Is it supposed to send the default browser 
> to that page? If so, where should I check for the broken linkage?

Did you try Shift + Right-click and select "Open Link" or some such in
your terminal?  That is what works for me in Gnome Terminal.

- Nate

-- 
"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."
Web: https://www.n0nb.us
Projects: https://github.com/N0NB
GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819



signature.asc
Description: PGP signature


Re: odd question re man pages

2022-01-07 Thread Andrew M.A. Cater
On Fri, Jan 07, 2022 at 08:13:42AM -0500, Greg Wooledge wrote:
> On Fri, Jan 07, 2022 at 01:09:38PM -, Curt wrote:
> > I'd rather just cut and paste the URI in the always-open browser, but
> > then again I've never had that old hacker spirit.
> 
> That's what I do too.  I like my terminals to be relatively frill-free.
> Obviously that's just my preference, and I know some other people are
> the exact opposite.  That's why there are so many different terminal
> emulators.
>

urlview is also useful: I'm fairly sure that's what gives me links in mutt
that will then open in elinks.

Yes, it's terminal dependent. 

All the very best, as ever,

Andy Cater 



Re: odd question re man pages

2022-01-07 Thread Greg Wooledge
On Fri, Jan 07, 2022 at 01:09:38PM -, Curt wrote:
> I'd rather just cut and paste the URI in the always-open browser, but
> then again I've never had that old hacker spirit.

That's what I do too.  I like my terminals to be relatively frill-free.
Obviously that's just my preference, and I know some other people are
the exact opposite.  That's why there are so many different terminal
emulators.



Re: odd question re man pages

2022-01-07 Thread Curt
On 2022-01-07, Greg Wooledge  wrote:
> On Fri, Jan 07, 2022 at 11:41:45AM +, Andrew M.A. Cater wrote:
>> On Fri, Jan 07, 2022 at 05:01:05AM -0500, gene heskett wrote:
>> > I've noted that there can be links to a web page in a man page that are 
>
>> In a terminal: left click might not do anything but right click will bring
>> up a menu for me which allows me to open the link.
>> 
>> So: man apt, for example, has a URL for bugs at the bottom: if I right click
>> that underlined link, I get the option to open it / copy it or whatever.
>
> The behavior is highly specific to the terminal emulator in question.
> We can't guess how Gene's terminal is behaving (or has the capability
> of behaving) without knowing which one it is.
>



It would seem in gnome-terminal (sorry) hyperlinks are
clickable.

For xterm, I guess there are several hoops to jump through:

https://pbrisbin.com/posts/selecting-urls-via-keyboard-in-xterm/

I'd rather just cut and paste the URI in the always-open browser, but
then again I've never had that old hacker spirit.



Re: odd question re man pages

2022-01-07 Thread Celejar
On Fri, 07 Jan 2022 05:59:36 -0500
gene heskett  wrote:

...

> That is installed, but I can't find a configurator for it.  And I am a heavy 
> user of mc but the file menu popup steals the F10 key, also a pita. But 
> there is not an F10 checked in the settings for xfce or konsole that I can 
> find.

If you're using xfce4-terminal, look at xfce4-terminal's Edit /
Preferences / Advanced / Shortcuts / Disable menu shortcut key (F10 by
default)

Celejar



Re: odd question re man pages

2022-01-07 Thread Greg Wooledge
On Fri, Jan 07, 2022 at 11:41:45AM +, Andrew M.A. Cater wrote:
> On Fri, Jan 07, 2022 at 05:01:05AM -0500, gene heskett wrote:
> > I've noted that there can be links to a web page in a man page that are 

> In a terminal: left click might not do anything but right click will bring
> up a menu for me which allows me to open the link.
> 
> So: man apt, for example, has a URL for bugs at the bottom: if I right click
> that underlined link, I get the option to open it / copy it or whatever.

The behavior is highly specific to the terminal emulator in question.
We can't guess how Gene's terminal is behaving (or has the capability
of behaving) without knowing which one it is.

I'm using rxvt-unicode, and (at least the way I've got it configured), it
does absolutely nothing with URLs.  They're just strings.  Left-clicking
or right-clicking does the same thing on them that it would do on any
other string, such as an English word, or a Unix pathname, or a mathematical
expression.

That said, if I search for "url" in the rxvt-unicode(1) man page, I get
this section:

   url-launcher: string
   Specifies the program to be started with a URL argument. Used by
   the "selection-popup" and "matcher" perl extensions.

That raises more questions than it gives answers, but at least it tells
me that in some hypothetical configuration of this program, there's a
way that URLs could be identified and acted upon specially.

Gene's terminal may or may not have something similar.



Re: odd question re man pages

2022-01-07 Thread Andrew M.A. Cater
On Fri, Jan 07, 2022 at 05:01:05AM -0500, gene heskett wrote:
> Greetings all;
> 
> debian 11.1, 64 bit net-install updated yesterday.
>  
> I've noted that there can be links to a web page in a man page that are 
> underscored if you click on them while reading the man page, but clicking 
> the link does not do anything.  Is it supposed to send the default browser 
> to that page? If so, where should I check for the broken linkage?
> 
> Cheers, Gene Heskett.
> -- 
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author, 1940)
> If we desire respect for the law, we must first make the law respectable.
>  - Louis D. Brandeis
> Genes Web page 
> 

Hi Gene,

First things first - check /etc/debian-version - if you're up to date, that
should be 11.2.

In a terminal: left click might not do anything but right click will bring
up a menu for me which allows me to open the link.

So: man apt, for example, has a URL for bugs at the bottom: if I right click
that underlined link, I get the option to open it / copy it or whatever.

Hope this helps: all the very best, as ever,

Andrew Cater

> 
> 



Re: odd question re man pages

2022-01-07 Thread David
On Fri, 7 Jan 2022 at 21:59, gene heskett  wrote:
> On Friday, January 7, 2022 5:21:03 AM EST David wrote:
> > On Fri, 7 Jan 2022 at 21:01, gene heskett  wrote:

> > > debian 11.1, 64 bit net-install updated yesterday.

> > > I've noted that there can be links to a web page in a man page that are
> > > underscored if you click on them while reading the man page, but
> > > clicking
> > > the link does not do anything.  Is it supposed to send the default
> > > browser to that page? If so, where should I check for the broken
> > > linkage?

> > Hi. Well, you need to install whatever the terminal program calls to
> > implement this functionality (plus a default browser obviously).
> > Possibly 'xdg-open' utility in the 'xdg-utils' package. Works here.
> > It might need configuration, I can't remember. Try it and see.

> That is installed, but I can't find a configurator for it.  And I am a heavy
> user of mc but the file menu popup steals the F10 key, also a pita. But
> there is not an F10 checked in the settings for xfce or konsole that I can
> find.

Did you test it? For example:
  $ xdg-open http://google.com

If that works, then look for a way to configure your terminal emulator
to use it. What terminal emulator are you using? konsole?

Search for example:
  "konsole xdg-open how" finds lots of info.

I can't help with konsole, I don't use it.



Re: odd question re man pages

2022-01-07 Thread gene heskett
On Friday, January 7, 2022 5:21:03 AM EST David wrote:
> On Fri, 7 Jan 2022 at 21:01, gene heskett  wrote:
> > debian 11.1, 64 bit net-install updated yesterday.
> > 
> > I've noted that there can be links to a web page in a man page that are
> > underscored if you click on them while reading the man page, but
> > clicking
> > the link does not do anything.  Is it supposed to send the default
> > browser to that page? If so, where should I check for the broken
> > linkage?
> Hi. Well, you need to install whatever the terminal program calls to
> implement this functionality (plus a default browser obviously).
> Possibly 'xdg-open' utility in the 'xdg-utils' package. Works here.
> It might need configuration, I can't remember. Try it and see.
> 
> .
That is installed, but I can't find a configurator for it.  And I am a heavy 
user of mc but the file menu popup steals the F10 key, also a pita. But 
there is not an F10 checked in the settings for xfce or konsole that I can 
find.

Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 





Re: odd question re man pages

2022-01-07 Thread David
On Fri, 7 Jan 2022 at 21:01, gene heskett  wrote:

> debian 11.1, 64 bit net-install updated yesterday.
>
> I've noted that there can be links to a web page in a man page that are
> underscored if you click on them while reading the man page, but clicking
> the link does not do anything.  Is it supposed to send the default browser
> to that page? If so, where should I check for the broken linkage?

Hi. Well, you need to install whatever the terminal program calls to
implement this functionality (plus a default browser obviously).
Possibly 'xdg-open' utility in the 'xdg-utils' package. Works here.
It might need configuration, I can't remember. Try it and see.



odd question re man pages

2022-01-07 Thread gene heskett
Greetings all;

debian 11.1, 64 bit net-install updated yesterday.
 
I've noted that there can be links to a web page in a man page that are 
underscored if you click on them while reading the man page, but clicking 
the link does not do anything.  Is it supposed to send the default browser 
to that page? If so, where should I check for the broken linkage?

Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page