Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dosemu problem w/ tty? [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
commonloon
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2004
Posts: 133
Location: Marin, CA

PostPosted: Thu Mar 03, 2005 12:40 am    Post subject: dosemu problem w/ tty? [SOLVED] Reply with quote

I'm trying to run a simple program via a command line arg:

Code:

/usr/bin/dosemu -dump -quiet 'Edits\\_GENEDIT.EXE tmp\\14329.GCF'


BUT... I am having 2 (possibly related) issues:

1. When the said program finishes running in dosemu it does *not* exit. (Yes, I have unix -e in the autoexec.bat.)

2. When I run it via a shell wrapper it seems to hang. If I stop it mid-way via the command line I get:

Code:

Could not open current VT.


I thinking it doesn't like the tty its getting. What is strange is that I have this working on another nearly identical gentoo system and a redhat system, but for some reason this one isn't working.

Any suggestions?
_________________
Calling fly fishing a hobbie is like calling brain surgery a job.
Back to top
View user's profile Send private message
commonloon
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2004
Posts: 133
Location: Marin, CA

PostPosted: Thu Mar 03, 2005 2:48 am    Post subject: Reply with quote

Apparently dosemu is neglecting to exit as advertised so I made the command line:

Code:

/usr/bin/dosemu  -dumb -quiet 'Edits\\_GENEDIT.EXE tmp\\9344.GCF' -input 'exitemu\r'


I also figured out that the reason it was "Hanging" was that when my shell wrapper opened it up, it was acting like that user had not setup dosemu, i.e., asking for the path to the boot image. I edited the global conf file in this case and expliciently point the directory where I had the dos stuff.

e.g.:

Code:

$_hdimage = "/var/dosemu/freedos"


It was hanging because it wanted an interactive session to do the setup and I had redirected to dev null.
_________________
Calling fly fishing a hobbie is like calling brain surgery a job.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum