Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

urlscan(1) [debian man page]

URLSCAN(1)						      General Commands Manual							URLSCAN(1)

NAME
urlscan - browse the URLs in an email message from a terminal SYNOPSIS
urlscan [options] < message urlscan [options] message DESCRIPTION
urlscan accepts a single email message on standard input, then displays a terminal-based list of the URLs in the given message. Selecting a URL will invoke sensible-browser(1) on it (and hence any browser specified in the BROWSER environment variable). urlscan is primarily intended to be used with the mutt (1) mailreader, but it should work well with any terminal-based mail program. urlscan is similar to urlview(1), but has the following additional features: 1. Support for more message encodings, such as quoted-printable and base64. 2. Extraction and display of the context surrounding each URL. OPTIONS
-b, --background Run the Web browser in the background, so you can select another URL without closing it (this will not work with terminal-based Web browsers such as lynx, links, or w3m). -c, --compact Display a simple list of the extracted URLs, instead of showing the context of each URL. MUTT INTEGRATION
To integrate urlscan with mutt, include the following two commands in ~/.muttrc: macro index,pager cb "<pipe-message> urlscan<Enter>" "call urlscan to extract URLs out of a message" macro attach,compose cb "<pipe-entry> urlscan<Enter>" "call urlscan to extract URLs out of a message" Once these lines are in your mutt configuration file, pressing Control-b will allow you to browse and open the URLs in the currently selected message. SEE ALSO
/usr/share/doc/urlscan/README, sensible-browser(1), urlview(1), mutt(1) AUTHOR
This manual page was written by Daniel Burrows <dburrows@debian.org>. December 10, 2006 URLSCAN(1)

Check Out this Related Man Page

urlview(1)						      General Commands Manual							urlview(1)

NAME
urlview - URL extractor/launcher SYNOPSIS
urlview filename [ filename ... ] DESCRIPTION
urlview is a screen oriented program for extracting URLs from text files and displaying a menu from which you may launch a command to view a specific item. CONFIGURATION
urlview attempts to read ~/.urlview upon startup. If this file doesn't exist, it will try to read a system wide file in /etc/urlview.conf. There are two configuration commands (order does not matter): REGEXP regexp urlview uses a regular expression to extract URLs from the specified text files. , , and f are all converted to their nor- mal printf(3) meanings. The default REGEXP is: (((https?|ftp|gopher)://|(mailto|file|news):)[^' <>"]+|(www|web|w3).[-a-z0-9.]+)[^' .,;<>":] COMMAND command If the specified command contains a %s, it will be subsituted with the URL that was requested, otherwise the URL is appended to the COMMAND string. The default COMMAND is: url_handler.sh %s Note: You should never put single quotes around the %s. urlview does this for you, and also makes sure that single quotes eventually show- ing up inside the URL are handled properly. (Note that this shouldn't happen with the default regular expression, which explicitly excludes single quotes.) FILES
/etc/urlview.conf system-wide urlview configuration file ~/.urlview urlview configuration file SEE ALSO
printf(3), regcomp(3), regex(7) AUTHOR
Michael Elkins <me@cs.hmc.edu>. Modified for Debian by Luis Francisco Gonzalez <luisgh@debian.org>. Modified for SuSE by Dr. Werner Fink <werner@suse.de> and Stepan Kasal <kasal@suse.cz>. Changes put together by Thomas Roessler <roessler@does-not-exist.org>. urlview(1)
Man Page