From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike McCarty Subject: Re: start dosemu automaticly with /etc/rc.local at bootup Date: Thu, 30 Nov 2006 14:39:04 -0600 Message-ID: <456F4168.8080302@sbcglobal.net> References: <200611301603.14347.l.johannes@tu-bs.de> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200611301603.14347.l.johannes@tu-bs.de> Sender: linux-msdos-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-msdos@vger.kernel.org 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!