diff --recursive -u joe/Makefile joe-beos/Makefile
--- joe/Makefile	Sun Jan 22 22:01:28 1995
+++ joe-beos/Makefile	Mon Jan  4 02:01:57 1999
@@ -9,15 +9,15 @@
 # to go and where you want the man page
 # to go:
 
-WHEREJOE = /usr/local/bin
-WHERERC = /usr/local/lib
-WHEREMAN = /usr/man/man1
+WHEREJOE = /boot/home/config/bin
+WHERERC = /boot/home/config/lib
+WHEREMAN = /boot/home/config/man/man1
 
 # If you want to use TERMINFO, you have to set
 # the following variable to 1.  Also you have to
 # include some additional libraries- see below.
 
-TERMINFO = 0
+TERMINFO = 1
 
 # You may also have to add some additional
 # defines to get the include files to work
@@ -45,7 +45,7 @@
 # add '-ltinfo', '-lcurses' or '-ltermlib',
 # depending on the system.
 
-EXTRALIBS =
+EXTRALIBS = -L/boot/apps/GeekGadgets/lib -lncurses
 
 # Object files
 
@@ -62,10 +62,10 @@
 joe: $(OBJS)
 	rm -f jmacs jstar rjoe jpico
 	$(CC) $(CFLAGS) -o joe $(OBJS) $(EXTRALIBS)
-	ln joe jmacs
-	ln joe jstar
-	ln joe rjoe
-	ln joe jpico
+	ln -s joe jmacs
+	ln -s joe jstar
+	ln -s joe rjoe
+	ln -s joe jpico
 
 # All object files depend on config.h
 
@@ -90,10 +90,10 @@
 	if [ ! -d $(WHEREJOE) ]; then mkdir $(WHEREJOE); chmod a+rx $(WHEREJOE); fi
 	rm -f $(WHEREJOE)/joe $(WHEREJOE)/jmacs $(WHEREJOE)/jstar $(WHEREJOE)/jpico $(WHEREJOE)/rjoe $(WHEREJOE)/termidx
 	mv joe $(WHEREJOE)
-	ln $(WHEREJOE)/joe $(WHEREJOE)/jmacs
-	ln $(WHEREJOE)/joe $(WHEREJOE)/jstar
-	ln $(WHEREJOE)/joe $(WHEREJOE)/rjoe
-	ln $(WHEREJOE)/joe $(WHEREJOE)/jpico
+	ln -s $(WHEREJOE)/joe $(WHEREJOE)/jmacs
+	ln -s $(WHEREJOE)/joe $(WHEREJOE)/jstar
+	ln -s $(WHEREJOE)/joe $(WHEREJOE)/rjoe
+	ln -s $(WHEREJOE)/joe $(WHEREJOE)/jpico
 	mv termidx $(WHEREJOE)
 	if [ ! -d $(WHERERC) ]; then mkdir $(WHERERC); chmod a+rx $(WHERERC); fi
 	rm -f $(WHERERC)/joerc $(WHERERC)/jmacsrc $(WHERERC)/jstarrc $(WHERERC)/jpicorc $(WHERERC)/rjoerc $(WHEREMAN)/joe.1
Only in joe-beos: Makefile~
diff --recursive -u joe/dir.c joe-beos/dir.c
--- joe/dir.c	Wed Oct  5 23:20:35 1994
+++ joe-beos/dir.c	Mon Jan  4 01:28:43 1999
@@ -43,17 +43,3 @@
  fclose(f);
  }
 
-int mkdir(s)
-char *s;
- {
- char *y=0;
- int rtval;
- y=vsncpy(sv(y),sc("/bin/mkdir "));
- y=vsncpy(sv(y),sz(s));
- y=vsncpy(sv(y),sc(" 2>/dev/null"));
- tickoff();
- rtval=system(y);
- tickon();
- vsrm(y);
- return rtval;
- }
diff --recursive -u joe/tty.c joe-beos/tty.c
--- joe/tty.c	Sun Jan 22 21:17:20 1995
+++ joe-beos/tty.c	Mon Jan  4 02:00:16 1999
@@ -46,6 +46,13 @@
 #endif
 
 #else
+
+#ifdef __BEOS__
+#define TTYSV
+#define SYSSV
+#undef SV_INTERRUPT
+#endif
+
 #ifdef TTYSV
 
 #ifdef SYSSV
@@ -947,7 +954,7 @@
    ioctl(x,TIOCNOTTY,0);
 #endif
   
-   setpgrp(0,0);
+   /* setpgrp(); */
   
    for(x=0;x!=32;++x) close(x); /* Yes, this is quite a kludge... all in the
                                    name of portability */

