Subject: Xdos 0.4a is available
From: [email-masked] (Der-Hua Liu)
Date: 13 Jun 1994 19:25:15 +0300
Newsgroups: comp.os.linux.announce

Note:   Xdos is something like windows's DosPrompt. You CANNOT run
        any graphic programs under xdos.
            Many programs can kill xdos.  You are lucky if your programs can 
        run under xdos smoothly.
	
	You should also thank the authors of dosemu.

-----------------------------------------------------------------------

Xdos0.4a is available at
	1. sunsite.unc.edu	/pub/Linux/Incoming
	   (will probably be moved to /pub/Linux/system/Emulators/dosemu )

Features:
	. Running under X window. ( So you can set DISPLAY to other machines )
	. 80x25 COLOR term   ( It only runs on a color VGA )
	. ALT keys and func keys work. (They don't work under xterm)
	. Xterm's scroll bar and copy-paste buffer
	. Dos text int 33 mouse driver (not fully implemented yet)
          (dos's dosshell, edit, qbasic work)

Changes:

version 0.4a:
        1.  Xdos Only runs on kernel version > 1.1.13
	2.  Use emufs of dosemu pre51_25.  This means you cannot use
            emufs.sys & exitemu.com of version 0.3f.
            * Normal user cannot write root's file system this time.
	3.  Ctrl-PrintScreen works.   Q editor's paste-over works.
	4.  Ctrl-Backspace works.
	5.  Ctrl-Home works.
        6.  The cursor changes to a hand-shape cursor if your app uses 
            the mouse-int33 event handler.
	7.  Faster screen-restore when you raise X dos window.
	8.  Xdos enters sleep-mode when the cursor moves out of the window.
	9.  Fix a bug in X mouse driver. You can use 4dos's help screen(F1) 
	    with your mouse.
	10. Fix some bugs in int16 get kbd state.
	11. Fix BIOS cursor info bugs.   If your app programs's curosr 
	    does't move properly, xdos may work correctly now.
        12.  Fix some bugs in serializing of calling X11.
	*c.  This version can display Chinese characters.  See README.chinese
 
version 0.3f:
	1. The missing character problem under dos prompt is gone.
        2. The hiding cursor works this time.
	3. Adding DOS_USE_HDIMAGE environment varible opt.
	   You can use a different name for hdimage.
	4. Example shell-script on how to use physical hdisk
	   ( /dev/hd? only,   whole physical disk)
            
--------------------------------------------------------------------------

	0. Run
	   # install.font
             It will install the vga font.
	   Remember to mount your dos file system as
	   /dosc  (Must contain any editor program)

	1. # cp libxdosemu /lib
	2. # chmod 4755 xdos	( set root uid for this file )
	3. # chown root xdos
	4. Note that xdos' hdimage is different from dosemu0.49pl2
           You have to build a hdimage for xdos.
	5. Make a dos bootable disk in A: with fdisk.exe ,sys.com

	6. 	% xd.fd              under xdos directoy
           will boot xdos from the floppy drive A:

	7. 	A>sys c:
		A>c:
	   Xdos like dosemu0.49 can let dos use linux file system.
           Your dos file system /dosc should be D: now.
	   Modify config.sys & autoexec.bat in C: if necessary.
	   
	8. modify 'xd' if necessary.
	   Add ' > /dev/null' if you don't like the debug message.
	9. % xd
		
             You've finish installing xdos. 
	     You should try combinations below.

.  How to create a bootable fdimage
	# dd if=/dev/zero of=fdimage count=2400
        # xd.ca
	
        C>format a:/s

.  Useful shell-scripts
        xd  :   boot from hdimage, doesn't use fdimage
	xd.fd : boot from /dev/fd0, use hdimage, doesn't use fdimage
	xd.a : boot from fdimage, doesn't use hdimage
	       (Useful:  The drive C: in real DOS is still C: under xdos)
	xd.ca : boot from hdimage, use fdimage
	xd.ac : boot from fdimage, use hdimage
	xd.hda :   example shell script on how to use /dev/hda

        The filename 'fdimage' can be changed by modifying the shell-scripts

. You can enable/disable HD write-protect at any time.
	   ( Press CTRL and the left button of your mouse, then you can see a
	     menu )
  	This function only works for hdimage and /dev/hd?
. Pressing the three buttons of mouse at the same time can enable/disable
  mouse driver

. The xdos will enter mouse-mode automatically when dos apps call mouse driver.
  The copy-paste function doesn't work under mouse-mode.

Options:
-chtr
   /* Use vga font. You must also change font option -fn 10x20 to -fn vga */
-mousedrv /* Enable text mouse driver */
-hd_head ??        /* physical HD   /dev/hd? */
-hd_cyl ???
-hd_sec ??
-imhd_head ??      /* your hdimage file */
-imhd_cyl ?? 
-imhd_sec ??

Note:  If you can use linux's msdos file system, you should avoid using
   physical HD.

---
Edward Der-Hua Liu
[email-masked]

--
Mail submissions for comp.os.linux.announce to: [email-masked]
PLEASE remember Keywords: and a short description of the software.