Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Mar 1998 00:51:47 +0100
From:      Leif Neland <leifn@image.dk>
To:        Randall Hopper <rhh@ct.picker.com>
Cc:        freebsd-questions@FreeBSD.ORG, dwhite@resnet.uoregon.edu
Subject:   Re: doscmd: command not found
Message-ID:  <35032F12.E8F55E6@image.dk>
References:  <Pine.BSF.3.96.980302014116.10891A-100000@darla.swimsuit.roskildebc.dk> <19980308171637.23101@ct.picker.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Randall Hopper wrote:
> 
> Leif Neland:
>  | can't make doscmd execute anything.
>  |
>  |I have mount_msdos'ed the c: as /dos-c
>  |
>  |I have /etc/doscmdrc as follows:
>  |
>  |assign C: /dos-c
>  |assign D: /dos-d
>  |assign E: /dos-c/dbase
>  |
>  |I have tried lowercase C:
>  |
>  |Whatever I try, I just get "command not found"
> 
>  |Doug White:
>  | DW> Did you make sure doscmd is installed?
>  |
>  |Installed? I get this message from doscmd.
> 
> If running an sh/ksh shell, try this:
> 
>    whence doscmd
> 
> If running csh/tcsh shell, try this:
> 
>    which doscmd
> 
> Make sure it prints a path to a file called doscmd.  If not, doscmd isn't
> installed.
>
Methinks thou areth not understanding me...
sh can find doscmd, but doscmd can't find the command:

bash-2.00# ls -l dbase.*
-r-xr-xr-x  1 root  wheel  117248  4 Sep  1986 dbase.com
-r-xr-xr-x  1 root  wheel  162304 23 Okt  1985 dbase.ovl
-rwxr-xr-x  1 root  wheel    1084 16 Aug  1992 dbase.set

bash-2.00# dosccmd ./dbase
bash: dosccmd: command not found
bash-2.00# doscmd dbase
Init: -1
sigreturn failed : Invalid argument
doscmd: fatal error vm86 returned (no kernel support?)

bash-2.00# cat /etc/doscmdrc
assign C: /dos-c
assign D: /dos-d
assign E: /dos-c/dbase
PATH=C:/dbase;

bash-2.00# ls -l /usr/bin/doscmd
-r-xr-sr-x  1 bin  kmem  12288 14 Sep 18:35 /usr/bin/doscmd
bash-2.00# uname -a
FreeBSD darla.swimsuit.roskildebc.dk 2.2.5-STABLE FreeBSD 2.2.5-STABLE
#1: Tue Mar  3 08:57:00 CET 1998    
root@darla.swimsuit.roskildebc.dk:/usr/src/sys/compile/DARLA  i386


-- 
---
Leif Neland
leifn@image.dk

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35032F12.E8F55E6>