Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #243775 > unrolled thread

odd question re man pages

Started bygene heskett <gheskett@shentel.net>
First post2022-01-07 11:10 +0100
Last post2022-01-08 05:20 +0100
Articles 19 — 8 participants

Back to article view | Back to linux.debian.user


Contents

  odd question re man pages gene heskett <gheskett@shentel.net> - 2022-01-07 11:10 +0100
    Re: odd question re man pages David <bouncingcats@gmail.com> - 2022-01-07 11:30 +0100
      Re: odd question re man pages gene heskett <gheskett@shentel.net> - 2022-01-07 12:10 +0100
        Re: odd question re man pages David <bouncingcats@gmail.com> - 2022-01-07 12:20 +0100
          Re: odd question re man pages gene heskett <gheskett@shentel.net> - 2022-01-07 18:10 +0100
        Re: odd question re man pages Celejar <celejar@gmail.com> - 2022-01-07 14:10 +0100
          Re: odd question re man pages gene heskett <gheskett@shentel.net> - 2022-01-07 18:20 +0100
    Re: odd question re man pages "Andrew M.A. Cater" <amacater@einval.com> - 2022-01-07 12:50 +0100
      Re: odd question re man pages Greg Wooledge <greg@wooledge.org> - 2022-01-07 13:40 +0100
        Re: odd question re man pages Curt <curty@free.fr> - 2022-01-07 14:20 +0100
          Re: odd question re man pages Greg Wooledge <greg@wooledge.org> - 2022-01-07 14:20 +0100
            Re: odd question re man pages "Andrew M.A. Cater" <amacater@einval.com> - 2022-01-07 14:20 +0100
      Re: odd question re man pages gene heskett <gheskett@shentel.net> - 2022-01-07 18:20 +0100
    Re: odd question re man pages Nate Bargmann <n0nb@n0nb.us> - 2022-01-07 15:20 +0100
      Re: odd question re man pages Curt <curty@free.fr> - 2022-01-07 17:30 +0100
        Re: odd question re man pages Nate Bargmann <n0nb@n0nb.us> - 2022-01-07 19:20 +0100
          Re: odd question re man pages Curt <curty@free.fr> - 2022-01-07 19:50 +0100
    Re: odd question re man pages Ralph Katz <ralph@ralphkatz.com> - 2022-01-08 00:50 +0100
      Re: odd question re man pages gene heskett <gheskett@shentel.net> - 2022-01-08 05:20 +0100

#243775 — odd question re man pages

Fromgene heskett <gheskett@shentel.net>
Date2022-01-07 11:10 +0100
Subjectodd question re man pages
Message-ID<DCUm5-4oa-1@gated-at.bofh.it>
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 <http://geneslinuxbox.net:6309/gene>

[toc] | [next] | [standalone]


#243777

FromDavid <bouncingcats@gmail.com>
Date2022-01-07 11:30 +0100
Message-ID<DCUFr-4uj-3@gated-at.bofh.it>
In reply to#243775
On Fri, 7 Jan 2022 at 21:01, gene heskett <gheskett@shentel.net> 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.

[toc] | [prev] | [next] | [standalone]


#243779

Fromgene heskett <gheskett@shentel.net>
Date2022-01-07 12:10 +0100
Message-ID<DCVi9-4Xt-1@gated-at.bofh.it>
In reply to#243777
On Friday, January 7, 2022 5:21:03 AM EST David wrote:
> On Fri, 7 Jan 2022 at 21:01, gene heskett <gheskett@shentel.net> 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 <http://geneslinuxbox.net:6309/gene>

[toc] | [prev] | [next] | [standalone]


#243780

FromDavid <bouncingcats@gmail.com>
Date2022-01-07 12:20 +0100
Message-ID<DCVrP-50N-1@gated-at.bofh.it>
In reply to#243779
On Fri, 7 Jan 2022 at 21:59, gene heskett <gheskett@shentel.net> wrote:
> On Friday, January 7, 2022 5:21:03 AM EST David wrote:
> > On Fri, 7 Jan 2022 at 21:01, gene heskett <gheskett@shentel.net> 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.

[toc] | [prev] | [next] | [standalone]


#243791

Fromgene heskett <gheskett@shentel.net>
Date2022-01-07 18:10 +0100
Message-ID<DD0Ux-8mv-1@gated-at.bofh.it>
In reply to#243780
On Friday, January 7, 2022 6:16:21 AM EST David wrote:
> On Fri, 7 Jan 2022 at 21:59, gene heskett <gheskett@shentel.net> wrote:
> > On Friday, January 7, 2022 5:21:03 AM EST David wrote:
> > > On Fri, 7 Jan 2022 at 21:01, gene heskett <gheskett@shentel.net> 
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 <http://geneslinuxbox.net:6309/gene>

[toc] | [prev] | [next] | [standalone]


#243783

FromCelejar <celejar@gmail.com>
Date2022-01-07 14:10 +0100
Message-ID<DCXah-67i-11@gated-at.bofh.it>
In reply to#243779
On Fri, 07 Jan 2022 05:59:36 -0500
gene heskett <gheskett@shentel.net> 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

[toc] | [prev] | [next] | [standalone]


#243793

Fromgene heskett <gheskett@shentel.net>
Date2022-01-07 18:20 +0100
Message-ID<DD14e-8pH-9@gated-at.bofh.it>
In reply to#243783
On Friday, January 7, 2022 8:05:59 AM EST Celejar wrote:
> On Fri, 07 Jan 2022 05:59:36 -0500
> gene heskett <gheskett@shentel.net> 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 <http://geneslinuxbox.net:6309/gene>

[toc] | [prev] | [next] | [standalone]


#243781

From"Andrew M.A. Cater" <amacater@einval.com>
Date2022-01-07 12:50 +0100
Message-ID<DCVUR-5aL-1@gated-at.bofh.it>
In reply to#243775
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 <http://geneslinuxbox.net:6309/gene>
> 

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

> 
> 

[toc] | [prev] | [next] | [standalone]


#243782

FromGreg Wooledge <greg@wooledge.org>
Date2022-01-07 13:40 +0100
Message-ID<DCWHf-5HO-5@gated-at.bofh.it>
In reply to#243781
On Fri, Jan 07, 2022 at 11:41:45AM +0000, 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.

[toc] | [prev] | [next] | [standalone]


#243784

FromCurt <curty@free.fr>
Date2022-01-07 14:20 +0100
Message-ID<DCXjX-6aI-1@gated-at.bofh.it>
In reply to#243782
On 2022-01-07, Greg Wooledge <greg@wooledge.org> wrote:
> On Fri, Jan 07, 2022 at 11:41:45AM +0000, 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.

[toc] | [prev] | [next] | [standalone]


#243785

FromGreg Wooledge <greg@wooledge.org>
Date2022-01-07 14:20 +0100
Message-ID<DCXjY-6aI-9@gated-at.bofh.it>
In reply to#243784
On Fri, Jan 07, 2022 at 01:09:38PM -0000, 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.

[toc] | [prev] | [next] | [standalone]


#243786

From"Andrew M.A. Cater" <amacater@einval.com>
Date2022-01-07 14:20 +0100
Message-ID<DCXjY-6aI-11@gated-at.bofh.it>
In reply to#243785
On Fri, Jan 07, 2022 at 08:13:42AM -0500, Greg Wooledge wrote:
> On Fri, Jan 07, 2022 at 01:09:38PM -0000, 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 

[toc] | [prev] | [next] | [standalone]


#243795

Fromgene heskett <gheskett@shentel.net>
Date2022-01-07 18:20 +0100
Message-ID<DD14e-8pH-7@gated-at.bofh.it>
In reply to#243781
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 <http://geneslinuxbox.net:6309/gene>

[toc] | [prev] | [next] | [standalone]


#243788

FromNate Bargmann <n0nb@n0nb.us>
Date2022-01-07 15:20 +0100
Message-ID<DCYg2-6Jy-3@gated-at.bofh.it>
In reply to#243775

[Multipart message — attachments visible in raw view] — view raw

* 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

[toc] | [prev] | [next] | [standalone]


#243790

FromCurt <curty@free.fr>
Date2022-01-07 17:30 +0100
Message-ID<DD0hP-7Ua-1@gated-at.bofh.it>
In reply to#243788
On 2022-01-07, Nate Bargmann <n0nb@n0nb.us> 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. 

[toc] | [prev] | [next] | [standalone]


#243799

FromNate Bargmann <n0nb@n0nb.us>
Date2022-01-07 19:20 +0100
Message-ID<DD20h-wN-3@gated-at.bofh.it>
In reply to#243790

[Multipart message — attachments visible in raw view] — view raw

* On 2022 07 Jan 10:26 -0600, Curt wrote:
> On 2022-01-07, Nate Bargmann <n0nb@n0nb.us> 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

[toc] | [prev] | [next] | [standalone]


#243803

FromCurt <curty@free.fr>
Date2022-01-07 19:50 +0100
Message-ID<DD2tl-HQ-17@gated-at.bofh.it>
In reply to#243799
On 2022-01-07, Nate Bargmann <n0nb@n0nb.us> 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. 

[toc] | [prev] | [next] | [standalone]


#243813

FromRalph Katz <ralph@ralphkatz.com>
Date2022-01-08 00:50 +0100
Message-ID<DD79D-3uS-1@gated-at.bofh.it>
In reply to#243775
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

[toc] | [prev] | [next] | [standalone]


#243819

Fromgene heskett <gheskett@shentel.net>
Date2022-01-08 05:20 +0100
Message-ID<DDbmV-6is-1@gated-at.bofh.it>
In reply to#243813
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 <http://geneslinuxbox.net:6309/gene>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web