linux-msdos-digest        Sunday, 7 November 1999      Volume 01 : Number 160

In this issue:

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

From: Gereon Ruetten <[EMAIL PROTECTED]>
Date: Thu, 28 Oct 1999 14:44:42 +0200
Subject: Re: ANNOUNCE: dosemu-0.99.13.eb1.1

"Eric W. Biederman" wrote:
 
> dosemu-0.99.13.eb1.1 is a preliminary patch of my ongoing
> work to improve the keyboard code in dosemu.

first of all, many thanks to Eric for taking time to solve
the keyborad code problem.

I compiled the "eb" Version (with some little warnings, see below))

after installing and starting dosemu says "key_table -> sizemap = 97"
(it doesn�t depend on running "local" or "over telnet")

When i try to use (Umlaute (german keyboard "ae,ue,oe,ss")) it WORKS !!!

GREAT !!!!

but :

Backspace didn�t work proper (it does without the patch)

A dos keyboard scan program says :

with patch :            without the patch :
Scan    : 14            14
AscII   : 0x7f          0x08
KeyIdnt : \127          \270

and many other keys also reports other (false) dos scancodes as in the previous version


also the ibm-display codes (e.g. for norton commander) didn�t
work (with the same dosemu.conf and without the patch -> no problem)

> Testers wanted.

tell me what to do, and i will try to help, because its important for me
to get it work !

"Errors" while compiling the eb Version

emu.c: In function `main':
emu.c:450: warning: implicit declaration of function `pcibios_init'
vgaemu.c:811: warning: `vgaemu_unmap' defined but not used
gfxemu.c: In function `GFX_write_value':
gfxemu.c:150: warning: unused variable `u'
instremu.c:63: warning: `seg_txt' defined but not used
instremu.c:64: warning: `rep_txt' defined but not used
instremu.c:65: warning: `lock_txt' defined but not used
terminal.c: In function `slang_update':
terminal.c:455: warning: passing arg 1 of `SLsmg_write_nchars' discards `const' from 
pointer target type
terminal.c:476: warning: assignment discards `const' from pointer target type
pci_bios.c: In function `pcibios_init':
pci_bios.c:214: warning: assignment from incompatible pointer type
pci.c:35: warning: initialization from incompatible pointer type
ports.c: In function `port_register_handler':
ports.c:1066: warning: int format, different type arg (arg 7)
ports.c: At top level:
ports.c:145: warning: `p2bin' defined but not used
pic.c:703: warning: #warning using assembly run_irqs,expect pic1_mask not used
pic.c:181: warning: `pic1_mask' defined but not used
lexer.l: In function `real_yylex':
lexer.l:698: warning: statement with no effect
serv_xlat.c: In function `init_scancode_translation_rules':
serv_xlat.c:530: warning: unused variable `j'
keymaps.c:22: warning: `is_a_console' declared `static' but never defined
keymaps.c:23: warning: `open_a_console' declared `static' but never defined
keymaps.c:24: warning: `getfd' declared `static' but never defined
keymaps.c:25: warning: `dosemu_val' declared `static' but never defined
keyb_slang.c:41: warning: type defaults to `int' in declaration of `pc_scancode_mode'
keyb_clients.c: In function `paste_run':
keyb_clients.c:49: warning: unused variable `ch'
prestroke.c: In function `append_pre_strokes':
prestroke.c:331: warning: unused variable `offs'
translate.c: In function `charset_to_unicode':
translate.c:261: warning: comparison is always 1 due to limited range of data type
translate.c: At top level:
translate.c:298: warning: `get_ctext_char_set_piece' defined but not used
translate.c:324: warning: `interpret_ctext_control' declared `static' but never defined
pktnew.c: In function `Find_Handle':
pktnew.c:819: warning: implicit declaration of function `ntohs'
linux_sound.c:60: warning: `sound_frag' defined but not used
sound.c: In function `adlib_io_read':
sound.c:514: warning: `result' might be used uninitialized in this function
sound.c: In function `fm_io_read':
sound.c:543: warning: unused variable `adlib_info'
sound.c: In function `fm_reset':
sound.c:2515: warning: unused variable `adlib_info'


Gereon

- --
http://key.baer.rwth-aachen.de
If the box says `Windows 95 or better'', it should run on Linux, right?

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

From: "Mark H. Wood" <[EMAIL PROTECTED]>
Date: Thu, 28 Oct 1999 08:10:55 -0500 (EST)
Subject: RE: keyboard mapping (everyone please read)

On Wed, 27 Oct 1999, Alejandro Nestor Vargas wrote:

> > Keyboards have always been a mess, and it looks very much like they always
> > will be a mess.  We can minimize the mess and mitigate its effects, but
> > it's still messy.
> 
> Have dosemu support for the scan-code mode of some terminals like wise60? It
> may be the answer for a perfect keyboard handling via telnet. The other way
> may be a propietary telnet client.

Explain how to perfectly emulate the PC keyboard on my VT420, then.  Or my
VT62.

- -- 
Mark H. Wood, Lead System Programmer   [EMAIL PROTECTED]
Please, no more software products offering a "richer experience"!  I have
indigestion of the brain already.  Give me a more ascetic experience.


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

From: "Alejandro Nestor Vargas" <[EMAIL PROTECTED]>
Date: Thu, 28 Oct 1999 12:27:14 -0300
Subject: RE: keyboard mapping

> > The Wise60 can work in normal terminal mode and enter PC-TERM mode with
a
> > escape sequence. DosEmu may search the terminfo database for this
sequence
> > and send it is it is available. In the same way, there is a sequence to
> > leave this mode and return normal operation.
>
> Which is fine, except no standard terminfo entry implments this
capability.
>
> Any one plan patches for Eric S. Raymond (Terminfo database maintainer)?

:( ... Well... I don't got the info needed for this, but I think if somebody
gots a wise60 or some other terminal that can use pcterm emulation (like the
telnet client that we was talking about) and needs to use dosemu, he can add
the smsc and rmsc capabilitie to the terminfo database and post it.

I can test this telnet client.



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

From: "Alejandro Nestor Vargas" <[EMAIL PROTECTED]>
Date: Thu, 28 Oct 1999 13:13:06 -0300
Subject: RE: keyboard mapping (everyone please read)

> > Have dosemu support for the scan-code mode of some terminals like
wise60? It
> > may be the answer for a perfect keyboard handling via telnet. The other
way
> > may be a propietary telnet client.
>
> Explain how to perfectly emulate the PC keyboard on my VT420, then.  Or my
> VT62.

I was talking about terminals that support the PC-TERM function. I know some
terminals that has various emulation modes (vt100, vt220, wise50, wise60 and
PCTERM). In terminals that can't do it, you must use the control sequences
to emulate the keys.



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

From: Christian Reis <[EMAIL PROTECTED]>
Date: Thu, 28 Oct 1999 15:03:29 -0200 (EDT)
Subject: Re: DOSEMU with Windows

On Wed, 27 Oct 1999, Kragen Sitaker wrote:

> Some guy writes:
> >   I have heard that it is possible to run Win3.x under Dosemu but not
> > Win9x.  From what I can tell the only thing preventing it from running
> > Win9x is that Dosemu won't let himem.sys take control of the A20 Line in
> > the dosmem.  Is there a way to allow this?  Are you considering releasing
> > a version that will run Win9x?  Please let me know.
> 
> No, the only thing preventing it is that dosemu emulates an 8086 using
> v86 mode, more or less, while Win3.x in enhanced mode and Win9x
> requires at least a 386.  Win3.x only runs in real mode under dosemu.

This is all fair and nice, but how are we able to run protected-mode games
in Win95's dos boxen _and_ in DOSEMU? What are the different requirements
at this point?

How are we allowed to run HIMEM & EMM386 anyway if we're in V86 mode?

k


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

From: [EMAIL PROTECTED] (Kragen Sitaker)
Date: Thu, 28 Oct 1999 14:17:31 -0400 (EDT)
Subject: Re: DOSEMU with Windows

Someone asks:
> This is all fair and nice, but how are we able to run protected-mode games
> in Win95's dos boxen _and_ in DOSEMU? What are the different requirements
> at this point?

I don't believe you can run protected-mode games in dosemu.  You can
run games that use DPMI, though, because dosemu provides DPMI.  I don't
believe you can use other DOS-extenders that actually need to switch to
protected mode.

> How are we allowed to run HIMEM & EMM386 anyway if we're in V86 mode?

It's been years since I had to use MS-DOS -- on a 286 -- so I don't
know if I remember correctly, but I thought
a) himem lets you use some of the $A0000..$FFFFF memory, which is
available in real mode, but normally reserved for peripherals;
b) you couldn't run emm386.

I'm sure that if I am wrong, someone will tell me.

- -- 
<[EMAIL PROTECTED]>       Kragen Sitaker     <http://www.pobox.com/~kragen/>
Thu Oct 28 1999
12 days until the Internet stock bubble bursts on Monday, 1999-11-08.
<URL:http://www.pobox.com/~kragen/bubble.html>


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

From: [EMAIL PROTECTED] (Eric W. Biederman)
Date: 28 Oct 1999 13:34:31 -0500
Subject: Re: ANNOUNCE: dosemu-0.99.13.eb1.1

Gereon Ruetten <[EMAIL PROTECTED]> writes:

> "Eric W. Biederman" wrote:
>  
> > dosemu-0.99.13.eb1.1 is a preliminary patch of my ongoing
> > work to improve the keyboard code in dosemu.
> 
> 
> first of all, many thanks to Eric for taking time to solve
> the keyborad code problem.
> 
> I compiled the "eb" Version (with some little warnings, see below))
> 
> after installing and starting dosemu says "key_table -> sizemap = 97"
> (it doesn�t depend on running "local" or "over telnet")
> 
> When i try to use (Umlaute (german keyboard "ae,ue,oe,ss")) it WORKS !!!
> 
> GREAT !!!!
> 
> but :
> 
> Backspace didn�t work proper (it does without the patch)
> 
> A dos keyboard scan program says :
> 
> with patch :          without the patch :
> Scan    : 14          14
> AscII   : 0x7f                0x08
> KeyIdnt : \127                \270
> 

I haven't been able to reproduce this (yet), but I believe I know what
is going on.   It looks like the german keymap is messed :(
I now actually obey the keymap better. . .

I'm not certain why the us keyboard currently works, it's mapping
looks equally messed. 
Anyway in the user overloadable keymappings, this should fix the delete:

 #keytable de
 keytable keyb-user {
   0=
- -     0,27,"1234567890",225,39,127,9,
+     0,27,"1234567890",225,39,8,9,
      "qwertzuiop",129,"+",13,0,"as",
      "dfghjkl",148,132,"^",0,"#yxcv",
      "bnm,.-",0,"*",0," ",0,0,0,0,0,0,
      0,0,0,0,0,0,0,0,0,0,"-",0,0,0,"+",0,
      0,0,0,0,0,0,"<",0,0,0,0,0,0,0,0,0,
      0
   shift 0=
- -     0,27,"!",34,156,"$%&/()=?",96,127,9,
+     0,27,"!",34,156,"$%&/()=?",96,8,9,
      "QWERTZUIOP",154,"*",13,0,"AS",
      "DFGHJKL",153,142,248,0,39,"YXCV",
      "BNM;:_",0,"*",0," ",0,0,0,0,0,0,
      0,0,0,0,0,0,0,0,0,0,"-",0,0,0,"+",0,
      0,0,0,0,0,0,">",0,0,0,0,0,0,0,0,0,
      0
   alt 0=
      0,0,0,253,252,0,0,0,"{[]}",92,0,0,0,
      "@",0,0,0,0,0,0,0,0,0,0,"~",13,0,0,0,
      0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
      0,0,230,0,0,0,0,0,0,0,0,0,0,0,0,0,
      0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
      0,0,0,0,0,0,"|",0,0,0,0,0,0,0,0,0,
      0
   numpad 0=
      "789-456+1230,"
 }



> and many other keys also reports other (false) dos scancodes as in the previous 
>version

Hmm. Hopefully it is problems in the keyboard mappings.
I have a regression test around for standard us keymappings.


> also the ibm-display codes (e.g. for norton commander) didn�t
> work (with the same dosemu.conf and without the patch -> no problem)

This may be due to a typo.  I'll look into it shortly.
I can just about reproduce that one.

The problem is either a logic but in src/env/video/terminal.c
function: set_char_set (It pretty simple. . .)
Or a bug in the mappings to unicode one of: 
src/base/translate/ibm_ascii.c
src/base/translate/cp437.c

Currently I map cp437_display to cp437_terminal.
for the ibm display.

I haven't yet run a regression check to make certain 
this results in the same display mappings as in src/env/video/terminal.h

I'm currently breaking my huge patch into a number of smaller ones.
So I can determine by backing out patches which patch introduced
the problem.

Once thats done I'll see what I can fix.

Eric


Thanks I'll clean these up as I break the patches up.
> 
> > Testers wanted.
> 
> tell me what to do, and i will try to help, because its important for me
> to get it work !
> 
> "Errors" while compiling the eb Version
> 
> serv_xlat.c: In function `init_scancode_translation_rules':
> serv_xlat.c:530: warning: unused variable `j'
Me.

> keymaps.c:22: warning: `is_a_console' declared `static' but never defined
> keymaps.c:23: warning: `open_a_console' declared `static' but never defined
> keymaps.c:24: warning: `getfd' declared `static' but never defined
> keymaps.c:25: warning: `dosemu_val' declared `static' but never defined
Temporarily commented out code to read the console keymap.

> keyb_slang.c:41: warning: type defaults to `int' in declaration of `pc_scancode_mode'
Oops. forgot a return type.

> keyb_clients.c: In function `paste_run':
> keyb_clients.c:49: warning: unused variable `ch'

> translate.c: In function `charset_to_unicode':
> translate.c:261: warning: comparison is always 1 due to limited range of data type
It doesn't like comparint unsigned values to >=0 but the code is clearer...

> translate.c: At top level:
> translate.c:298: warning: `get_ctext_char_set_piece' defined but not used
> translate.c:324: warning: `interpret_ctext_control' declared `static' but never 
>defined
Code for handling multi character set pasting in X.
Not yet completed.





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

From: [EMAIL PROTECTED]
Date: Thu, 28 Oct 1999 22:33:09 MET
Subject: Re: keyboard mapping

>From: "john huttley" <[EMAIL PROTECTED]>
>Date: Wed, 27 Oct 1999 21:09:47 +1300

>Concerning keyboard mapping,
>The PC keyboard sends a scancode when a key is pressed and the
>same code+128 when the key is released. This is mapped to the ascii

In rough approximation. It was on PC 83-key KB, and on PC/AT
84-key KB. Actually KB-s have over 100 keys, and they still
use same scancodes, with few exceptions. There is very little
new functionality (Windows keys) added, but there are several
keys which duplicate functionality of the others (additional
keypad between main keyboard and numeric keypad). They send
sequences which are recognized by PC not aware about these
new keys, but can be distinguished by newer ones. And these
sequences are much more complicated than your description.

And these scancodes we know, the rule (same code +128), are
not codes which KB-s send. It is yet another topic, but it
is irrelevant as far as we don't try to connect PC keyboard
to other machine and recognize what it sends. If I recall
correctly, break sends F0 followed by make code. On PC there
is a keyboard interface which converts codes...

> The catch is that when you first connect to a system the
> user must present a username and password,
> in ascii, and then enter a recognisable command at the shell prompt.
> Scancodes wont be acceptable there.
> Or will they?

I suppose it may depend on getty...
But a terminal might allow turning off the scancode mode for
few keypresses - is it switched by a command, or by hardware
switch? Can it be changed while terminal is powered up?

> Another possibility is to use wyse60 emulation and throw it in
> and out of PC-TERM mode using control codes. The old ms Word for
> SCO does this.  The catch with this is that sooner or later it will
> get out of sync and also how would you change VC's in that mode?

Maybe the proper way would be to make terminal sending scancodes
as escape sequences (like Esc nnn <terminator>, where nnn is the
scancode), which would be converted to normal characters unless
the application sets raw mode - then it would get them.
This feature should be controlled on terminal, so only when it
is switched on by user and application sets raw mode they can be
read to allow application get every scancode.

Jerzy

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

From: Curt Daugaard <[EMAIL PROTECTED]>
Date: Fri, 29 Oct 1999 05:48:36 -0500
Subject: Screen cursor in xdos disappears

When I run IBM Passport, a 3270 terminal emulator dialup package,
in an X window, as soon as I begin the session on the mainframe
host the screen cursor disappears.

When I run the application in dosemu in console mode the cursor
_is_ visible.  Unfortunately, I need access to mouse cut-and-paste.

I think I've tried every combination of video settings in the
conf file, but I'm open to new suggestions.

Any help would be much appreciated.


Curt Daugaard
[EMAIL PROTECTED]

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

From: Vladimir Klebanov <[EMAIL PROTECTED]>
Date: Fri, 29 Oct 1999 16:34:12 +0200
Subject: text color in vga mode

Hi,

I'am trying to run Space Quest in dosemu-0.98.7-1 on console. Everything
works really fine but for the text. White letters on black are readable but
black letters are not visible on white background at all (it's the same
font!). E.g. only the inverted current selection in the menu is visible.
Apart from that normal colors.

This makes the game... uhm... unplayable. Any hints?
Thanks in advance

Vladimir

Here is the video section of my dosemu.conf:

$_video = "vga"         # one of: plainvga, vga, ega, mda, mga, cga
$_console = (1)         # use 'console' video
$_graphics = (1)        # use the cards BIOS to set graphics
$_videoportaccess = (1) # allow videoportaccess when 'graphics' enabled
$_vbios_seg =  (0xc000) # set the address of your VBIOS (e.g. 0xe000)
$_vbios_size = (0x0e64) # set the size of your BIOS (e.g. 0x8000)
$_vmemsize = (1024)     # size of regen buffer
$_chipset = ""          # one of: plainvga, trident, et4000, diamond, avance
                        # cirrus, matrox, wdvga, paradise, ati, s3
$_dualmon = (0)         # if you have one vga _plus_ one hgc (2 monitors)

- -- 
Vladimir Klebanov  --   [EMAIL PROTECTED]
"To be natural is such a very difficult pose to keep up." -- Wilde

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

From: [EMAIL PROTECTED] (Eric W. Biederman)
Date: 29 Oct 1999 09:08:34 -0500
Subject: Re: DOSEMU with Windows

Christian Reis <[EMAIL PROTECTED]> writes:

> On Wed, 27 Oct 1999, Kragen Sitaker wrote:
> 
> > Some guy writes:
> > >   I have heard that it is possible to run Win3.x under Dosemu but not
> > > Win9x.  From what I can tell the only thing preventing it from running
> > > Win9x is that Dosemu won't let himem.sys take control of the A20 Line in
> > > the dosmem.  Is there a way to allow this?  Are you considering releasing
> > > a version that will run Win9x?  Please let me know.
> > 
> > No, the only thing preventing it is that dosemu emulates an 8086 using
> > v86 mode, more or less, while Win3.x in enhanced mode and Win9x
> > requires at least a 386.  Win3.x only runs in real mode under dosemu.
> 
> This is all fair and nice, but how are we able to run protected-mode games
> in Win95's dos boxen _and_ in DOSEMU? What are the different requirements
> at this point?

Dosemu currently doesn't support applications that run in other than ring-3
in protected mode.  Thus we can run DPMI applications, but not windows itself.

Eric

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

From: Meelis Magi <[EMAIL PROTECTED]>
Date: Fri, 29 Oct 1999 22:26:10 +0300
Subject: still dosemu & nfs

Hello [EMAIL PROTECTED]!

I asked a while ago about "access denied" in dosemu with nfs filesystem.
Somebody answered that this is a bug. How/when this "bug" can be fixed ?

Meelis


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

From: Curt Daugaard <[EMAIL PROTECTED]>
Date: Fri, 29 Oct 1999 18:35:44 -0500
Subject: Re: Screen cursor in xdos disappears

On Fri, Oct 29, 1999 at 07:00:09PM -0300, Alejandro Nestor Vargas wrote:
> 
> > When I run IBM Passport, a 3270 terminal emulator dialup package,
> > in an X window, as soon as I begin the session on the mainframe
> 
> Do you tryed X3270? Is better to use native software when it is possible...
> 
I've used X3270 in the past.  I only wish I could now.  The IBM hosts
I must access that serve my company are on a secure SNA network
that, from everything I can tell,  has to be logged onto via IBM's
proprietary dialup/emulator package.  No TCPIP access via the
internet.  :-(

Thanks for the suggestion.

Curt

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

From: elite box <[EMAIL PROTECTED]>
Date: Sat, 30 Oct 1999 22:14:47 +0200 (CEST)
Subject: dosemu and comports/modem

Heya,

First of all, great program! (dosemu) ....

Secondly, I used to run a 2 node bbs in two 'dos-boxes'
however, I changed to slackware 4.0 and ofcourse a new
version of dosemu, unfortunately I am having troubles
with accessing two comports at the same time. As long
as I start one dosemu session I can initialize both
modems (ofcourse I change my dosemu.conf to the correct
/dev/ttySx). But when I open a second dos box and try
to start up the software that should init my modem,
it fails. Is there a specific reason for this ??

Okay, hope you have the answer and I am waiting for
the sound support, that would be really great!

Tnx!

Marco

ps: desqview ??? :)))))



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

From: Reinhard Karcher <[EMAIL PROTECTED]>
Date: Mon, 1 Nov 1999 07:59:28 +0100
Subject: Re: text color in vga mode

At Fye, 29 Oct 1999 Vladimir Klebanov wrote:
> 
> Here is the video section of my dosemu.conf:
> 
> $_video = "vga"               # one of: plainvga, vga, ega, mda, mga, cga
> $_console = (1)               # use 'console' video
> $_graphics = (1)      # use the cards BIOS to set graphics
> $_videoportaccess = (1)       # allow videoportaccess when 'graphics' enabled
> $_vbios_seg =  (0xc000)       # set the address of your VBIOS (e.g. 0xe000)

> $_vbios_size = (0x0e64)       # set the size of your BIOS (e.g. 0x8000)
are you shure that your bios is as small as you wrote?

> $_vmemsize = (1024)   # size of regen buffer
> $_chipset = ""                # one of: plainvga, trident, et4000, diamond, avance
>                       # cirrus, matrox, wdvga, paradise, ati, s3
haven't you got a supported chipset?

Greetings
 Reinhard

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

From: "White, Bob" <[EMAIL PROTECTED]>
Date: Mon, 1 Nov 1999 07:01:21 -0600 
Subject: Autoexec.bat and Config.sys

Hi All,
I am trying to get dosemu 0.64 to run properly.
Does dosemu need an autoexec.bat or config.sys?  If so what do they contain?

I notice in version 0.98.8 the configuration is very different and that
autoexec.bat and config.sys are mentioned.  As opposed to version 0.64 which
make no mention of either.  I am confused. :-(


Any guidance would be greatly appreciated.

Bob White
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 


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

From: Andreas Schamanek <[EMAIL PROTECTED]>
Date: Mon, 1 Nov 1999 14:59:27 +0100 (MET)
Subject: Re: Autoexec.bat and Config.sys

On Mon, 1 Nov 1999, White, Bob wrote:

> I am trying to get dosemu 0.64 to run properly.
> Does dosemu need an autoexec.bat or config.sys?  If so what do they contain?

Hi, I am running 0.66 and here are the contents of my config.sys and
autoexec.bat:

C:\>type config.sys
rem this sets up the redirector to look at the Linux root directory.
rem this is probably not a good idea once you have dosemu installed
device=c:\emufs.sys /export/dosemu
device=c:\ems.sys
files=99

C:\>type autoexec.bat
echo off
echo "Welcome to dosemu 0.66!"


HTH,

- -- Andreas


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

From: Vladimir Klebanov <[EMAIL PROTECTED]>
Date: Mon, 1 Nov 1999 16:02:52 +0100
Subject: Re: text color in vga mode

Hi,

Reinhard Karcher wrote:
> > Here is the video section of my dosemu.conf:
> > 
> > $_video = "vga"             # one of: plainvga, vga, ega, mda, mga, cga
> > $_console = (1)             # use 'console' video
> > $_graphics = (1)    # use the cards BIOS to set graphics
> > $_videoportaccess = (1)     # allow videoportaccess when 'graphics' enabled
> > $_vbios_seg =  (0xc000)     # set the address of your VBIOS (e.g. 0xe000)
> 
> > $_vbios_size = (0x0e64)     # set the size of your BIOS (e.g. 0x8000)
> are you shure that your bios is as small as you wrote?

Ahem, sorry, this is junk. Should read 0x9000. Doesn't change anything
though.

> > $_vmemsize = (1024) # size of regen buffer
> > $_chipset = ""              # one of: plainvga, trident, et4000, diamond, avance
> >                     # cirrus, matrox, wdvga, paradise, ati, s3
> haven't you got a supported chipset?

I have a Riva TNT card from ASUS.

Does anyone have an idea what might be preventing dosemu from showing black
letters on white background while showing white letter on black background
fine?

Bye
Vladimir

- -- 
Vladimir Klebanov  --   [EMAIL PROTECTED]
"Thinking of using NT for your critical apps?
                                  Isn't there enough suffering in the world?"
                   (Advertisement of Sun Microsystems in Wall Street Journal)

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

From: mundy matthew <[EMAIL PROTECTED]>
Date: Mon, 1 Nov 1999 11:36:38 -0500
Subject: Mouse Detection

I am trying to get Titans of Steel to work under wine, but it reports that
it cannot detect the mouse.  I have all the configs correct(I think) with
a kensington ps/2 scroll mouse on a serial adaptor(for some reason it
isn't working on the ps/2 port) identifying it as microsoft(correct?) and
having com1 point to /dev/mouse.  Am I missing something?
                        Matt

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

From: [EMAIL PROTECTED] (Wolfgang Maron)
Date: Tue, 2 Nov 1999 10:49:27 +0100
Subject: dosemu

This is a multi-part message in MIME format.

- ------=_NextPart_000_0005_01BF251F.EF029140
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

My dosemu 0.98.6.0 (SuSE 6.1) works only on X not on Ascii. Can you help =
me? Thanks.

Wolfgang

- ------=_NextPart_000_0005_01BF251F.EF029140
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dwindows-1252" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3401" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>My dosemu 0.98.6.0 (SuSE 6.1) works =
only on X not=20
on Ascii. Can</FONT><FONT face=3DArial size=3D2> you help me? =
Thanks.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Wolfgang</FONT></DIV></BODY></HTML>

- ------=_NextPart_000_0005_01BF251F.EF029140--


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

From: Ryan Peters <[EMAIL PROTECTED]>
Date: Tue, 02 Nov 1999 18:24:14 -0500
Subject: (no subject)

Here's the error I get when running xdos or dos.

Error in /var/lib/dosemu/global.conf: (line 716) Disk-device/file
/var/lib/dosemu/hdimage.first disen't exsit.
1 error(s) detected while parsing the configuration-file.

I vi'ed the global.conf file.   I went to the 716th line and it ends up
being the last line in the file.
I am running RH 6.1 on a Winbook 586/233MMX notebook.

Ryan Peters


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

From: [EMAIL PROTECTED] =?ISO-8859-1?Q?(=BB=AA=C1=A2=B7=FE=CE=F1=CB=D9=B5=DD?=)
Date: Thu, 4 Nov 1999 09:03:44 +0800
Subject: =?ISO-8859-1?Q?=BB=AA=C1=A2=B7=FE=CE=F1?=

- ---SpringSun-attach-boundary-941677477---
Content-type: text/plain

��ӭʹ��  ��������
============================
http://www.wyol.huali-cn.com
============================
   ���������ǹ㶫ʡ�����������������һ����ҵ��
�������棬��¼�˽������ص����ļ��ټ���ҵ��ҵ��վ��
�����ڶ����ҵ������Ŀ����ҵ��Ѷ��������ҵ�ɹ���
��һ����

   ���ջ������ٴ��Իͣ�

��ӭʹ��  ��������
============================
http://www.wyol.huali-cn.com
============================



��л�����ġ��������񡷣������Ե�����µ�ַ���Ļ��˶�����������
http://www.shangshang.com/cgi-bin/emailer.pl?do=suborunsub&user=huali






���ʼ����������ʼ��б����ͣ����������۲�������������Ϣ���κι۵�
================================================================
 ��ӭʹ����������Ϣ���������������繤���ң������������廢��ϵͳ
                  http://www.liyangman.com/
- ----------------------------------------------------------------
����ʼ��б����ʼ�ʹ�ߡ��ļ�����ר�ҡ���վ����ר�ҡ���վ�ϴ�ר��

- ---SpringSun-attach-boundary-941677477-----

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

From: [EMAIL PROTECTED] =?ISO-8859-1?Q?(=BB=AA=C1=A2=B7=FE=CE=F1=CB=D9=B5=DD?=)
Date: Thu, 4 Nov 1999 09:03:44 +0800
Subject: =?ISO-8859-1?Q?=BB=AA=C1=A2=B7=FE=CE=F1?=

- ---SpringSun-attach-boundary-941677477---
Content-type: text/plain

��ӭʹ��  ��������
============================
http://www.wyol.huali-cn.com
============================
   ���������ǹ㶫ʡ�����������������һ����ҵ��
�������棬��¼�˽������ص����ļ��ټ���ҵ��ҵ��վ��
�����ڶ����ҵ������Ŀ����ҵ��Ѷ��������ҵ�ɹ���
��һ����

   ���ջ������ٴ��Իͣ�

��ӭʹ��  ��������
============================
http://www.wyol.huali-cn.com
============================



��л�����ġ��������񡷣������Ե�����µ�ַ���Ļ��˶�����������
http://www.shangshang.com/cgi-bin/emailer.pl?do=suborunsub&user=huali






���ʼ����������ʼ��б����ͣ����������۲�������������Ϣ���κι۵�
================================================================
 ��ӭʹ����������Ϣ���������������繤���ң������������廢��ϵͳ
                  http://www.liyangman.com/
- ----------------------------------------------------------------
����ʼ��б����ʼ�ʹ�ߡ��ļ�����ר�ҡ���վ����ר�ҡ���վ�ϴ�ר��

- ---SpringSun-attach-boundary-941677477-----

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

From: [EMAIL PROTECTED] (Eric W. Biederman)
Date: 04 Nov 1999 09:42:55 -0600
Subject: Re: (no subject)

Ryan Peters <[EMAIL PROTECTED]> writes:

> Here's the error I get when running xdos or dos.
> 
> Error in /var/lib/dosemu/global.conf: (line 716) Disk-device/file
> /var/lib/dosemu/hdimage.first disen't exsit.
> 1 error(s) detected while parsing the configuration-file.

set: $_hdimage in /etc/dosemu.conf
> 
> I vi'ed the global.conf file.   I went to the 716th line and it ends up
> being the last line in the file.
> I am running RH 6.1 on a Winbook 586/233MMX notebook.
> 
> Ryan Peters

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

From: [EMAIL PROTECTED] (Eric W. Biederman)
Date: 04 Nov 1999 09:44:11 -0600
Subject: Re: dosemu

[EMAIL PROTECTED] (Wolfgang Maron) writes:

> My dosemu 0.98.6.0 (SuSE 6.1) works only on X not on Ascii. Can you help =
> me? Thanks.

Not with such a minimal bug report.
It would require a description of what you are trying to do
and what doesn't work for you.
And probably your settings in /etc/dosemu.conf

Eric

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

From: Lee Allen <[EMAIL PROTECTED]>
Date: Thu, 04 Nov 1999 12:34:25 -0500
Subject: MS-C 6.00 under dosemu: can't find include files

I have just installed dosemu, initially to do only one thing:
compile Assembler, Basic, and C programs for DOS.

My assembler and Basic compilers are working just fine under dosemu, but
my C compiler is not.
Due to the ancient version of Basic we use, I have to use an equally
ancient version of C:
Microsoft C version 6.0.

When I try to compile a program, I receive this error:

ncpsubs.c(1) : fatal error C1024: cannot open include file 'stdio.h'

I have "SET INCLUDE=C:\C600\INCLUDE;", and STDIO.H is right there.
C: is the DOSEMU disk, so there's no issue of permissions or anything.

I have run the "strings" command against the compiler to see if it has
any of the forbidden words in it (vcpi, pharlap, win32s) and it does
not.
My dosemu is version 0.98.5.0 running under Caldera 2.2 (kernel 2.2.5).

Can any one help me?

- -Lee Allen
[EMAIL PROTECTED]


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

From: [EMAIL PROTECTED] (Imre Lebr)
Date: Thu, 4 Nov 1999 18:50:09 +0100 (MET)
Subject: detecting dosemu

I am currently working on defrag for FreeDOS and i was wondering if
anybody on this list would know how i could detect if my program is
running under dosemu.

Imre


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

From: "H.B" <[EMAIL PROTECTED]>
Date: Thu, 04 Nov 1999 22:51:48 +0200
Subject: printing problem

I have problem with printing Im using HP Laserjet 6L
starting dosemu it shows me error
C:\>lpr: LPT1: unknown printer
this is my dosemu.conf
please correct me if there is something wrong

$_printer = "LPT1"                                 # list of
(/etc/printcap) printer names to appear as
                                                              # LPT1,
LPT2, LPT3 (not all are needed, empty for none)
$_printer_timeout = (20)                        # idle time in seconds
before spooling out
$_ports = "    " $_ports = $_ports, " device /dev/lp0 fast range 0x3bc
  0x3bf"                                                  # lp0
$_ipxsupport = (off)                               # off or on
$_novell_hack = (off)
$_vnet = (off)                                         # 'on' for
packet-multi (used by dosnet)

Thank you for any help


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

From: "EDA Intouch" <[EMAIL PROTECTED]>
Date: Thu, 4 Nov 1999 17:01:18 -0500
Subject: Re: Replacing LANtastic...

David,

Your option #1 (copied below) would be ideal, but with what I read about
Linux, we would have to keep MS-DOS.  No?

> 1. replace MS-DOS and Lantastic with Linux on the client and server

Option #3, (copied below) would be the alternative.  At least we would be
able to get rid of the LANtastic part of the architecture.

> 3. continue to run MS-DOS on the clients but replace the Lantastic Server
> with a Linux server (Linux needs an 80386 or better so if you want to
> continue using your existing clients and they are not 80386 or better this
> is the only option)


Thanks for the response(s)!

David Archer


- ----- Original Message -----
From: David Hodges <[EMAIL PROTECTED]>
To: EDA Intouch <[EMAIL PROTECTED]>
Sent: Thursday, November 04, 1999 11:36 AM
Subject: Re: Replacing LANtastic...


> > We have a MS-DOS and LANtastic (7.x or 8.0) client-server based touch =
> > screen POS system.  Nodes typically boot from a floppy, load the app =
> > from the LANtastic server and then either print locally or through =
> > global print resources shared off the server.
> >
> > Question -- would it be possible to use DOSemu and Linux to recreate =
> > such an architecture?
> >
> > I recognize that my description is pretty brief but any response would =
> > be greatly appreciated.
> >
> > David Archer
> > [EMAIL PROTECTED]
>
> I'm not sure which of the following you want to do:
> 1. replace MS-DOS and Lantastic with Linux on the client and server
> 2. use existing clients (80386 or better), replacing MS-DOS with Linux and
> keep the LANtastic server
> 3. continue to run MS-DOS on the clients but replace the Lantastic Server
> with a Linux server (Linux needs an 80386 or better so if you want to
> continue using your existing clients and they are not 80386 or better this
> is the only option)
>
> Please Cc: your reply to [EMAIL PROTECTED] as there is probably
> somebody on that list who can answer your question better than me.
>
>


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

From: "ROMEO MARCULESCU" <[EMAIL PROTECTED]>
Date: Fri, 5 Nov 1999 14:13:36 +0200
Subject: help to dosemu 

This is a multi-part message in MIME format.

- ------=_NextPart_000_004C_01BF2797.F32841F0
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: 7bit



- ------=_NextPart_000_004C_01BF2797.F32841F0
Content-Type: text/plain;
        name="Help.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
        filename="Help.txt"

Hello!=0A=
=0A=
        My name is Liviana and I am a beginner in using DOSEMU. I downloaded =
0.66.7 version 2 weeks ago because=0A=
I need to run 2 DOS applications (under TurboLinux release 1.2 Hokkaido =
- - Kernel 2.0.33), in order not to use=0A=
Windows anymore. Unfortunatelly, there are some problems with their =
running and that's why I am deeply asking=0A=
your help. Here is the whole story: =0A=
        The first application, named "Jurnal" use its own Pascal, C functions =
and also its database. To access=0A=
XMS, it needs emm386.exe for running properly, but when Jurnal is =
launced the message "XMS not installed press=0A=
any key" is written on my screen. After pressing any key I am back on =
Dos prompt.Do I need some patch to XMS=0A=
for himem compatibility? Where can I get it from?=0A=
        The second application, named "Gestmar" use the PXEngine Paradox =
functions file and also Paradox=0A=
databases. I can't run it because of this error: "PXEngine Error:14 =
Single user but directory is shared".=0A=
        I have to tell you that neither these applications are made by myself. =
I am sending you the dosemu.conf=0A=
file to see if there is something missing or needed to be add. Please =
send me an answer as soon as you can=0A=
because I am really stucked and I don't know what to do. :-(=0A=
=0A=
Thank you very much.=0A=
Faithfully,=0A=
Liviana.=0A=

- ------=_NextPart_000_004C_01BF2797.F32841F0--


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

From: Wojtek Pilorz <[EMAIL PROTECTED]>
Date: Fri, 5 Nov 1999 14:51:13 +0100 (CET)
Subject: Re: detecting dosemu

On Thu, 4 Nov 1999, Imre Lebr wrote:

> Date: Thu, 4 Nov 1999 18:50:09 +0100 (MET)
> From: Imre Lebr <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: detecting dosemu
> 
> I am currently working on defrag for FreeDOS and i was wondering if
> anybody on this list would know how i could detect if my program is
> running under dosemu.
> 
> Imre
> 
Please look at the isemu.c from src/commands directory.

If you do not have convenient access to dosemu source code,
please mail in privately and I will forward this file.

Best regards,

Wojtek
- --------------------
Wojtek Pilorz
[EMAIL PROTECTED]



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

From: Steve Isaacs <[EMAIL PROTECTED]>
Date: Fri, 05 Nov 1999 06:01:31 -0800
Subject: Re: detecting dosemu

Try this: At the address F000:FFE0 you should see the pattern $DOSEMU$.
You can use debug to see what I mean. This is normally BIOS ROM which is
apparently is part of the emulation under dosemu.

Steve

Wojtek Pilorz wrote:
> 
> On Thu, 4 Nov 1999, Imre Lebr wrote:
> 
> > Date: Thu, 4 Nov 1999 18:50:09 +0100 (MET)
> > From: Imre Lebr <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Subject: detecting dosemu
> >
> > I am currently working on defrag for FreeDOS and i was wondering if
> > anybody on this list would know how i could detect if my program is
> > running under dosemu.
> >
> > Imre
> >
> Please look at the isemu.c from src/commands directory.
> 
> If you do not have convenient access to dosemu source code,
> please mail in privately and I will forward this file.
> 
> Best regards,
> 
> Wojtek
> --------------------
> Wojtek Pilorz
> [EMAIL PROTECTED]

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

From: Imre Lebr <[EMAIL PROTECTED]>
Date: Fri, 5 Nov 1999 15:04:21 +0100 (MET)
Subject: Re: detecting dosemu

On Fri, 5 Nov 1999, Wojtek Pilorz wrote:

Thanx, this helps me very much. It seems that there is a file called
detect.h which has everything i need. I will take this file to start
working on a routine called InDOSemu(). This means i will mostly rewrite
this to fit into my program. The result will of course be licensed
under GNU GPL (as most of the FreeDOS utilities are).

For those who ask themselves what defrag has to do with DOSemu, well
FreeDOS is supposed to be the standard DOS for DOSemu, and DOS and Linux
use completely different file systems, it would not be very clean to have
a DOSemu session running defrag killed by Linux and therefore i am first
checking to see wether my program is running under DOSemu and if it is,
my program will never even start up.  

Imre


> On Thu, 4 Nov 1999, Imre Lebr wrote:
> 
> > Date: Thu, 4 Nov 1999 18:50:09 +0100 (MET)
> > From: Imre Lebr <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Subject: detecting dosemu
> > 
> > I am currently working on defrag for FreeDOS and i was wondering if
> > anybody on this list would know how i could detect if my program is
> > running under dosemu.
> > 
> > Imre
> > 
> Please look at the isemu.c from src/commands directory.
> 
> If you do not have convenient access to dosemu source code,
> please mail in privately and I will forward this file.
> 
> Best regards,
> 
> Wojtek
> --------------------
> Wojtek Pilorz
> [EMAIL PROTECTED]
> 
> 
> 


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

From: "Jarno Kesteloo" <[EMAIL PROTECTED]>
Date: Fri, 5 Nov 1999 15:56:58 +0100
Subject: HELP ME PLEASE!!!

Hello,

I have a big problem with DOSEMU into a network.
First I have a Samba server for sharing a part off the servers-harddisk.
Second I use smbmount on the client for mount the part off the
servers-harddisk.
Now I will use DOSEMU 0.99.13 for start a dos-program from the mount-path
that I have mount with smbmount.
So, when I do that with 2 clients or more I can not lock files.

PLEASE CAN YOU HELP ME WITH THIS???

Greetings Jarno, please mail me back to [EMAIL PROTECTED]



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

From: Wojtek Pilorz <[EMAIL PROTECTED]>
Date: Fri, 5 Nov 1999 15:53:48 +0100 (CET)
Subject: Re: detecting dosemu

On Fri, 5 Nov 1999, Imre Lebr wrote:

> Date: Fri, 5 Nov 1999 15:04:21 +0100 (MET)
> From: Imre Lebr <[EMAIL PROTECTED]>
> To: Wojtek Pilorz <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: detecting dosemu
> 
> On Fri, 5 Nov 1999, Wojtek Pilorz wrote:
> 
> Thanx, this helps me very much. It seems that there is a file called
> detect.h which has everything i need. I will take this file to start
> working on a routine called InDOSemu(). This means i will mostly rewrite
> this to fit into my program. The result will of course be licensed
> under GNU GPL (as most of the FreeDOS utilities are).
> 
> For those who ask themselves what defrag has to do with DOSemu, well
> FreeDOS is supposed to be the standard DOS for DOSemu, and DOS and Linux
> use completely different file systems, it would not be very clean to have
> a DOSemu session running defrag killed by Linux and therefore i am first
> checking to see wether my program is running under DOSemu and if it is,
> my program will never even start up.  
Well, maybe defrag could work for DOS filesystems implemented as hdimages?
It would be sometimes really useful ...

Until recently, filesystems (or drives) visible under dosemu through
redirection (lredir or emufs.sys) were reported as network file systems,
and those using hdimages or partition access as local;
For example if I have C: disk from hdimage and E: disk added via lredir,
subst reported as follows:

E:\TTOH>subst k: c:\

E:\TTOH>subst
K: => C:\

E:\TTOH>subst i: e:\
Cannot SUBST a network drive

I am not sure how is emulated hdimage implemented in newer dosemu versions
reported by DOSEMU, as I have not tried that yet.

If people are using both (some kind of) DOS and Linux on their PCs,
using command like defrag where technically  possible would be 
sometimes useful.


Best regards,

Wojtek

> 
> Imre
> 
> 
> > On Thu, 4 Nov 1999, Imre Lebr wrote:
> > 
> > > Date: Thu, 4 Nov 1999 18:50:09 +0100 (MET)
> > > From: Imre Lebr <[EMAIL PROTECTED]>
> > > To: [EMAIL PROTECTED]
> > > Subject: detecting dosemu
> > > 
> > > I am currently working on defrag for FreeDOS and i was wondering if
> > > anybody on this list would know how i could detect if my program is
> > > running under dosemu.
> > > 
> > > Imre
> > > 
> > Please look at the isemu.c from src/commands directory.
> > 
> > If you do not have convenient access to dosemu source code,
> > please mail in privately and I will forward this file.
> > 
> > Best regards,
> > 
> > Wojtek
> > --------------------
> > Wojtek Pilorz
> > [EMAIL PROTECTED]
> > 
> > 
> > 
> 


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

From: [EMAIL PROTECTED]
Date: Fri, 05 Nov 1999 18:32:23 MET
Subject: RE: printing problem

>Date: Thu, 04 Nov 1999 22:51:48 +0200
>From: "H.B" <[EMAIL PROTECTED]>
> starting dosemu it shows me error
> C:\>lpr: LPT1: unknown printer
> this is my dosemu.conf
> please correct me if there is something wrong
>
> $_printer = "LPT1"                                 
> # list of (/etc/printcap) printer names to appear as
> # LPT1, LPT2, LPT3 (not all are needed, empty for none)

Of course here is the error! It is not LPT1 what you are
to put in the entry; the comment says what you put there
will be seen as LPT1 by DOS programs. And it must be
defined in /etc/printcap. Oh, in some case it can be
correct: if you use name "LPT1" in /etc/printcap as the
name of printer. Usually there is one printer named "lp".

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

From: "Admin A. Adminoviskiy" <[EMAIL PROTECTED]>
Date: Sat,  6 Nov 1999 15:17:11 +0300
Subject: crash after set $_ipxsupport

 Hi everybody !

I have strange problem. My dosemu crushed after a few minutes work with my
program ( reindex several 100 Mb dbf files ) when I set $_ipxsupport = (on).
My Fox Pro 2.6 program works on local disk in extension mode (foxprox.exe)
but $_ipxsupport influence on it.

The message after crush is :

ERROR: unexpected CPU exception 0x0c errorcode: 0x00000000 while in vm86 (DOS)
Program=sigsegv.c, line 250
.........
.........
etc

Can you help me ?

                   Thanks
                                                                    Sergey

P.S. Dosemu 0.99.13, RH 6.0, kernel 2.2.12
I  attached my dosemu.conf, config.sys, autoexec.bat to end of my letter.

dosemu.conf
- ------------------------------------------------------------------------------

$_debug = "-a"          # same format as -D commandline option
                        # (but without the -D in front)
$_features= ""          # list of temporary hacks, see release notes in
                        # the file ChangeLog. e.g "0:1 2:0", which means
                        # to set feature_0 to 1 and feature_2 to 0.
$_timint = (on)         # emulate INT08 type timer interrupts
$_mathco = (on)         # or off
$_cpu = "80386"         # CPU showing to DOS, valid values:  "80[345]86"
                        # or "emulated" for non-native CPU (386 in this case)

$_rdtsc = (on)          # if possible use Pentium cycle counter
$_cpuspeed = (0)        # 0 = calibrated by dosemu, else given (e.g.166.666)
$_pci = (off)

$_xms = (4096)          # in Kbyte
$_ems = (4096)          # in Kbyte
$_ems_frame = (0xe000)
$_dpmi = (8192)         # in Kbyte
$_dosmem = (640)        # in Kbyte, < 640
$_hardware_ram = ""     # list of segment values/ranges such as
                        # "0xc8000 range 0xcc000,0xcffff"

$_secure ="ngd"         # secure for: n (normal users), g (guest), d (dexe)
                        # empty string: depending on 'restricted'
                        # "0": always insecure (not recommended)
$_odd_hosts = ""        # black list such as "lucifer.hell.com billy.the.cat"
$_diskless_hosts=""     # black list such as "hacker1 newbee gateway1"

$_emusys = ""           # empty or 3 char., config.sys   -> config.XXX
$_emubat = ""           # empty or 3 char., autoexec.bat -> autoexec.XXX
$_emuini = ""           # empty or 3 char., system.ini   -> system.XXX

$_hogthreshold = (1)    # 0 == all CPU power to DOSEMU
$_irqpassing = ""       # list of IRQ number (2-15) to pass to DOS such as
                        # "3 8 10"
$_speaker = ""          # or "native" or "emulated"


$_term_char_set = ""    # Global code page and character set selection.
                        # "" == automatic, else: ibm, latin, latin1, latin2

$_term_color = (on)     # terminal with color support
$_term_updfreq = (4)    # time between refreshs (units: 20 == 1 second)
$_escchar = (30)        # 30 == Ctrl-^, special-sequence prefix

$_rawkeyboard = (1)     # bypass normal keyboard input, maybe dangerous
$_layout = "auto"       # one of: finnish(-latin1), de(-latin1), be, it, us
                        # uk, dk(-latin1), keyb-no, no-latin1, dvorak, po
                        # sg(-latin1), fr(-latin1), sf(-latin1), es(-latin1)
                        # sw, hu(-latin2), hu-cwi, keyb-user
                        # hr-cp852, hr-latin2, cz-qwerty, cz-qwertz.
                        # Or 'auto' (which tries to generate the table from
                        # the current Linux console settings)
$_keybint = (on)        # emulate PCish keyboard interrupt


$_X_updfreq = (5)       # time between refreshs (units: 20 == 1 second)
$_X_title = "DOS in a BOX"      # Title in the top bar of the window
$_X_icon_name = "xdos"  # Text for icon, when minimized
$_X_keycode = (auto)    # on == translate keybord via dosemu keytables
                        # or 'off' or 'auto'
$_X_blinkrate = (8)     # blink rate for the cursor
$_X_font = ""           # basename from /usr/X11R6/lib/X11/fonts/misc/*
                        # (without extension) e.g. "vga"
$_X_mitshm = (on)       # Use shared memory extensions
$_X_sharecmap = (off)   # share the colormap with other applications
$_X_fixed_aspect = (on) # Set fixed aspect for resize the graphics window
$_X_aspect_43 = (on)    # Always use an aspect ratio of 4:3 for graphics
$_X_lin_filt = (off)    # Use linear filtering for >15 bpp interpolation
$_X_bilin_filt = (off)  # Use bi-linear filtering for >15 bpp interpolation
$_X_mode13fact = (2)    # initial size factor for video mode 0x13 (320x200)
$_X_winsize = ""        # "x,y" of initial windows size (defaults to float)
$_X_gamma = (1.0)       # gamma correction
$_X_vgaemu_memsize = (1024) # size (in Kbytes) of the frame buffer for emulated vga
$_X_lfb = (on)  # use linear frame buffer in VESA modes
$_X_pm_interface = (on) # use protected mode interface for VESA modes
$_X_mgrab_key = ""      # KeySym name to activate mouse grab, empty == off
$_X_vesamode = ""       # "xres,yres ... xres,yres"
                        # List of vesamodes to add. The list has to contain
                        # SPACE separated "xres,yres" pairs



$_video = "vga"         # one of: plainvga, vga, ega, mda, mga, cga
$_console = (0)         # use 'console' video
$_graphics = (1)        # use the cards BIOS to set graphics
$_videoportaccess = (0) # allow videoportaccess when 'graphics' enabled
$_vbios_seg = (0xc000)  # set the address of your VBIOS (e.g. 0xe000)
$_vbios_size = (0x10000)# set the size of your BIOS (e.g. 0x8000)
$_vmemsize = (1024)     # size of regen buffer
$_chipset = ""          # one of: plainvga, trident, et4000, diamond, avance
                        # cirrus, matrox, wdvga, paradise, ati, s3
$_dualmon = (0)         # if you have one vga _plus_ one hgc (2 monitors)


$_vbootfloppy = ""      # if you want to boot from a virtual floppy:
                        # file name of the floppy image under /var/lib/dosemu
                        # e.g. "floppyimage" disables $_hdimage
                        #      "floppyimage +hd" does _not_ disable $_hdimage
$_floppy_a ="threeinch" # or "fiveinch" or "atapi" or empty, if not existing
                        # optionally the device may be appended such as
                        # "threeinch:/dev/fd0"
$_floppy_b = ""         # dito for B:

$_hdimage = "hdimage hdimage.first" # list of hdimages under /var/lib/dosemu
#$_hdimage = "hdimage " # list of hdimages under /var/lib/dosemu
                        # assigned in this order such as
                        # "hdimage_c hdimage_d hdimage_e"
                        # If the name begins with '/dev/', then partion
                        # access is done instead of virtual hdimage such as
                        # "/dev/hda1" or "/dev/hda1:ro" for readonly
                        # Currently mounted devices and swap are refused.
                        # Hdimages and devices may be mixed such as
                        # "hdimage_c /dev/hda1 /dev/hda3:ro"
                        # Note: 'wholedisk' is _not_ supported.
$_hdimage_r = $_hdimage # hdimages for 'restricted access (if different)

$_aspi = ""             # list of generic SCSI devices to make available
                        # for the builtin aspi driver (format of an entry
                        # is 'device:type:mappedtarget' such as
                        # "sg2:WORM sg3:Sequential-Access:6 sg4:CD-ROM" or
                        # "sg2:4 sg3:1:6 sg4:5" (which are equal)

$_com1 = "/dev/ttyD0"   # e.g. "/dev/mouse" or "/dev/cua0"
#$_com1 = ""            # e.g. "/dev/mouse" or "/dev/cua0"
$_com2 = ""             # e.g. "/dev/modem" or "/dev/cua1"
$_com3 = ""             # dito                 "/dev/cua2"
$_com4 = ""             # dito                 "/dev/cua3"
$_ttylocks = ""         # Lock directory (e.g. "/var/lock")
                        # default ("") is /usr/spool/uucp

$_mouse = ""            # one of: microsoft, mousesystems, logitech, mmseries
                        # mouseman, hitachi, busmouse, ps2
$_mouse_dev = ""        # one of: com1, com2, com3, com4 or /dev/mouse
$_mouse_flags = ""      # list of none or one or more of:
                        # "emulate3buttons cleardtr"
$_mouse_baud = (0)      # baudrate, 0 == don't set

$_printer = "lp"        # list of (/etc/printcap) printer names to appear as
                        # LPT1, LPT2, LPT3 (not all are needed, empty for none)
$_printer_timeout = (20)# idle time in seconds before spooling out

$_ports = ""            # list of portnumbers such as "0x1ce 0x1cf 0x238"
                        # or "0x1ce range 0x280,0x29f 310"
                        # or "range 0x1a0,(0x1a0+15)"

$_ipxsupport = (on)     # or on
$_novell_hack = (off)
$_vnet = (off)          # 'on' for packet-multi (used by dosnet)

$_sound = (off)         # sound support on/off
$_sb_base = (0x220)
$_sb_irq = (5)
$_sb_dma = (1)
$_sb_dsp = "/dev/dsp"
$_sb_mixer = "/dev/mixer"
$_mpu_base = "0x330"

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

config.sys
- ---------------------------------------------------------------------------

device=c:\emufs.sys /aa
device=c:\ems.sys
files=200
lastdrive=z

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

autoexec.bat
- --------------------------------------------------------------------------

c:\keyrus
lredir l: linux\fs
e:\nc5\nc
c:\exitemu

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



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

From: "Admin A. Adminoviskiy" <[EMAIL PROTECTED]>
Date: Sat,  6 Nov 1999 15:54:26 +0300
Subject: crush after set $_ipxsupport

 Hi everybody !

I have strange problem. My dosemu crushed after a few minutes work with my
program ( reindex several 100 Mb dbf files ) when I set $_ipxsupport = (on).
My Fox Pro 2.6 program works on local disk in extension mode (foxprox.exe)
but $_ipxsupport influence on it.

The message after crush is :

ERROR: unexpected CPU exception 0x0c errorcode: 0x00000000 while in vm86 (DOS)
Program=sigsegv.c, line 250
.........
.........
etc

Can you help me ?

                   Thanks
                                                                    Sergey

P.S. Dosemu 0.99.13, RH 6.0, kernel 2.2.12
I  attached my dosemu.conf, config.sys, autoexec.bat to end of my letter.



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

From: "Andreas Hasenack" <[EMAIL PROTECTED]>
Date: Sat, 6 Nov 1999 12:09:47 -0200
Subject: Re: crush after set $_ipxsupport

>I have strange problem. My dosemu crushed after a few minutes work with my
>program ( reindex several 100 Mb dbf files ) when I set $_ipxsupport =
(on).
>My Fox Pro 2.6 program works on local disk in extension mode (foxprox.exe)
>but $_ipxsupport influence on it.
>
>The message after crush is :
>
>ERROR: unexpected CPU exception 0x0c errorcode: 0x00000000 while in vm86
(DOS)
>Program=sigsegv.c, line 250

Do you have IPX installed correctly? Have you tried modprobe ipx before
running dosemu? Or is IPX compiled into the kernel?
Is your interface supporting IPX? (ifconfig etho)
Have you tried
ipx_interface add -p eth0 802.2
(replace 802.2 with the frame type you are using)
can you see any netware server with slist?



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

From: "Admin A. Adminoviskiy" <[EMAIL PROTECTED]>
Date: Sat,  6 Nov 1999 18:33:14 +0300
Subject: re: crash after set $_ipxsupport

>>I have strange problem. My dosemu crushed after a few minutes work with my
>>program ( reindex several 100 Mb dbf files ) when I set $_ipxsupport =
>>(on).
>>My Fox Pro 2.6 program works on local disk in extension mode (foxprox.exe)
>>but $_ipxsupport influence on it.
>>
>>The message after crush is :
>>
>ERROR: unexpected CPU exception 0x0c errorcode: 0x00000000 while in vm86
>>(DOS)
>>Program=sigsegv.c, line 250

>Do you have IPX installed correctly?

Probably :-)

>Have you tried modprobe ipx before
>running dosemu?
>Or is IPX compiled into the kernel?
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Yes

>Is your interface supporting IPX? (ifconfig etho)

Yes

>Have you tried
>ipx_interface add -p eth0 802.2
>(replace 802.2 with the frame type you are using)
>can you see any netware server with slist?

All

I can succesfully run ncpmount and netx.exe, login.exe, map.exe, syscon.exe
inside dosemu but my program crushes dosemu.

                                                              Sergey


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

From: Daniel McKinnon <[EMAIL PROTECTED]>
Date: Sun, 07 Nov 1999 19:32:02 -0800
Subject: Disk Images And Disk Drives

Hi,  I've been experimenting with DOSemu for about a month now,  and I
can't seem to get it to work
the way that I want it to.

After running it through the FREEDOS Disk image,  I found it rather
pointless,  because I couldn't add to the OS,
so, I tried to download FreeDos from thier webpage,  the mini
distribution,  but then I came across another problem!
The Floppy Disk Doesn't work!  I tried changing the variable that says
"Threeinch" to "Threeinch:/dev/fd0",  but all it did
was load the disk for a few seconds,  then stall out.

So,  I was wondering how to extract the disk Image to a directory on my
hdd.  Someone said to use the command "dd"  but
I couldn't figure it out.

Dosemu came with my distribution RedHat 6.0 for Intel  I believe I have
0.99.10-4  (or so the package says)
(using my other partition,  when I still had Windows installed,  seemed
to work,  sorta'  but now I don't have that)

I know, I'm probably doing something wrong,  maybe, can I run programs
on my real filesystem,
rather than from the disk image,  but use the disk image as the OS?  (I
don't know,  did that sound confusing?)

It looks good!  and Nicely customizable.  I think I might write some
add-on software for customizing it,  and stuff.

Thank you.


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

From: UNIXMAN <[EMAIL PROTECTED]>
Date: Sun, 7 Nov 1999 23:50:38 -0500 (EST)
Subject: Re: Disk Images And Disk Drives

It seems version 99.10 won't read the floppy, etc since it's a developer 
release, it's beyond me why they included it with RH 6.0, I assume it was 
a mistake but they have included it with 6.1 now too.  I've emailed them 
about this but of course, no action, no reply.  Last time I checked it 
wasn't even in the errata.  You'll have to get the stable version, and 
BTW don't use freedos if you have a real version of dos to use.

On Sun, 7 Nov 1999, Daniel McKinnon wrote:

> Hi,  I've been experimenting with DOSemu for about a month now,  and I
> can't seem to get it to work
> the way that I want it to.
> 
> After running it through the FREEDOS Disk image,  I found it rather
> pointless,  because I couldn't add to the OS,
> so, I tried to download FreeDos from thier webpage,  the mini
> distribution,  but then I came across another problem!
> The Floppy Disk Doesn't work!  I tried changing the variable that says
> "Threeinch" to "Threeinch:/dev/fd0",  but all it did
> was load the disk for a few seconds,  then stall out.
> 
> So,  I was wondering how to extract the disk Image to a directory on my
> hdd.  Someone said to use the command "dd"  but
> I couldn't figure it out.
> 
> Dosemu came with my distribution RedHat 6.0 for Intel  I believe I have
> 0.99.10-4  (or so the package says)
> (using my other partition,  when I still had Windows installed,  seemed
> to work,  sorta'  but now I don't have that)
> 
> I know, I'm probably doing something wrong,  maybe, can I run programs
> on my real filesystem,
> rather than from the disk image,  but use the disk image as the OS?  (I
> don't know,  did that sound confusing?)
> 
> It looks good!  and Nicely customizable.  I think I might write some
> add-on software for customizing it,  and stuff.
> 
> Thank you.
> 
> 

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

End of linux-msdos-digest V1 #160
*********************************

To subscribe to linux-msdos-digest, send the command:

Reply via email to