From: steve@zero.com (Steve Urich)
Newsgroups: comp.sys.3b1
Subject: Re: Dos-73 info help. (Summary)
Summary: DOS-73 date bug fix
Keywords: FAQ DOS-73 info
Date: 9 Oct 92 22:04:05 GMT
Organization: Beyonet - Zero Network


	Hello DOS-73 fans,
	here is a summary of the info I got to fix the DOS-73 date bug
	thanks to James R Martino <jhunix.hcf.jhu.edu!jmartino>
	This info should be put into the 3b1 FAQ DOS-73 section.

--- Start of DOS-73 date bug fix ---

From: James R Martino <jhunix.hcf.jhu.edu!jmartino>
Date: 	Thu, 8 Oct 1992 13:50:41 -0400

Steve,
	Good luck with your DOS-73 board. Here's a copy of my old date kludge:

Newsgroups: comp.sys.3b1
Subject: Re: Tales From the DOS Side (was DOS-73 clock 1 day slow) 
Summary: DOS DATE fix
Expires: 
Followup-To: DOS-73 clock 1 day slow
Distribution: usa
Organization: HAC - Johns Hopkins University, Baltimore
Keywords: DOS, DOS-73, clock

Here's a simple fix for the problem DOS-73 has with interpreting the date
from UNIX.

First, if you don't have a UNIX volume in DOS, create one using the Session
Configuration utility. Then, after the comment statements in the top of
/usr/bin/DOS-73.sh, insert the line

date '+%m-%d-%y' | tr "\012" "\015" > $HOME/Filecabinet/DOSDATE

(the tr is needed to change the automatic final newline character supplied by 
date to a carriage return so that DOS can enter the date and return control
to the console.)

Finally, insert at the top of your AUTOEXEC.BAT file on drive c in DOS the
following lines (my UNIX volume is drive f - if yours is different, change
accordingly):

echo off
type f:\Filecabinet\DOSDATE | date > NUL
del f:\Filecabinet\DOSDATE 

Only the second line is necessary - the first and third lines are for
aesthetic reasons. The first line hides the kluge from the DOS session, 
and the third line cleans up after itself in your Filecabinet.

Jim

--- End of date bug fix info ---

	Here is a simplier understanding of the way to make a UNIX volume
	to transfer unix to dos and dos to unix with the DOS-73 and you
	need this to make the above date fix to work. 

--- Start of how to make a UNIX volume info ---
From: James R Martino <jhunix.hcf.jhu.edu!jmartino>
Date: 	Fri, 9 Oct 1992 10:59:18 -0400
Status: RO

Steve,
	I don't really remember what I was doing when I set up the drives
on my DOS-73 system, but for some reason I have drives C, D and E for DOS
with F set up as the unix volume. The F drive does not take up any disk
space, but rather is linked to your Filecabinet directory, so that any
DOS file on your unix volume drive is accessible to unix. This is how you
can pass things back and forth between DOS and unix.
	If I were setting up the system today, I'd just have the C drive
and the unix volume. You have to clear some room on your disk for this,
so the size is a matter of available real estate and what you need to run
whatever DOS programs you have. Your applications should tell you something
system requirements. You probably should set aside at least a couple of
megabytes if you can afford the space.
	To set up the unix volume, use the session configuration utility to
recognize one more logical drive than you will use: if you will use just one
DOS drive (the C drive), tell the system to use two logical drives.
After setting up dvd000 as the C drive, assign drive D the label UNIX in the
assignment window of the session configuration utility. The unix volume
must be the last drive - the DOS drives must be contiguous. Since you
asked, my set-up (which I'll probably simplify, now that I think about it)
is currently:

	Drive C:	dvd000	250 KB
	Drive D:	dvd001	2500 KB
	Drive E:	dvd002	2500 KB
	Drive F:	unix volume.

	I hope this helps. If you have any other questions, send 'em along.
A lot of folks in the 3b1 group don't consider the DOS-73 worth bothering
about, but I think it's kind of interesting, and semi-useful.

	Good luck,
			Jim Martino	jmartino@jhunix.hcf.jhu.edu

--- End of UNIX volume info ---
-- 
|Stephen Urich|        Internet:steve@zero.com         | "Cattle mutilations  |
|NIC: SU2     |   UUCP:beyonet!steve@cs.widener.edu    | are up!" --Sneakers  |
|ARS: WB3FTP  |  Packet:WB3FTP@WA3NWL.#EPA.PA.USA.NA   | ax25<->PBBS<->IPGATE |
|Bensalem, PA |Radio:wb3ftp@wb3ftp.ampr.org[44.80.8.44]| TCP/IP-FTP-SMTP-UNIX |
 |
 
Newsgroups: comp.sys.3b1