Re: Acceso a URL desde Xterm
El dom, 09 de mar de 2003, a las 07:52:00 +0000, Aurelio Díaz-Ufano dijo:
> Bueno, sigo peleándome con Xterm... Mi duda ahora se plantea al ejecutar
> mutt: ¿hay alguna manera de acceder directamente desde Xterm a alguna
> URL que, por ejemplo, haya en algún mensaje?
> Gracias de nuevo
apt-get install urlview
Luego creas un .urlview en tu home segun tus preferencias copialo de
/etc/urlview mira el mio como ejemplo:
###############################################################################
# Urlview configuration file.
# man urlview <Man page>
#
# Put this file in: $HOME/.urlview
# Put url_handler.sh in: /usr/bin
#
# You can call 'urlview' while in 'mutt' by pressing the Ctrl b keys.
# Put these macros in your $HOME/.muttrc file.
#
# You can call 'urlview' while in 'tin' by pressing | then a for article,
# put urlview as the pipe command.
#
# Regular expression to use to match URLs.
#REGEXP (((http|https|ftp|gopher)|mailto):(//)?[^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">\):]
REGEXP (((http|https|ftp|gopher)|mailto)[.:][^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">\):]
# Command to invoke for selected URL. Use lynx, netscape, or url_handler.sh
# shell script. Alternatively, you can leave COMMAND unset and set the BROWSER
# environment variable instead.
#COMMAND mozilla %s
COMMAND mozilla -remote "openURL(%s)"
Saludos.
--
Juan Ortiz
Powered by Debian GNU/Linux Woody
Reply to: