From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,96f8be35108f3e2f X-Google-Attributes: gidfee84,public From: "Timothy J. Mickol" Subject: Re: DOS utility on OSF (DUX) Date: 1996/02/05 Message-ID: <4f5su0$88@news.halcyon.com>#1/1 X-Deja-AN: 138225840 references: <1996Jan31.163500.447@bbs.ug.eds.com> <1996Feb2.131637.471@bbs.ug.eds.com> to: bao@edsug.com content-type: text/plain; charset=us-ascii organization: teleIdeation mime-version: 1.0 newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 1.22 (Windows; I; 16bit) Angela Bao wrote: >Sorry, if this has already been asked, I didn't find a FAQ. > >Is there any DOS utility for Alpha running Digital Unix 3.x? > >If so, where? >If public domain, which site? >What is the best? > > >thank you all in advance, >angela >bao@edsug.com > I recently posted the same request for dos utils, and courtesy of: aharon@healdb.matat.health.gov.il (Israeli Health Ministry) received a prompt solution that took ~5 minutes to implement and test. If you have the DEC OSF/1 Alpha Freeware CD there is a utility suite, mtools (~/KITS/SOURCE/MTOOLS/MTOOLS/MTOOLS_2.TAR;1) that can be be trivially modified to compile on an DUX/Alpha box. The non-unix file naming conventions result from the multiple xplatform targets for this distribution -- you can follow directions for freeware software installation and in a few minutes normalized links will be created which follow standard unix naming conventions. This Freeware package is also available online courtesy of: munroe@acornsw.com (Acorn Software, Inc.) at the following sites WWW site: URL: http://www.acornsw.com/ IP#: 140.186.88.9 ftp site: URL: ftp://flash.acornsw.com/ site: flash.acornsw.com IP#: 140.186.88.9 user: anonymous Install the mtools tar file on a rw disk in an appropriate target directory, e.g. the following modifications will allow for compilation on an alpha box: Make a copy of the original Makefile cp ~/mtools-2.0.7/Makefile ~/mtools-2.0.7/Makefile.orig insert the following two lines into the Makefile up top near the other platform dependent CFLAG assignments. # for Alpha/OSF CFLAGS = -O -DBSD -DFLOCK be sure all other CFLAG assignments other than the one you've inserted are commented out via preceding # insert the following #ifdef, structure decalration construct in the source file devices.c: (right above #ifdef SPARC_ODD...) #ifdef __alpha struct device devices[] = { {'A', "/dev/rfd0c", 0L, 12, 0, (int (*) ()) 0, 80, 2, 18}, {'A', "/dev/rfd0c", 0L, 12, 0, (int (*) ()) 0, 80, 2, 9}, {'\0', (char *) NULL, 0L, 0, 0, (int (*) ()) 0, 0, 0, 0} }; #endif /* __alpha */ You may optionally change the MANDIR and DESTDIR definitions in the Makefile to satisfy conventions/requirements on the system you're installing this on... just compile via make there you have it, a nice set of tools for handling dos files, disks, and conventions on your screaming DUX alpha box. btw -- there are man pages for all the commands which are essentially all of the ole' dos commands (copy, dir, format, etc...) with an m prefix (mcopy, mdir, mformat, metc...). have fun... tjm (mickoltj@halcyon.com) p.s. remember to thank the US Army and Israeli Ministry of Health for making this all possible... "My ignornace is surpassed only by my curiousity" -- tjm