All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike McCarty <Mike.McCarty@sbcglobal.net>
To: linux-msdos@vger.kernel.org
Subject: Re: start dosemu automaticly with /etc/rc.local at bootup
Date: Thu, 30 Nov 2006 14:39:04 -0600	[thread overview]
Message-ID: <456F4168.8080302@sbcglobal.net> (raw)
In-Reply-To: <200611301603.14347.l.johannes@tu-bs.de>

Lars Johannes wrote:
> Hi,
> 
> i want dosemu starting automaticly at bootup. I tried different thinks, but 
> everytime i bootup it asked me to 'yes' a disclaimer. The manuel start after 
> login (local user or root) of dosemu works perfect, it asked me only once and 
> then it works. 

I am not a dosemu expert. I use it only occasionally.

I have a little script to start dosemu so I can use the
brilliant colors normally used with DOS.

I use

xterm -pc -fg white -bg black -geometry 80x25 -e dosemu &

and never get a prompt for confirmation. The possibility
I see is a line in /usr/local/bin/dosemu (or wherever
you installed it) which asks for
confirmation for using a proprietary (i.e. MSDOS) DOS.
If you look for this:
-----------------------------------------------------
   if [ -z "$PROPRIETARY" ]; then
     (cd $BOOT_DIR_PATH
       tar -xzf $SYSTEM_INSTALL_PATH/dosemu-freedos-bin.tgz
     )
   else
     echo "
   The DOSEMU part of the proprietary installation has been done.
 

   Please make sure that you have a bootable DOS in '$PROPRIETARY'.
   Read the documentation for details on what it must contain.
   You should also install a symbolic link to or make a copy of the files in
   $SYSTEM_INSTALL_PATH/commands
   in order to make the DOSEMU support commands available within 
$PROPRIETARY.
 

   Type ENTER to confirm or Ctrl-C to abort
"
     read x
   fi
------------------------------------------------------

you may find the exact string you are looking for. If this
is it, then you may simply comment the "read x" line, like
this:

# Commented so we can bypass the confirmation
# when starting at bootup
#  read x


I suggest you use

$ which dosemu

to find out where you installed, and then edit the script.

[snip]



Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!

      reply	other threads:[~2006-11-30 20:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-30 15:03 start dosemu automaticly with /etc/rc.local at bootup Lars Johannes
2006-11-30 20:39 ` Mike McCarty [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=456F4168.8080302@sbcglobal.net \
    --to=mike.mccarty@sbcglobal.net \
    --cc=linux-msdos@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.