[comp.unix.xenix.sco] Need 286 version of pathalias

rick@lrark.UUCP (Rick Mobley) (11/09/90)

I have seen in the past a 'pathalias' that worked on a 286. I have tried to
compile the current pathalias, but it does not run. I can compile it on a
386 and all is well. 

Can some nice person send me the necessary patch or a working binary? I am
currently sending the maps (compressed) to a 386-site and crunching the data
over there then sending it back to me. I run Smail and need a up-to-date
paths file on my system.

Thanks for all that might help. (I promise to archive it for futures).


-- 
rick@lrark.UUCP       *    bang path --> uunet!ddi1!lrark!rick    *
Ricky Mobley          *          LRTUG (501) 224-9454             *
1800 Sanford Dr. #4   *    GEnie Unix RT SysOp address LRARK      *
Little Rock, AR 72207 *     WB5FDP.AR.USA.NA wb5fdp.ampr.org      *

rick@lrark.UUCP (Rick Mobley) (11/11/90)

In article <568@lrark.UUCP> rick@lrark.UUCP (Rick Mobley) writes:
 >I have seen in the past a 'pathalias' that worked on a 286. I have tried to
 >compile the current pathalias, but it does not run. I can compile it on a
 >386 and all is well. 
 
A fellow *nixen found it in New York and retrieved it for me. It was written
by Chip Salzenberg Feb 88. It still works and solved my problem. I have
placed the patch on GEnie in the 'unix' section to make it easy to get.

Thanks for all that gave it an effort.

-- 
rick@lrark.UUCP       *    bang path --> uunet!ddi1!lrark!rick    *
Ricky Mobley          *          LRTUG (501) 224-9454             *
1800 Sanford Dr. #4   *    GEnie Unix RT SysOp address LRARK      *
Little Rock, AR 72207 *     WB5FDP.AR.USA.NA wb5fdp.ampr.org      *

ljg@ecosoft.com (Lowell J. Gray) (11/12/90)

In article <568@lrark.UUCP> rick@lrark.UUCP (Rick Mobley) writes:
>I have seen in the past a 'pathalias' that worked on a 286. I have tried to
>compile the current pathalias, but it does not run. I can compile it on a
>386 and all is well. 
>

If you have the pathalias that comes with smail, it runs fine on a 286. You
need to add "-M2" to your CFLAGS and LDFLAGS when you compile it (the source has
an #ifdef for M_I286, which is only defined when you set that flag). You should
also increase your stack size (ie., "-F 4000" in LDFLAGS).

If it still dies, you don't have enough physical memory to digest all of the
USENET map (XENIX 286 doesn't have virtual memory). You'll probably need 4 Mb.

- Lowell
-- 
Lowell J. Gray                EcoSoft, Inc.              tel: 508 651 8722
ljg@ecosoft.com               13 Priscilla Path
uunet!ecosoft!ljg             Wayland, MA  01778  USA