In pine, I've set the url-viewers option as follows

url-viewers      =  /usr/local/bin/browser


This uses a very simple shell script I wrote (and made executable):


#!/bin/zsh -f

if [[ -n $SSH_CLIENT ]];then
  /sw/bin/firefox "$@" &
else
  open "$@"
fi



so if I am using pine locally, it displays the url in my default browser. If I am logged in remotely via ssh -Y, it uses the X- windows version of firefox I installed with fink


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to