public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* dosemu won't load
@ 2008-11-09 20:48 Larry Alkoff
  2008-11-09 23:46 ` Frank Cox
  2008-11-23 21:30 ` Start DOS application from linux Rick Knight
  0 siblings, 2 replies; 11+ messages in thread
From: Larry Alkoff @ 2008-11-09 20:48 UTC (permalink / raw)
  To: dosemu

[-- Attachment #1: Type: text/plain, Size: 1769 bytes --]

I am using dosemu on a 6 months old machine with Kubuntu 8.04 and it 
works perfectly.

This week I loaded Kubuntu 8.04.1 on a machine for my wife.
It loaded dosemu the first time with the stock config and autoexec from 
apt-get intall dosemu but am having some problems.

Both machines are running dosemu 1.4.0+svn.1828-1.

On the first machine that loads without issues, I took the stock freedos 
config.sys and autoexec.bat in the ~/.dosemu/drive_c directory and added 
some extra lines that run 4dos and nansi.sys in config.sys and sets the 
path to my liking in autoexec.bat.  I also have some soft links to 
directories in the drive_c directory.

In my wife's machine the behavior of dosemu seems to have changed.
It will not recognize the config.sys and autoexec.bat in drive_c but 
only looks at the config.lnk -> /etc/dosemu/freedos/config.sys and 
similiarly for autoexec.

Also the soft links in drive_c now do not show up.

I've attached my autoexec.bat and config.sys if the list will accept these.

Questions:
1:  Has the behavior of dosemu really changed to only recognize the 
config.sys and autoexec.bat in /etc/dosemu/freedos?

2:  How can I get dosemu to load my soft linked directories which should 
appear in c:?

3.  How to loadhigh certain programs like 4dos.com?  This dosemu doesn't 
seem to like devicehigh=.  Most importantly I'd like to not load 
command.com but instead load 4dos which is so much more versatile

Thanks for any help you can give me.  My wife used Windows 98 but I am 
changing her to Linux.  She uses some old dos programs like supercalc 
(spreadsheet) and Q&A (edit and data base program) and probably won't 
accept Linux unless she can use her ancient programs.  She likes the new 
fast machine though <g>

Larry Alkoff


[-- Attachment #2: autoexec.bat --]
[-- Type: application/x-msdos-program, Size: 1458 bytes --]

[-- Attachment #3: config.sys --]
[-- Type: text/plain, Size: 1092 bytes --]

rem config.sys for DOSEMU + FreeDOS
rem note that the initial "D:" is set to "Z:" at the end
SWITCHES=/F
DOS=UMB,HIGH
dosdata=umb
lastdrive=Z
files=40
stacks=0
buffers=10
device=d:\dosemu\ems.sys
devicehigh=d:\dosemu\cdrom.sys
install=d:\dosemu\lredir.com z: linux\fs\${DOSEMU_LIB_DIR}/drive_z ro
shellhigh=z:\command.com /e:1024 /p


rem lba: config.sys for DOSEMU + FreeDOS
rem note that the initial "D:" is set to "Z:" at the end
SWITCHES=/F
DOS=UMB,HIGH
dosdata=umb
lastdrive=Z
files=40
stacks=0
buffers=10
device=d:\dosemu\ems.sys
devicehigh=d:\dosemu\cdrom.sys
install=d:\dosemu\lredir.com z: linux\fs\${DOSEMU_LIB_DIR}/drive_z ro
rem by lba: shellhigh=z:\command.com /e:1024 /p



rem lba: added this to config.sys.link above
rem ---------------------------------------------

rem uncomment for cdrom support (also autoexec.bat:shsucdx)
rem devicehigh=c:\dosemu\cdrom.sys

rem !!!shellhigh=c:\bin\4dos\4dos.com /e:1024 /p

rem device=c:\bin\nansi.sys
rem devicehigh=c:\bin\ansi.sys

rem new devicehigh c:\bin\nansip.sys


rem end lba
rem ---------------------------------------------


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: dosemu won't load
  2008-11-09 20:48 dosemu won't load Larry Alkoff
@ 2008-11-09 23:46 ` Frank Cox
  2008-11-10  0:38   ` Larry Alkoff
  2008-11-10  3:07   ` Larry Alkoff
  2008-11-23 21:30 ` Start DOS application from linux Rick Knight
  1 sibling, 2 replies; 11+ messages in thread
From: Frank Cox @ 2008-11-09 23:46 UTC (permalink / raw)
  To: Larry Alkoff; +Cc: dosemu

On Sun, 09 Nov 2008 14:48:08 -0600
Larry Alkoff <labradley@mindspring.com> wrote:

> Also the soft links in drive_c now do not show up.

I create a custom user's desktop and whatnot and put that into /etc/skel.  That
way all new users automatically get my custom desktop.

I also have a symbolic link in ~/.dosemu/drive_c to a directory under /opt
where I keep the common databases that all users access through the dos
programs.

I have discovered that if I have a ~/.dosemu/drive_c/link in/etc/skel,
then dosemu somehow can't find the symbolic link.  "cd c:\link" in a new user's
directory.  "cd c:\link" gives me a "chdir failed" error.

If I delete ~/.dosemu from the user's home directory, then run dosemu and allow
it to create its own ~/.dosemu, then put my batch file and symbolic link into
that directory, everything works perfectly.  And I have no idea why it would
make any difference, but it does.

Do you perhaps have a similar problem?  What happens if you remove ~/.dosemu
and then run dosemu?  Does it work then?

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
DRY CLEANER BUSINESS FOR SALE ~ http://www.canadadrycleanerforsale.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: dosemu won't load
  2008-11-09 23:46 ` Frank Cox
@ 2008-11-10  0:38   ` Larry Alkoff
  2008-11-10  3:07   ` Larry Alkoff
  1 sibling, 0 replies; 11+ messages in thread
From: Larry Alkoff @ 2008-11-10  0:38 UTC (permalink / raw)
  To: Frank Cox; +Cc: dosemu

Frank Cox wrote:
> On Sun, 09 Nov 2008 14:48:08 -0600
> Larry Alkoff <labradley@mindspring.com> wrote:
> 
>> Also the soft links in drive_c now do not show up.
> 
> I create a custom user's desktop and whatnot and put that into /etc/skel.  That
> way all new users automatically get my custom desktop.
> 
> I also have a symbolic link in ~/.dosemu/drive_c to a directory under /opt
> where I keep the common databases that all users access through the dos
> programs.
> 
> I have discovered that if I have a ~/.dosemu/drive_c/link in/etc/skel,
> then dosemu somehow can't find the symbolic link.  "cd c:\link" in a new user's
> directory.  "cd c:\link" gives me a "chdir failed" error.
> 
> If I delete ~/.dosemu from the user's home directory, then run dosemu and allow
> it to create its own ~/.dosemu, then put my batch file and symbolic link into
> that directory, everything works perfectly.  And I have no idea why it would
> make any difference, but it does.
> 
> Do you perhaps have a similar problem?  What happens if you remove ~/.dosemu
> and then run dosemu?  Does it work then?
> 

Thanks for your reply Frank.
All I can say is WOW.

I renamed ~/.dosemu and restarted dosemu.
It created a brand new ~/.dosemu with only autoexec.bat, config.sys and 
a tmp subdirectory.
I then exited and created a soft link to my main bin directory.
When I restarted dosemu, there it was.
To test, I cd to the 4dos directory and started 4dos - it came right up.

The only problem is I cannot exit dosemu by issuing 'exitemu' as normal.
The only way I have found to quit doesmu tonight is to:
ps ax |grep dosemu
and then kill the process.

Do know an easier way?

Thank you very very much for your help on this.
Who would have figured!

Larry


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: dosemu won't load
  2008-11-09 23:46 ` Frank Cox
  2008-11-10  0:38   ` Larry Alkoff
@ 2008-11-10  3:07   ` Larry Alkoff
  1 sibling, 0 replies; 11+ messages in thread
From: Larry Alkoff @ 2008-11-10  3:07 UTC (permalink / raw)
  To: Frank Cox; +Cc: dosemu

Frank Cox wrote:
> On Sun, 09 Nov 2008 14:48:08 -0600
> Larry Alkoff <labradley@mindspring.com> wrote:
> 
>> Also the soft links in drive_c now do not show up.
> 
> I create a custom user's desktop and whatnot and put that into /etc/skel.  That
> way all new users automatically get my custom desktop.
> 
> I also have a symbolic link in ~/.dosemu/drive_c to a directory under /opt
> where I keep the common databases that all users access through the dos
> programs.
> 
> I have discovered that if I have a ~/.dosemu/drive_c/link in/etc/skel,
> then dosemu somehow can't find the symbolic link.  "cd c:\link" in a new user's
> directory.  "cd c:\link" gives me a "chdir failed" error.
> 
> If I delete ~/.dosemu from the user's home directory, then run dosemu and allow
> it to create its own ~/.dosemu, then put my batch file and symbolic link into
> that directory, everything works perfectly.  And I have no idea why it would
> make any difference, but it does.
> 
> Do you perhaps have a similar problem?  What happens if you remove ~/.dosemu
> and then run dosemu?  Does it work then?
> 


All ok.  exitemu now working.
My world is complete.
Thanks very much Frank.

Larry

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Start DOS application from linux
  2008-11-09 20:48 dosemu won't load Larry Alkoff
  2008-11-09 23:46 ` Frank Cox
@ 2008-11-23 21:30 ` Rick Knight
  2008-11-23 22:12   ` Rick Knight
  2008-11-23 22:14   ` Frank Cox
  1 sibling, 2 replies; 11+ messages in thread
From: Rick Knight @ 2008-11-23 21:30 UTC (permalink / raw)
  To: dosemu

I've done this before, but I've forgotten how. I want to start a DOS 
application from a linux shell script. I want the script to start 
xdosemu and then start the application (blood.exe) and then when I exit 
the application I want the script to exit xdosemu. I have done this 
before, but it's been a while and I've forgotten how I did it. Can 
someone refresh my memory?

Thanks,
Rick Knight

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Start DOS application from linux
  2008-11-23 21:30 ` Start DOS application from linux Rick Knight
@ 2008-11-23 22:12   ` Rick Knight
  2008-11-23 22:14   ` Frank Cox
  1 sibling, 0 replies; 11+ messages in thread
From: Rick Knight @ 2008-11-23 22:12 UTC (permalink / raw)
  To: dosemu

Rick Knight wrote:
> I've done this before, but I've forgotten how. I want to start a DOS 
> application from a linux shell script. I want the script to start 
> xdosemu and then start the application (blood.exe) and then when I 
> exit the application I want the script to exit xdosemu. I have done 
> this before, but it's been a while and I've forgotten how I did it. 
> Can someone refresh my memory?
>
> Thanks,
> Rick Knight
> -- 
> To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Nevermind, I found what I was looking for. -E

Rick


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Start DOS application from linux
  2008-11-23 21:30 ` Start DOS application from linux Rick Knight
  2008-11-23 22:12   ` Rick Knight
@ 2008-11-23 22:14   ` Frank Cox
  2008-11-23 22:54     ` Rick Knight
  1 sibling, 1 reply; 11+ messages in thread
From: Frank Cox @ 2008-11-23 22:14 UTC (permalink / raw)
  To: Rick Knight; +Cc: dosemu

On Sun, 23 Nov 2008 13:30:42 -0800
Rick Knight <rick_knight@rlknight.com> wrote:

> I've done this before, but I've forgotten how. I want to start a DOS 
> application from a linux shell script. I want the script to start 
> xdosemu and then start the application (blood.exe) and then when I exit 
> the application I want the script to exit xdosemu. I have done this 
> before, but it's been a while and I've forgotten how I did it. Can 
> someone refresh my memory?

/usr/bin/dosemu -dumb -input 'c:\\mybat.bat\r'

Put "exitemu" as the last line in mybat.bat.

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
DRY CLEANER BUSINESS FOR SALE ~ http://www.canadadrycleanerforsale.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Start DOS application from linux
  2008-11-23 22:14   ` Frank Cox
@ 2008-11-23 22:54     ` Rick Knight
  2008-11-23 23:35       ` Frank Cox
  2008-12-08  2:34       ` Jamie
  0 siblings, 2 replies; 11+ messages in thread
From: Rick Knight @ 2008-11-23 22:54 UTC (permalink / raw)
  To: Frank Cox; +Cc: dosemu

Frank Cox wrote:
> On Sun, 23 Nov 2008 13:30:42 -0800
> Rick Knight <rick_knight@rlknight.com> wrote:
>
>   
>> I've done this before, but I've forgotten how. I want to start a DOS 
>> application from a linux shell script. I want the script to start 
>> xdosemu and then start the application (blood.exe) and then when I exit 
>> the application I want the script to exit xdosemu. I have done this 
>> before, but it's been a while and I've forgotten how I did it. Can 
>> someone refresh my memory?
>>     
>
> /usr/bin/dosemu -dumb -input 'c:\\mybat.bat\r'
>
> Put "exitemu" as the last line in mybat.bat.
>
>   
Frank,

I've tried this. The game starts and I can hear the sounds, but I don't 
get a window or full screen game image. Just sounds.

Thanks,
Rick


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Start DOS application from linux
  2008-11-23 22:54     ` Rick Knight
@ 2008-11-23 23:35       ` Frank Cox
  2008-12-08  2:34       ` Jamie
  1 sibling, 0 replies; 11+ messages in thread
From: Frank Cox @ 2008-11-23 23:35 UTC (permalink / raw)
  To: Rick Knight; +Cc: dosemu

On Sun, 23 Nov 2008 14:54:33 -0800
Rick Knight <rick_knight@rlknight.com> wrote:

> I've tried this. The game starts and I can hear the sounds, but I don't 
> get a window or full screen game image. Just sounds.

That would be because that line is intended to be used for unattended and
automatic stuff like a cron job.

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
DRY CLEANER BUSINESS FOR SALE ~ http://www.canadadrycleanerforsale.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Start DOS application from linux
  2008-11-23 22:54     ` Rick Knight
  2008-11-23 23:35       ` Frank Cox
@ 2008-12-08  2:34       ` Jamie
  2008-12-08 22:06         ` Rick Knight
  1 sibling, 1 reply; 11+ messages in thread
From: Jamie @ 2008-12-08  2:34 UTC (permalink / raw)
  To: Rick Knight; +Cc: Frank Cox, dosemu

Hi Frank and Rick,

The line will (likely) work as Rick wants it to, as long as the "-dumb" 
is removed. (It worked for me.)

Try using:   /usr/bin/dosemu -input 'c:\\mybat.bat\r'

jamie



Rick Knight wrote:
> Frank Cox wrote:
>> On Sun, 23 Nov 2008 13:30:42 -0800
>> Rick Knight <rick_knight@rlknight.com> wrote:
>>
>>  
>>> I've done this before, but I've forgotten how. I want to start a DOS 
>>> application from a linux shell script. I want the script to start 
>>> xdosemu and then start the application (blood.exe) and then when I 
>>> exit the application I want the script to exit xdosemu. I have done 
>>> this before, but it's been a while and I've forgotten how I did it. 
>>> Can someone refresh my memory?
>>>     
>>
>> /usr/bin/dosemu -dumb -input 'c:\\mybat.bat\r'
>>
>> Put "exitemu" as the last line in mybat.bat.
>>
>>   
> Frank,
>
> I've tried this. The game starts and I can hear the sounds, but I 
> don't get a window or full screen game image. Just sounds.
>
> Thanks,
> Rick
>
> -- 
> To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Start DOS application from linux
  2008-12-08  2:34       ` Jamie
@ 2008-12-08 22:06         ` Rick Knight
  0 siblings, 0 replies; 11+ messages in thread
From: Rick Knight @ 2008-12-08 22:06 UTC (permalink / raw)
  To: dosemu

Thanks Jaime,

What I found works for me is "/usr/bin/xdosemu -w -E c:\mybat.bat"

Thought I had posted here, maybe not.

Thanks again,
Rick

Jamie wrote:
> Hi Frank and Rick,
>
> The line will (likely) work as Rick wants it to, as long as the 
> "-dumb" is removed. (It worked for me.)
>
> Try using:   /usr/bin/dosemu -input 'c:\\mybat.bat\r'
>
> jamie
>
>
>
> Rick Knight wrote:
>> Frank Cox wrote:
>>> On Sun, 23 Nov 2008 13:30:42 -0800
>>> Rick Knight <rick_knight@rlknight.com> wrote:
>>>
>>>  
>>>> I've done this before, but I've forgotten how. I want to start a 
>>>> DOS application from a linux shell script. I want the script to 
>>>> start xdosemu and then start the application (blood.exe) and then 
>>>> when I exit the application I want the script to exit xdosemu. I 
>>>> have done this before, but it's been a while and I've forgotten how 
>>>> I did it. Can someone refresh my memory?
>>>>     
>>>
>>> /usr/bin/dosemu -dumb -input 'c:\\mybat.bat\r'
>>>
>>> Put "exitemu" as the last line in mybat.bat.
>>>
>>>   
>> Frank,
>>
>> I've tried this. The game starts and I can hear the sounds, but I 
>> don't get a window or full screen game image. Just sounds.
>>
>> Thanks,
>> Rick
>>
>> -- 
>> To unsubscribe from this list: send the line "unsubscribe 
>> linux-msdos" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-12-08 22:06 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-09 20:48 dosemu won't load Larry Alkoff
2008-11-09 23:46 ` Frank Cox
2008-11-10  0:38   ` Larry Alkoff
2008-11-10  3:07   ` Larry Alkoff
2008-11-23 21:30 ` Start DOS application from linux Rick Knight
2008-11-23 22:12   ` Rick Knight
2008-11-23 22:14   ` Frank Cox
2008-11-23 22:54     ` Rick Knight
2008-11-23 23:35       ` Frank Cox
2008-12-08  2:34       ` Jamie
2008-12-08 22:06         ` Rick Knight

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