[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can Navigator spawn other mail proggy?



On Tue, Oct 26, 1999 at 11:09:23PM -0700, Eric G . Miller wrote:
> On Tue, Oct 26, 1999 at 11:51:12PM -0500, Eric Gillespie, Jr. wrote:
> > On Tue, Oct 26, 1999 at 09:01:56PM -0700,
> > Eric G . Miller <egm2@jps.net> wrote:
> > >  Was wonder if anyone knows if Navigator can be configured to spawn
> > >  another program when following a mailto: hyperlink? I suspect no. But I
> > 
> > Yes, it can. See http://www3.bc.sympatico.ca/brian_winters/mutt/ for an
> > example. While this launches mutt, I'm sure it can easily be modified to
> > launch another mailer.
> 
>  Thanks. I tried it but no dice. netscape dies with a bus error.

Debian Netscape packages use libc5 version (at least 4.61&4.7 for potato).
I did some dirty hacks and attached first my ugly attempt to run it.

Mirek
diff -ruN navmutt-0.19/Makefile navmutt-0.19.deb/Makefile
--- navmutt-0.19/Makefile	Sat Jul 31 04:18:24 1999
+++ navmutt-0.19.deb/Makefile	Wed Oct 27 09:04:51 1999
@@ -1,5 +1,6 @@
-CFLAGS = -O -Wall
-LDFLAGS = -G -lc
+CFLAGS = -O -Wall -I/usr/i486-linuxlibc1/include
+#LDFLAGS = -G -lc
+LDFLAGS = -G -L/usr/i486-linuxlibc1/lib -lc
 
 OBJS = navmutt.o
 TARGET = navmutt.so
diff -ruN navmutt-0.19/navmutt.c navmutt-0.19.deb/navmutt.c
--- navmutt-0.19/navmutt.c	Sat Jul 31 04:18:24 1999
+++ navmutt-0.19.deb/navmutt.c	Wed Oct 27 09:22:04 1999
@@ -28,18 +28,18 @@
 #include <fcntl.h>
 
 
-/*#define DEBUG*/           /* compiles in a bunch of fprintf(stderr)'s */
+#define DEBUG           /* compiles in a bunch of fprintf(stderr)'s */
 #define SUPPORT_BODY        /* some mailers may not handle -i, but mutt does */
 
-#define TEMPDIR "/home/brianw/.tmp"
+#define TEMPDIR "/tmp"
 
 /* uncomment this line if you need us to explicitly spawn an xterm */
-#define XTERM "rxvt"
+#define XTERM "/usr/bin/X11/xterm"
 
-#define MAILPROG "mutt"     /* mail reader to invoke */
-#define MAILNAME "mutt"     /* what to call mailreader (-T) */
+#define MAILPROG "/usr/bin/mutt"     /* mail reader to invoke */
+#define MAILNAME "/usr/bin/mutt"     /* what to call mailreader (-T) */
 /*#define NEWSPROG "trn"*/  /* news reader to invoke */
-/*#define NEWSNAME "trn"*/  /* what to call newsreader (-T) */
+#define NEWSNAME "/usr/bin/rtin"  /* what to call newsreader (-T) */
 
 
 #ifdef XTERM

Reply to: