[comp.sys.mac] Some more A/UX hints

newton@cit-vax.Caltech.Edu (Mike Newton) (03/04/88)

A couple of random A/UX hints --

[1] If you use both MacOS and A/UX, and if you prefer Multifinder, you
may have noticed that it was impossible to start 'sash' using MF.  To
get around this, do a "About..."  on the finder and find out how much
memory is left after 'System' and 'Finder' have started, but nothing
else.  Subtract about 20k from this figure, open up the "Get Info" box
on 'sash' and place this number in the memory usage box.  Now you can
start sash under MF (as long as nothing else is running).

[2] If your A/UX was distibuted with an early (before, say 18.46 Gnu
emacs), it will be hard to apply the Gnu patch files to 'src/sysdep.c'.
Instead, just get a copy of the latest (18.50) sysdep from a vax or sun
and apply the below patches.  They are small enough to do by hand if
necessary.  This will allow you to apply further patches easier than 
having to use the non-standard one supplied w/ A/UX.

Hope these help,
- mike

*** sysdep.c	Fri Feb 26 04:02:55 1988
--- X50NMACsys.c	Fri Feb 26 03:08:59 1988
***************
*** 72,79
  #endif
  #ifdef USG
  #include <fcntl.h>
- #ifdef OREO
- #include <sys/file.h>
  #endif
  #endif
  #endif /* not 4.1 bsd */

--- 72,77 -----
  #endif
  #ifdef USG
  #include <fcntl.h>
  #endif
  #endif /* not 4.1 bsd */
  
***************
*** 75,81
  #ifdef OREO
  #include <sys/file.h>
  #endif
- #endif
  #endif /* not 4.1 bsd */
  
  #ifdef BSD

--- 73,78 -----
  #ifdef USG
  #include <fcntl.h>
  #endif
  #endif /* not 4.1 bsd */
  
  #ifdef BSD
***************
*** 1505,1511
  {
    if (noninteractive)
      return;
- #ifdef TIOCLGET
    lmode =  LINTRUP | lmode;
    ioctl (0, TIOCLSET, &lmode);
  #endif

--- 1502,1507 -----
  {
    if (noninteractive)
      return;
    lmode =  LINTRUP | lmode;
    ioctl (0, TIOCLSET, &lmode);
  }
***************
*** 1508,1514
  #ifdef TIOCLGET
    lmode =  LINTRUP | lmode;
    ioctl (0, TIOCLSET, &lmode);
- #endif
  }
  
  reset_sigio ()

--- 1504,1509 -----
      return;
    lmode =  LINTRUP | lmode;
    ioctl (0, TIOCLSET, &lmode);
  }
  
  reset_sigio ()
***************
*** 1515,1521
  {
    if (noninteractive)
      return;
- #ifdef TIOCLGET
    lmode = ~LINTRUP & lmode;
    ioctl (0, TIOCLSET, &lmode);
  #endif TIOCLGET

--- 1510,1515 -----
  {
    if (noninteractive)
      return;
    lmode = ~LINTRUP & lmode;
    ioctl (0, TIOCLSET, &lmode);
  }
***************
*** 1518,1524
  #ifdef TIOCLGET
    lmode = ~LINTRUP & lmode;
    ioctl (0, TIOCLSET, &lmode);
- #endif TIOCLGET
  }
  
  request_sigio ()

--- 1512,1517 -----
      return;
    lmode = ~LINTRUP & lmode;
    ioctl (0, TIOCLSET, &lmode);
  }
  
  request_sigio ()
***************
*** 1900,1906
  }
  
  /* VARARGS */
- 
  setpriority ()
  {
    return (0);

--- 1893,1898 -----
  }
  
  /* VARARGS */
  setpriority ()
  {
    return (0);
***************
*** 1918,1928
  }
  
  #endif /* not HAVE_VFORK */
- #ifdef OREO
- utimes ()
- {
- }
- #endif
  
  #ifdef IRIS
  

--- 1910,1915 -----
  }
  
  #endif /* not HAVE_VFORK */
  
  #ifdef IRIS
  
-- 
newton@csvax.caltech.edu	{ucbvax!cithep,amdahl}!cit-vax!newton
Caltech 256-80			818-356-6771 (afternoons,nights)
Pasadena CA 91125		Beach Bums Anonymous, Pasadena President

	"Reality is a lie that hasn't been found out yet..."

fnf@fishpond.UUCP (Fred Fish) (03/06/88)

In article <5639@cit-vax.Caltech.Edu> newton@cit-vax.UUCP (Mike Newton) writes:
>
>A couple of random A/UX hints --
>
>[2] If your A/UX was distibuted with an early (before, say 18.46 Gnu
>emacs), it will be hard to apply the Gnu patch files to 'src/sysdep.c'.

Thanks for posting the diffs, I've been wanting to upgrade my version
to the latest.  I have the 18.44 version and it tends to transpose 
characters from the input stream when the system is under relatively
heavy load (a couple of big compiles going in the background for 
example).  The interactive response is still quite good, it's just
that typing "hi, how are you" is likely to come out "hi, ohwa re yuo".

Also, don't try to format floppies while uucp is running. Guaranteed
to bring the uucico on your end to a screeching halt.  Sometimes the
format will finish before the other end times out, but then again,
sometimes not...

-Fred
-- 
# Fred Fish    hao!noao!mcdsun!fishpond!fnf     (602) 921-1113
# Ye Olde Fishpond, 1346 West 10th Place, Tempe, AZ 85281  USA