Article View: comp.sys.mac
Article #25961Some more A/UX hints (MF, emacs)
From: Mike Newton
Date: Fri, 04 Mar 1988 12:06
Date: Fri, 04 Mar 1988 12:06
170 lines
3780 bytes
3780 bytes
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..."
Technical Details
Message-ID:
<5639@cit-vax.Caltech.Edu>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bbn!oberon!cit-vax!newtonShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bbn!oberon!cit-vax!newton From: newton@cit-vax.Caltech.Edu (Mike Newton) Newsgroups: comp.sys.mac Subject: Some more A/UX hints (MF, emacs) Message-ID: <5639@cit-vax.Caltech.Edu> Date: 4 Mar 88 12:06:32 GMT Reply-To: newton@cit-vax.UUCP (Mike Newton) Organization: California Institute of Technology Lines: 170