Re: start dosemu automaticly with /etc/rc.local at bootup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Console]     [Linux Audio]     [Linux for Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Camping]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Samba]     [Linux Media]     [Fedora Users]

  Powered by Linux