Re: new user, please bear with me
Philip Wittamore via Lynx-dev <[email protected]> Mon, 6 Oct 2025 09:35:30 +0200
| Newsgroups | gmane.comp.web.lynx.devel |
|---|---|
| Message-ID | <cef3suqbbsq454qd7mbfsgxxym423yjjekjvhd5pq3sxkcxxco@h23p4xv6uqz2> |
Hi Bela, g $0 <enter> doesn't work, but thanks for the idea. I've resorted to writing a acript that creats a folder and gophermap for each phlog entry. As gophermaps contain clickable links it solves my problem. I still regret though that Lynx can't identify url's in text files and convert them to links. Lynx internally converts gophermap text files to html after all. Unfortunately my capabilities don't extend to getting Lynx to do that. -- Philip Wittamore https://wittamore.com gopher://spike.nagatha.fr * Bela Lubkin <[email protected]> [251006 00:07]: > Philip Wittamore wrote: >> It's not perfect, but it works. >> I added the following settings in .xressources: >> URxvt.perl-ext-common: default,matcher >> URxvt.url-launcher: st -e lynx $0 >> URxvt.keysym.C-Delete: matcher:select >> URxvt.matcher.pattern.1: (\w+\:\/\/\S+) >> Links are now underlined, and >> control-delete activates the select mode, enter launches the >> application to open the link. I don't know if it's possible >> to open a link in the same instance of lynx. > I haven't investigated those settings, but it appears that > 'URxvt.url-launcher' gives a command to be run. If there's a way to > tell it to instead emit characters into the existing terminal (as if > typed by the user on their keyboard), getting it to emit 'g $0 <enter>' > would do the job. 'g' for Lynx 'go to URL', then paste in the URL -- > voila, link followed in same instance of Lynx. > This is probably doable even if 'url-launcher' can only start new > programs. Have it run a program which injects the desired string > 'g$0<enter>' into the parent terminal's input queue. Which would be > tricky, but probably doable. >> Bela<