Re: FVWM: FVWM + Emacs + Netscape --- intercommunication problems

From: Ives Aerts <ives_at_sonytel.be>
Date: Tue, 20 May 1997 17:08:48 -0600

On May 15, 11:01, Andrew Jaffe wrote:
> Subject: FVWM: FVWM + Emacs + Netscape --- intercommunication problems
> Since then, I have been having a problem with communication between
> GNU Emacs 19.34 and Netscape 3.0.

It's not a direct solution for your problem, but I use a program called
xcb which should be available from all X archives. They way it works is
the following:

1) With the mouse, I highlight any URL on the screen (mail, text files,
...)
2) I press on a button in my Wharf (I'm using wharf with fvwm) that executes
   the following script:

    #!/bin/sh

    url=`xcb -S 0 && xcb -p 0`;
    remotescape $url;

   xcb prints the current selection on stdout, where it is captured by the
   script and fed into this second script:

    #!/bin/sh
    if [ $1 ]; then
    netscape -noraise -remote openURL\("$1",new-window\) >/dev/null 2>&1 \
            || exec netscape "$1" &
    else
            echo "Usage: $0 URL"
            exit 0
    fi

   This second script starts a new netscape window with the selected URL.

It works like a charm, and I prefer its orthogonality over other `integrated'
approaches (in true UNIX style, this works with *every* application).

Cheers,
-Ives
______________________________________________________________________
Ives Aerts (R&D Software engineer) Sony Objective Composer
Ives.Aerts_at_sonycom.com St.Stevens Woluwestr. 55
`Death could create most things, except for B-1130 Brussels, Belgium
 plumbing.' PHONE : +32 2 724 19 80
                  (Soul Music - T.Pratchett) FAX : +32 2 726 26 86
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Tue May 20 1997 - 10:07:36 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:00 BST