Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: "Timothy J. Mickol" <mickoltj@halcyon.com>
To: bao@edsug.com
Subject: Re: DOS utility on OSF (DUX)
Date: 1996/02/05	[thread overview]
Message-ID: <4f5su0$88@news.halcyon.com> (raw)
In-Reply-To: 1996Feb2.131637.471@bbs.ug.eds.com

Angela Bao <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




  reply	other threads:[~1996-02-05  5:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-01-31  5:00 DOS utility on OSF (DUX) Angela Bao
1996-02-01  5:00 ` Stefan Karlsson
1996-02-01  5:00 ` Stefan Karlsson
1996-02-02  5:00 ` Mozilla
1996-02-05  5:00   ` Timothy J. Mickol [this message]
1996-02-07  5:00   ` Andreas Wilde
1996-02-09  5:00   ` John Richardson
1996-02-04  5:00 ` Robert Schuhl
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox