lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] copy URL to clipboard shortcut


From: Ian Collier
Subject: Re: [Lynx-dev] copy URL to clipboard shortcut
Date: Mon, 20 Apr 2020 19:13:11 +0100

On Mon, Apr 20, 2020 at 08:46:42PM +0530, address@hidden wrote:
> hi halaasz
> > Well, one can assign a key to "TO_CLIPBOARD". I assign "S" to it.
> > See the key-map, at first assigned to "k".

> i guess "TO_CLIPBOARD" is doing something with selected text?

No it is not; it is doing exactly what you asked for.

Specifically, when you press the TO_CLIPBOARD key, it first asks
you whether you want to save the URL of the current document or of
the current link.  It then runs the command $RL_CLCOPY_CMD with the
approrpiate URL on standard input.  This command is supposed to copy
the text to your clipboard, although it could do anything you want.

RL_CLCOPY_CMD is an environment variable that you can set before
executing Lynx.  If you are using an X11 system and have 'xclip'
installed on your system then

export RL_CLCOPY_CMD='xclip -i'

would be an appropriate setting to let Lynx copy URLs to the clipboard.

imc



reply via email to

[Prev in Thread] Current Thread [Next in Thread]