linux-msdos-digest        Thursday, 29 April 1999      Volume 01 : Number 140

In this issue:

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

From: zzhimuel <[EMAIL PROTECTED]>
Date: Tue, 20 Apr 1999 16:05:56 +0200 (MET DST)
Subject: Re: netx.exe under dosemu

Hello !

If you have compiled the IPX-Protocoll into your Server, it is possible,
that have not the permissions to access the Novell-Server from YOUR PC, or
that you need more than one connection form your PC to the Server.
Perhaps, ask your Administrator, if you have that permissions, I hadn`t
;-)

wys

Tobias





> Hello, I have  dosemu-0.98.1-2 with  dosemu-freedos-0.98.1-2 on Red Hat
> 5.2.
> I try to login on  Netware 3.12 with it. I configured  ipx on my  linux
> system and in dosemu.conf and I copied  netx.exe  to the dosemu
> partition.
> 
> 
> When  I start netx it starts to login to the novell server but then it
> hangs.
> 
> It looks like this:
> 
> 
>    C:\BIN>netx
> 
>    NetWare Workstation Shell  v3.32 (931117) PTF
>   (  C) Copyright 1993 Novell, Inc.  All Rights Reserved.
>   Patent Pending.
> 
>    Running on DOS V3.31
> 
>    Attached to server NLHAGS02
>    04-20-99    2:30:20 pm
> 
> 
> 
> And then I don`t get my prompt back.
> 
> 
> Does anybody know what could be wrong ?
> 
> 
> Thanks in advance for the answer.
> 
> 
> Maurice Mahieu
> 
> 
> 
> 
> 
> 
> 
> 
> 


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

From: [EMAIL PROTECTED] (David Hodges)
Date: Thu, 22 Apr 1999 17:52:46 +1200 (NZST)
Subject: Re: netx.exe under dosemu

> Hello, I have  dosemu-0.98.1-2 with  dosemu-freedos-0.98.1-2 on Red Hat
> 5.2.
> I try to login on  Netware 3.12 with it. I configured  ipx on my  linux
> system and in dosemu.conf and I copied  netx.exe  to the dosemu
> partition.
> 
> 
> When  I start netx it starts to login to the novell server but then it
> hangs.

It says in the README.txt that lredir doesn't work with FreeDOS because 
FreeDOS doesn't have a working redirector yet. Presumably Novell networking
also won't work with FreeDOS for the same reason.
You could try DR-DOS from www.calderathin.com/dosemu/index.html instead
of FreeDOS.

> 
> It looks like this:
> 
> 
>    C:\BIN>netx
> 
>    NetWare Workstation Shell  v3.32 (931117) PTF
>   (  C) Copyright 1993 Novell, Inc.  All Rights Reserved.
>   Patent Pending.
> 
>    Running on DOS V3.31
> 
>    Attached to server NLHAGS02
>    04-20-99    2:30:20 pm
> 
> 
> 
> And then I don`t get my prompt back.



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

From: R Talbot <[EMAIL PROTECTED]>
Date: Wed, 21 Apr 1999 01:36:33 -0400
Subject: 5250 card unable to find

General Posting for help.............................
 I am using caldera 1.2 & 1.3 which installs
with Caldera Dos v7.02 using DOSEMU v 0.66.7..
 I have one requirement of Dos under Linux,
That is to run a Dos 5250 emulator program.
The program runs operates is own ISA
emulator card at port 0x368 at mem D000 ..
 The program runs flawlessly and connects to
the AS/400 under MSDOS..DOS in WIN 3.1..
DOS in OS/2  or even DOS in WIN-OS/2..
All on the same machine..
  However in Dos under LINUX I get the  error
message  ..UNABLE TO FIND 5250 CARD..

 In my dosemu.conf I used ports { 0x300 0x3ff }
 & D000 mem seems clear..
My Adaptec SCSI card is 0x340-0x35F
SB16 card is DMA 3 at 0x330-0x331
Parallel port  lpt1    0x378-0x37f
 ** All else is above or below & is FREE **
 The program requires no config settings or
drivers,, the program takes  care of all.
 The card is from MicroIntegration
  http://www.miworld.com
They support WinDoze primarily and DOS
only under the usual DOS enviorment.
LINUX is not in their vocabulary.

Any ideas
Bob T



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

From: Reinhard Karcher <[EMAIL PROTECTED]>
Date: Wed, 21 Apr 1999 07:48:38 +0200
Subject: Re: netx.exe under dosemu

At Tue, 20 Apr 1999 Maurice Mahieu wrote:
> Hello, I have  dosemu-0.98.1-2 with  dosemu-freedos-0.98.1-2 on Red Hat
> 5.2.
> I try to login on  Netware 3.12 with it. I configured  ipx on my  linux
> system and in dosemu.conf and I copied  netx.exe  to the dosemu
> partition.
> 
> 
> When  I start netx it starts to login to the novell server but then it
> hangs.
 
Hi Maurice,
as freedos dosn't yet support the network redirector code and as far as I
know, net.exe uses the network redirector, I suspect you need an other
DOS.

Reinhard

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

From: zzhimuel <[EMAIL PROTECTED]>
Date: Wed, 21 Apr 1999 09:15:47 +0200 (MET DST)
Subject: Re: netx.exe under dosemu

> It says in the README.txt that lredir doesn't work with FreeDOS because 
> FreeDOS doesn't have a working redirector yet. Presumably Novell networking
> also won't work with FreeDOS for the same reason.
> You could try DR-DOS from www.calderathin.com/dosemu/index.html instead
> of FreeDOS.
> 

Am I wrong ? Isn`t FreeDos the Dos included in dosemu ?
I use it with Novel and It worked great !

wys

Tobias


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

From: "Vadim A. Andrienko" <[EMAIL PROTECTED]>
Date: Wed, 21 Apr 1999 13:54:16 +0300
Subject: dosemu


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

From: Hugh Lawson <[EMAIL PROTECTED]>
Date: Wed, 21 Apr 1999 08:04:07 -0400 (EDT)
Subject: program crashes

In attempting to run a dos program, I get this:

Running on CPU=486, FPU=1, rdtsc=0
ERROR: general protection at 0x12fcf: 66
ERROR: SIGSEGV, protected insn...exiting!

The program runs ok under dos 6.2.  How do I learn what is causing
this?  Is there a remedy?


Hugh Lawson
Greensboro, North Carolina
[EMAIL PROTECTED]



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

From: "Fojtik Jaroslav" <[EMAIL PROTECTED]>
Date: Wed, 21 Apr 1999 17:29:14 +0200
Subject: Did you receive my previous bug report?

Floppy bug in 0.98.6 and 0.99.10 - keyboard die

Dear,

I tested new releases of your dosemu. It is nice, that it became
really working.

I have 2 floppies in 0.98.2 both worked fine.
Then I tested 0.98.6 and 0.99.10. After I do
    "dir B:\" or "dir A:\"
then everything is correct, but my dos keyboard do not work from this
point.
(If I have dos -k switch then I have to reset). The bug seems to be
same.
Do you have an idea how to fix it.


2, You reported, that DOSEMU do not work with quattro pro v 2.0.
I tested it, and quatro makes some strange video tests. I obtain
messages
lige "divide by zero in clib". How can I help you in this field?

J.Fojtik

Email:[EMAIL PROTECTED]

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

From: Charles M Stapleton <[EMAIL PROTECTED]>
Date: Wed, 21 Apr 1999 14:19:30 -0400
Subject: converting dos txt files to unix txt files

How do I convert a dos text file to a unix text file?  (Note: I would
like to use something that is already on my unix system)

Matthew
___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]

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

From: [EMAIL PROTECTED] (Kragen Sitaker)
Date: Wed, 21 Apr 1999 14:35:24 -0400 (EDT)
Subject: Re: converting dos txt files to unix txt files

How to convert dos to unix text files?

dos2unix if you have it.  Or perl -pe 's/\r$//' for a pipe, or perl
- -pi.bak -e 's/\r$//' filename1 filename2 etc to change files in place.
Or load the file in vim, :set notx, and save and exit.    You could
probably figure out some way to do it in pure sh if you try hard.

- -- 
<[EMAIL PROTECTED]>       Kragen Sitaker     <http://www.pobox.com/~kragen/>
What we *need* is for some advanced off-world sentience to carpet nuke planet
Earth from high orbit.  Call it Equal Opportunity Ethnic Cleansing.  I mean,
racism is so petty.  Why play favorites?  -- RageBoy


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

From: "Jimmy C. Thomson" <[EMAIL PROTECTED]>
Date: Wed, 21 Apr 1999 14:45:53 -0400 (EDT)
Subject: Re: converting dos txt files to unix txt files

A text file is just a text file, no conversion needed.

Jimmy


*********************************************************
                Jimmy Thomson
          Computer Science Undergrad
        Michigan Technological University

"Never try to be philosophical about sex when 
you are in the mood" 
*********************************************************

On Wed, 21 Apr 1999, Charles M Stapleton wrote:

> How do I convert a dos text file to a unix text file?  (Note: I would
> like to use something that is already on my unix system)
> 
> 
> Matthew
> ___________________________________________________________________
> You don't need to buy Internet access to use free Internet e-mail.
> Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
> or call Juno at (800) 654-JUNO [654-5866]
> 


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

From: [EMAIL PROTECTED]
Date: Wed, 21 Apr 1999 21:36:18 +0200
Subject: DOSemu slows system / SYS_166?

Hi *,

I've installed dosemu-0.99.10.0 on my RH5.2 box, the kernel
upgraded to 2.2.5, and started xdos, with in the configuration file:

$_rdtsc = (on)          # if possible use Pentium cycle counter
$_hogthreshold = (100)  # 0 == all CPU power to DOSEMU
$_com1 = "/dev/vmodem"  # e.g. "/dev/mouse" or "/dev/cua0"

This xdos seems to slow down the system much, even when at the DOS
prompt doing nothing: dragging a window on my K6-2 333Mhz 128Mb slows
down alot [gfx card: Matrox G200], it looks like it spends a lot of
time in kernel space since it is not traceable with top.

strace -p1347 (xdos pid) gives some strange results:

read(12, 0x81a4e99, 128)                = -1 EAGAIN (Resource temporarily unavailable)
SYS_166(0x1, 0x8106d44, 0x71000, 0xfff8eff1, 0x804bd00) = -1 ENOSYS (Function not 
implemented)
SYS_166(0x1, 0x8106d44, 0x71000, 0xfff8eff1, 0x804bd00) = -1 ENOSYS (Function not 
implemented)
gettimeofday({924722631, 925637}, NULL) = 0
read(12, 0x81a4e99, 128)                = -1 EAGAIN (Resource temporarily unavailable)
SYS_166(0x1, 0x8106d44, 0x71000, 0xfff8eff1, 0x804bd00) = -1 ENOSYS (Function not 
implemented)
SYS_166(0x1, 0x8106d44, 0x71000, 0xfff8eff1, 0x804bd00) = -1 ENOSYS (Function not 
implemented)
gettimeofday({924722631, 926267}, NULL) = 0
read(12, 0x81a4e99, 128)                = -1 EAGAIN (Resource temporarily unavailable)

etc.

[root@k6 fd]# ls -l /proc/1347/fd/12
lrwx------   1 root     root           64 Apr 21 21:30 /proc/1347/fd/12 -> /dev/vmodem

..so it's polling the COM port for no reason. Someone knows why?

After removal of the offending com line in /etc/dosemu.conf, the
system stays just as slow, but strace now gives:

SYS_166(0x1, 0x8106d44, 0x70000, 0xfff8fff1, 0x804bd00) = -1 ENOSYS (Function not 
implemented)
SYS_166(0x1, 0x8106d44, 0x70000, 0xfff8fff1, 0x804bd00) = -1 ENOSYS (Function not 
implemented)
SYS_166(0x1, 0x8106d44, 0x70000, 0xfff8fff1, 0x804bd00) = -1 ENOSYS (Function not 
implemented)
SYS_166(0x1, 0x8106d44, 0x70000, 0xfff8fff1, 0x804bd00) = -1 ENOSYS (Function not 
implemented)
gettimeofday({924723197, 781803}, NULL) = 0

etc.

It seems like this SYS_166 is the offending system call. Anyone knows
what SYS_166 is supposed to do?

Regards,
Rutger.

- -- 
Rutger Nijlunsing, rutger @ null.net ----------------------------- Linux! --
Don't BiCapitalize without extremely good reason: it messes up the natural
human-eyeball search order -- Your Friendly Neighborhood Archive Maintainers
+31-40 ----------------------------------------------------------- ^X^S^X^Cs

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

From: Jonathan Jefferies <[EMAIL PROTECTED]>
Date: Wed, 21 Apr 1999 12:30:01 -0700
Subject: Re: converting dos txt files to unix txt files

"Jimmy C. Thomson" wrote:
> 
> A text file is just a text file, no conversion needed.
>

Yes and no.  Believe there is a difference in that unix uses just
a LF to terminate a line while dos most often uses a CRLF.
And the CRLF makes the text look weird.  You can correct
this with vi, tran and I believe I have a utility called
dos2unix.

Jonathan

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

From: [EMAIL PROTECTED]
Date: Wed, 21 Apr 1999 15:47:17 ric
Subject: Re: converting dos txt files to unix txt files

I use

fromdos <dosfile >unixfile

you can also strip out the carriage returns with tr, or probably any
programmable editor.

Lawson
          >< Microsoft free environment

This mail client runs on Wine.  Your mileage may vary.


On Wed, 21 Apr 1999, Charles M Stapleton wrote:

> How do I convert a dos text file to a unix text file?  (Note: I would
like to
> use something that is already on my unix system)
> 
> 




___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]

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

From: susan e paolini <[EMAIL PROTECTED]>
Date: Wed, 21 Apr 1999 16:17:25 -0400
Subject: the difference between dos & unix is terminator

the difference is:

from caldera's site....

     File type     This option allows you to control how the
                   file  is  saved.  For  example  on a Unix
                   machine you may want to translate  a  DOS
                   file  (a  file which terminates each line
                   in CR/LF characters) and have it saved as
                   a  Unix  file.  By default a file will be
                   saved in the same mode as it was  loaded.
                   The options are as follows:

                        Normal   Save  file  in same mode as
                                 it was loaded with.

                        Text     Lines are terminated  in  a
                                 LF character only.

                        Binary   Lines  are  not  terminated
                                 with a CR or LF character.

                        DOS      Lines  will  be  terminated
                                 with a CR and LF character.
                                 (Note that no  Ctrl-Z  will
                                 be  appended  to the end of
                                 the file even  if  one  was
                                 supplied  when the file was
                                 read  in.  The  terminating
                                 Ctrl-Z  is  a hangover from
                                 MS-DOS 1.0 and is no longer
                                 need   in  text  files  for
                                 DOS).


Jonathan Jefferies wrote:

> "Jimmy C. Thomson" wrote:
> >
> > A text file is just a text file, no conversion needed.
> >
>
> Yes and no.  Believe there is a difference in that unix uses just
> a LF to terminate a line while dos most often uses a CRLF.
> And the CRLF makes the text look weird.  You can correct
> this with vi, tran and I believe I have a utility called
> dos2unix.
>
> Jonathan


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

From: Jake Messinger <[EMAIL PROTECTED]>
Date: Wed, 21 Apr 1999 16:24:45 -0500 (CDT)
Subject: Re: converting dos txt files to unix txt files

On Wed, 21 Apr 1999, Jimmy C. Thomson wrote:

:A text file is just a text file, no conversion needed.

He is talking about the fact that ms-dog files use a cr and an lf to
indicate a new record. You can easily strip the extra carriage returns with
perl, or there are dos utils too.

~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
Jake Messinger, VP.     ph:713-772-6690                 Lucent Dealer
AMS, Inc.               fx:713-774-3498                 Medical Billing
8300 Bissonnet  #400    [EMAIL PROTECTED] , ICQ# 4403734     Internet Services
Houston, Texas  77074   www.ams.com/~jake                and Hardware

Adjunct Professor       University of Houston, CBA       [EMAIL PROTECTED]
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~

                INVENTOR OF the _.,-*~''~*-,._ SQUIGGLES (c) 1978


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

From: Dave Mielke <[EMAIL PROTECTED]>
Date: Wed, 21 Apr 1999 18:22:07 -0400 (EDT)
Subject: Re: converting dos txt files to unix txt files

On Wed, 21 Apr 1999, Jonathan Jefferies wrote:
>Yes and no.  Believe there is a difference in that unix uses just
>a LF to terminate a line while dos most often uses a CRLF.
>And the CRLF makes the text look weird.  

You are correct. In addition, DOS text files also have a trailing control-Z.

- -- 
Dave Mielke           | 856 Grenon Avenue | I believe that the Bible is the
Phone: 1-613-726-0014 | Ottawa, Ontario   | Word of God. Please contact me
EMail: [EMAIL PROTECTED] | Canada  K2B 6G3   | if you're concerned about Hell.


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

From: Hans Lermen <[EMAIL PROTECTED]>
Date: Thu, 22 Apr 1999 01:39:02 +0200 (MEST)
Subject: Re: DOSemu slows system / SYS_166?

On Wed, 21 Apr 1999 [EMAIL PROTECTED] wrote:

> I've installed dosemu-0.99.10.0 on my RH5.2 box, the kernel
> upgraded to 2.2.5, and started xdos, with in the configuration file:
> 
> $_rdtsc = (on)          # if possible use Pentium cycle counter
> $_hogthreshold = (100)  # 0 == all CPU power to DOSEMU

$_hogthreshold = (1) gives all power to Linux (see doc/README.txt)
and with this I see a load of 0.05 on my machine, when idling on the DOS
prompt.

> $_com1 = "/dev/vmodem"        # e.g. "/dev/mouse" or "/dev/cua0"
> 
> This xdos seems to slow down the system much, even when at the DOS

xdos eats 'X-power' (counts to the CPU load of the server), because
it has to refresh the screen quite often, much more then other X
applications (except real video of course;-). The config value to play
with is

  $_X_updfreq = (5)

However, if you make the refresh rate big (value small), you eat more
X-power, if you make it too small (value big), you get a noticable delay
when the X-server has to wait for the X-application to finish some action.
It may depend on the X-server used though.

> prompt doing nothing: dragging a window on my K6-2 333Mhz 128Mb slows
> down alot [gfx card: Matrox G200], it looks like it spends a lot of
> time in kernel space since it is not traceable with top.

Yes, _quite_ a lot. Though it drops kernel priviledges and uses userspace
pagetables, it doesn't really return to the _32-bit_ userspace code while
in vm86(). It's a special case not 1:1 comparable with normal userspace.
And while in vm86() the CPU time apparently counts as 'kernel time'.

> [root@k6 fd]# ls -l /proc/1347/fd/12
> lrwx------   1 root     root           64 Apr 21 21:30 /proc/1347/fd/12 -> 
>/dev/vmodem
> 
> ..so it's polling the COM port for no reason. Someone knows why?

The reason is you configured to use it, and depending on what serial
drivers / TSRs you have,  there is no other way as to poll.

> SYS_166(0x1, 0x8106d44, 0x70000, 0xfff8fff1, 0x804bd00) = -1 ENOSYS (Function not 
>implemented)
> gettimeofday({924723197, 781803}, NULL) = 0
> 
> etc.
> 
> It seems like this SYS_166 is the offending system call. Anyone knows
> what SYS_166 is supposed to do?

It's the heart of vm86() ;-) and it's returning -1 on 99.99 % of its calls.
Why the strace / libc maintainers after over 2 years could not cope with
finally knowing what this 'strange' syscall 166 does, is out of the scope
of my knowledge ;-)

Hans
<[EMAIL PROTECTED]>



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

From: "Stephen Quinlan [C]" <[EMAIL PROTECTED]>
Date: Wed, 21 Apr 1999 21:05:41 -0500
Subject: Re: converting dos txt files to unix txt files

Jonathan Jefferies wrote:
> 
> "Jimmy C. Thomson" wrote:
> >
> > A text file is just a text file, no conversion needed.
> >
> 
> Yes and no.  Believe there is a difference in that unix uses just
> a LF to terminate a line while dos most often uses a CRLF.
> And the CRLF makes the text look weird.  You can correct
> this with vi, tran and I believe I have a utility called
> dos2unix.
> 
> Jonathan

There is the dos2unix util. also, what I am constantly editing is HTML
(etc),  created by others in something like wordpad. The ^M is generated
at end of line or when return is entered.(referencing above statement)
I use this command to globally delete these characters:

:g/<control v><control m>/s///g  

save file.
it tells it to globally search (file) and replace (s=substitute) ^M with
nothing. end global search.

Stephen

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

From: Stefan Reuther <[EMAIL PROTECTED]>
Date: Thu, 22 Apr 1999 11:45:46 +0200 (MET DST)
Subject: Re: converting dos txt files to unix txt files

> How do I convert a dos text file to a unix text file?  (Note: I would
> like to use something that is already on my unix system)

Try GNU recode:  `recode latin1:ibmpc' for Unix->DOS,
`recode ibmpc:latin1' for the other direction. This fixes
both CRLF/LF and diacritical characters. On my system
`dos2unix' and `unix2dos' are shell aliases to the above
commands.

  Stefan


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

From: Mark Rejhon <[EMAIL PROTECTED]>
Date: Thu, 22 Apr 1999 17:24:52 -0400
Subject: Re: DOSemu lock files

Hi,

I have forwarded your report to the DOSEMU mailing list!
Hope they can help.


Nathan Halabuda wrote:
> 
> hello, my name is nathan and i am a linux engineer for EmpireOne Computer
> Solutions. I am currently working on a project for a multiuser terminal
> server running DOS applications via DOSemu. as of now i have 2 DOSemu
> versions available to me, 0.98.6 and 0.99.10. I will have multiple users
> connected via wyse terminals on a digiboard. the digiboard will also be
> hosting a few external modems. i have already written a script to search
> for an avialable modem using something along the lines of:
> 
> if [ -f /var/lock/ttyD$VAR ]
> then
>         do this
> else
>         check a different port
> fi
> 
> it is with these lockfiles that my problem and question lie. when i run
> dosemu as root, the lockfile is created perfectly such as "LCK..ttyD0".
> the lockfile is also removed properly when the dosemu session is ended.
> the file is owned by uucp and group uucp. however when dosemu is run as a
> nonroot user, the file is created as "LCK.." with no device name. owned
> by root, and whatever group the user is asssigned to. im guessing the
> problem lies with permissions wherever the device name is being pulled
> from during lockfile creation time. or maybe with permissions somewhere
> in the UUCP configuration? i have been unable to find any answers in the
> documentation or mailing lists. thanks a lot for your time.
> 
> nathan

- -- 
_______________________________________________________________________ 
                                          ____ 
Mark D. Rejhon         WinNT.Linux.Win95  \  /  mailto:[EMAIL PROTECTED] 
http://www.marky.com/    C.C++.VB.Shell    \/   AlphaWorld Home 10S 15W 

"A friend is someone who will be there without asking anything of you. 
 A friend is someone you know that knows you, and accepts you." 
_______________________________________________________________________

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

From: "Ian Dobson" <[EMAIL PROTECTED]>
Date: Fri, 23 Apr 1999 01:32:11 -0800
Subject: Re: converting dos txt files to unix txt files

there is about 10 ways to do this, but by far the easiest way that 
I've seen is use pico
open the file with pico and then save it, you may have to add a 
letter and delete it though but this removes all those nasty M's in 
the file :)

> How do I convert a dos text file to a unix text file?  (Note: I would like
> to use something that is already on my unix system)
> 
> 
> Matthew
> ___________________________________________________________________
> You don't need to buy Internet access to use free Internet e-mail.
> Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
> or call Juno at (800) 654-JUNO [654-5866]


Sued?  SUED???!!?  When MS gets through with you, you're going to WISH
that they'd jusT SUED you!  These people are EVIL!!! They kidnapped my dog
and G$%<S-F4>@^<S-F6>RB. f NO CARRIER


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

From: [EMAIL PROTECTED] (Rick Holbert)
Date: Fri, 23 Apr 1999 18:30:37 -0400 (EDT)
Subject: Free DR-DOS for DOSemu Users

Caldera (http://www.caldera.com) is giving away free download copies of
dr-dos 7.03 for any and all users of DOSemu (commercial users included)!

Rick


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

From: Alistair MacDonald <[EMAIL PROTECTED]>
Date: Sun, 25 Apr 1999 03:24:48 +0100 (BST)
Subject: Re: 5250 card unable to find

On Wed, 21 Apr 1999, R Talbot wrote:
[...]
> The program runs operates is own ISA
> emulator card at port 0x368 at mem D000 ..
[...]
>   However in Dos under LINUX I get the  error
> message  ..UNABLE TO FIND 5250 CARD..
> 
>  In my dosemu.conf I used ports { 0x300 0x3ff }
>  & D000 mem seems clear..

You presumeably want to explicitly allow direct access to the port - which
that line *doesn't* include and to ensure that DOSEMU maps the memory
address above onto your card (using 'hardware_ram')

Alistair


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

From: Hans Lermen <[EMAIL PROTECTED]>
Date: Sun, 25 Apr 1999 04:24:14 +0200 (MEST)
Subject: Re: FREE DR-DOS (fwd)

On Fri, 23 Apr 1999, Rick Holbert wrote:

> 
> Caldera (http://www.caldera.com) is giving away free copies of DR-DOS

IMHO (for legal reasons) you have to use the URL

  http://www.calderathin.com/dosemu/index.html

And there you can see the license conditions.

> 7.03 for all users of DOSemu (commercial users included).

You should read the license details _very_ carefully. My comments:
                                                      ^^
  1. This only applies to the URL referenced by the 'Click Here to Begin
     Download' link on the page entitled 'DOSEMU HDIMAGE'
     and you _must_ use this site, no mirrors allowed.

     They obviously want to keep the number of downloading people small,
     because

       a) the image is bloated to 7 Mbytes (zero padded), though it need
          only to be about 1 Mbytes (dosemu can cope with 'empty tail').

       b) it even isn't compressed by default
          (Make sure to use wu-ftp's features to force on-the-fly
          compression which will result in a 400 Kbytes only download.
          ... though, this maybe the first violation of the license
          because you then are not using the download button;-).

       c) no mirrors are allowed and no ones are available which contain
          the file, ... though the FTP server directs you to use mirrors
          if it reaches the limit of anonymous users.
          (For sure not all of the estimated 8 million Linux users will be
          able to download it. Even if you can suck 1Mbyte/sec from the
          above site, it would take 2 years to pass each user its copy.)


  2. It is only allowed to be used in the combination: Linux & DOSEMU.
     Which makes it hard to track bugs (you are not allowed to run
     it native) or to use it on multiple boot installations.

  3. you are not allowed to 'redistribute in any fashion'
     ('any fashion' also applies to putting it on your intranet archive or
     to copy it to a second machine of your own).

  4. you _need_ to download the hdimage for _each_ individual machine
     you want to use it on (this is a consequence of (3)).

  5. You are only allowed to make _one_ copy of the hdimage and this
     only for backup purposes. Its unlike you can handle this on
     Unix systems, where backups normally are handled generation wise
     and you will force the 'have to backup' state after each run
     of dosemu.

  6. You are not allowed to extract files to a Linux-FS, such as to
     make use of DOSEMU's comfortable bootdir feature.
     (this is a consequence of (5)).

Conclusion: 'violating' the license is more likely than with any other
proprietary DOS and the intention behind the license seems to be mainly a
marketing thing (which is legal) rather then a real support for DOSEMU.

I refuse to make any reference on dosemu.org or even within the DOSEMU
distribution to the above URL unless the license conditions do change
significantly. ... especially the redistribution and copying conditions.

Hans
<[EMAIL PROTECTED]>



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

From: R Talbot <[EMAIL PROTECTED]>
Date: Sun, 25 Apr 1999 01:43:45 -0400
Subject: Load with DEXE File

Alistair
 One more question, if you please.
I would like to load my program and perhaps one
other application with just a mouse click from
my KDE GUI desktop. I have read the dos man
page about the option  -L to load a DEXE file which
is a hdimage.  I would appreciate if someone would
help me with an example or instructions.

Thank You
Bob Talbot





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

From: [EMAIL PROTECTED] (David Hodges)
Date: Sun, 25 Apr 1999 19:29:50 +1200 (NZST)
Subject: Re: Load with DEXE File

> I would like to load my program and perhaps one
> other application with just a mouse click from
> my KDE GUI desktop. I have read the dos man
> page about the option  -L to load a DEXE file which
> is a hdimage.  I would appreciate if someone would
> help me with an example or instructions.

You can use the mkdexe script which is documented in the
doc/README.txt file



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

From: Eric Chu <[EMAIL PROTECTED]>
Date: Sun, 25 Apr 1999 07:07:28 +0000
Subject: DSP56002 in DOSEMU

This is a multi-part message in MIME format.
- --------------B347B149A51A847B60407182
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi, I've install DOSEMU 0.98.6-1 under Redhat 5.2. When I run the
assembler for Motorola DSP56000, DOSEMU exits automatically. I read the
document coming with the DSP software.
It said the software will run DOS/4GW before running the assembler. I
have follow the instruction in the readme file, but it doesn't help.
Could you help me to solve the problem? Thanks!

Regards,
Eric

- --------------B347B149A51A847B60407182
Content-Type: text/plain; charset=us-ascii;
 name="README.MEM"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="README.MEM"

/* $Id: readme.mem,v 1.3 1992/08/05 16:40:26 jay Exp $ */
The MSDOS version of the clas software was created using the Watcom 386 C
compiler.  The resulting programs make use of the PC's extended
memory and can be configured to use virtual memory.
The program  requires a PC-AT 386 or 486 with at least 2Mb of memory. 
The setup for extended and virtual memory use is discussed below:

- ---------------EXTENDED MEMORY CONFIGURATION FOR PC------------------
The pc version uses the DOS/4GW extended memory manager supplied with
the Watcom 386 C compiler.  The memory manager executable, dos4gw.exe,
is supplied with the clas software.  It is called during program
startup, and so must be locatable using the PATH environment variable.

The dos4gw.exe program uses the environment variable DOS16M in order to
choose an appropriate real- to protected-mode switch technique.  In case
the default operation does not work on your computer, change the 
switch mode settings with the following command:

set DOS16m=value

Do not insert a space between DOS16M and the equal sign. 

The table below lists the machines and the settings you would use with them.
Many settings have mnemonics, listed in the column "alternate Name", that
you can use instead of the number.  Settings that you must set with the 
DOS16M variable have the notation req'd in the first column.  Settings you may
use are marked 'option', and settings that will automatically be set are
marked 'auto'.

status  Machine         Setting Name            Comment
- ------  --------------  ------- --------------- ---------------------------------
auto    386/486 w/DPMI  0       None            Set automatically if DPMI is active

req'd   NEC 98-series   1       9801            Must be set for NEC 98-series
auto    PS/2            2       None            Set automatically for PS/2
auto    386/486         3       386,80386       Set automatically for 386 or 486
auto    386             INBOARD None            80386 with Intel Inboard
req'd   Fujitsu FMR-70  5       None            Must be set for Fujitsu FMR-70
auto    386/486 w/VCPI  11      None            Set automatically if VCPI detected
req'd   Hitachi B32     14      None            Must be set for Hitachi B32
req'd   OKI if800       15      None            Must be set for OKI if800
option  IBM PS/55       16      None            May be needed for some PS/55s


The following procedure shows you how to test the switch mode setting.
1. If you have one of the machines listed below, set the DOS16M environment
variable to the value shown for that machine and specify a range of extended
memory.  For example, if your machine is an NEC 98-series, set DOS16M=1 @2M-4M.

        Machine         Setting
        -------         ---------
        NEC 98-series   1
        Fujitsu FMR-70  5
        Hitachi B32     14
        OKI if800       15
Before running DOS/4GW applications, check the switch mode setting by the following
procedure:

2. Run PMINFO and note the switch setting reported on the last line of the display.
(PMINFO.EXE is provided with the simulator). If PMINFO runs, the setting is usable on
your machine.

3. If you changed the switch setting, add the new setting to your autoexec.bat.



variable may be set to override the 

- ---------------VIRTUAL MEMORY CONFIGURATION FOR PC -------------------
In order for the virtual memory capability to operate properly, the PC's 
environment variables must have a defined variable DOS4GVM, with options to
define virtual memory paramaters.  If the DOS4GVM environment variable
does not exist, the virtual memory capability does not operate.

The possible parameters are:
MINMEM      The minimum amount of RAM managed by the VMM. Default is 512KB.
MAXMEM      The maximum amount of RAM managed by the VMM. Default is 4MB.
SWAPNAME    The swap file name.  Default is DOS4GVM.SWP on the current drive.
DELETESWAP  Specifies that the swap file should be deleted.
VIRTUALSIZE The size of the virtual memory space. Default is 16MB.

In general, use the following format for the DOS4GVM environment variable:

set DOS4GVM= [option[#value]] [option[#value]]

As an example, the following line in your autoexec.bat file will enable an
8MB virtual memory swap file with automatic deletion of the swap file:

set DOS4GVM=deleteswap maxmem#8192
- --------------------------------------------------------------------------


- --------------B347B149A51A847B60407182--


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

From: Eric Chu <[EMAIL PROTECTED]>
Date: Sun, 25 Apr 1999 08:52:46 +0000
Subject: [Fwd: DSP56002 in DOSEMU]

Eric Chu wrote:

> Hi, I've install DOSEMU 0.98.6-1 under Redhat 5.2. When I run the
> assembler for Motorola DSP56000, DOSEMU exits automatically. I read the
> document coming with the DSP software.
> It said the software will run DOS/4GW before running the assembler. I
> have follow the instruction in the readme file, but it doesn't help.
> Could you help me to solve the problem? Thanks!
>
> Regards,
> Eric
>
>
> /* $Id: readme.mem,v 1.3 1992/08/05 16:40:26 jay Exp $ */
> The MSDOS version of the clas software was created using the Watcom 386 C
> compiler.  The resulting programs make use of the PC's extended
> memory and can be configured to use virtual memory.
> The program  requires a PC-AT 386 or 486 with at least 2Mb of memory.
> The setup for extended and virtual memory use is discussed below:
>
> ---------------EXTENDED MEMORY CONFIGURATION FOR PC------------------
> The pc version uses the DOS/4GW extended memory manager supplied with
> the Watcom 386 C compiler.  The memory manager executable, dos4gw.exe,
> is supplied with the clas software.  It is called during program
> startup, and so must be locatable using the PATH environment variable.
>
> The dos4gw.exe program uses the environment variable DOS16M in order to
> choose an appropriate real- to protected-mode switch technique.  In case
> the default operation does not work on your computer, change the
> switch mode settings with the following command:
>
> set DOS16m=value
>
> Do not insert a space between DOS16M and the equal sign.
>
> The table below lists the machines and the settings you would use with them.
> Many settings have mnemonics, listed in the column "alternate Name", that
> you can use instead of the number.  Settings that you must set with the
> DOS16M variable have the notation req'd in the first column.  Settings you may
> use are marked 'option', and settings that will automatically be set are
> marked 'auto'.
>
> status  Machine         Setting Name            Comment
> ------  --------------  ------- --------------- ---------------------------------
> auto    386/486 w/DPMI  0       None            Set automatically if DPMI is active
>
> req'd   NEC 98-series   1       9801            Must be set for NEC 98-series
> auto    PS/2            2       None            Set automatically for PS/2
> auto    386/486         3       386,80386       Set automatically for 386 or 486
> auto    386             INBOARD None            80386 with Intel Inboard
> req'd   Fujitsu FMR-70  5       None            Must be set for Fujitsu FMR-70
> auto    386/486 w/VCPI  11      None            Set automatically if VCPI detected
> req'd   Hitachi B32     14      None            Must be set for Hitachi B32
> req'd   OKI if800       15      None            Must be set for OKI if800
> option  IBM PS/55       16      None            May be needed for some PS/55s
>
> The following procedure shows you how to test the switch mode setting.
> 1. If you have one of the machines listed below, set the DOS16M environment
> variable to the value shown for that machine and specify a range of extended
> memory.  For example, if your machine is an NEC 98-series, set DOS16M=1 @2M-4M.
>
>         Machine         Setting
>         -------         ---------
>         NEC 98-series   1
>         Fujitsu FMR-70  5
>         Hitachi B32     14
>         OKI if800       15
> Before running DOS/4GW applications, check the switch mode setting by the following
> procedure:
>
> 2. Run PMINFO and note the switch setting reported on the last line of the display.
> (PMINFO.EXE is provided with the simulator). If PMINFO runs, the setting is usable on
> your machine.
>
> 3. If you changed the switch setting, add the new setting to your autoexec.bat.
>
> variable may be set to override the
>
> ---------------VIRTUAL MEMORY CONFIGURATION FOR PC -------------------
> In order for the virtual memory capability to operate properly, the PC's
> environment variables must have a defined variable DOS4GVM, with options to
> define virtual memory paramaters.  If the DOS4GVM environment variable
> does not exist, the virtual memory capability does not operate.
>
> The possible parameters are:
> MINMEM      The minimum amount of RAM managed by the VMM. Default is 512KB.
> MAXMEM      The maximum amount of RAM managed by the VMM. Default is 4MB.
> SWAPNAME    The swap file name.  Default is DOS4GVM.SWP on the current drive.
> DELETESWAP  Specifies that the swap file should be deleted.
> VIRTUALSIZE The size of the virtual memory space. Default is 16MB.
>
> In general, use the following format for the DOS4GVM environment variable:
>
> set DOS4GVM= [option[#value]] [option[#value]]
>
> As an example, the following line in your autoexec.bat file will enable an
> 8MB virtual memory swap file with automatic deletion of the swap file:
>
> set DOS4GVM=deleteswap maxmem#8192
> --------------------------------------------------------------------------

 PS. When DOSEMU exites, I got the error message like that

ERROR: general protection at 0x614f: 66
ERROR: SIGSEGV, protected insn...exiting!

Thanks




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

From: [EMAIL PROTECTED] (David Hodges)
Date: Mon, 26 Apr 1999 07:29:17 +1200 (NZST)
Subject: Re: [Fwd: DSP56002 in DOSEMU]

> Eric Chu wrote:
> 
> > Hi, I've install DOSEMU 0.98.6-1 under Redhat 5.2. When I run the
> > assembler for Motorola DSP56000, DOSEMU exits automatically. I read the
> > document coming with the DSP software.
> > It said the software will run DOS/4GW before running the assembler. I

It sounds like you have the line 
$_dpmi = (off) 
in your dosemu configuration file (usually /etc/dosemu.conf)
you need to change "off" to some number, say 2048 or 4096


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

From: R Talbot <[EMAIL PROTECTED]>
Date: Sun, 25 Apr 1999 15:36:36 -0400
Subject: 5250 card Unable to Find

  Alistair
Thank you for the reply...
In order that DOS may find  my 5250 card
My dosemu.conf currently contains
hardware_ram { range 0xd0000 0xdffff }
ports { 0x300 0x3ff }
   I assume that the above lines are allowable.
I want to protect port 0x368  and 8k mem at
and above 0xd0000..
Do the above lines do the job???

Thank You
Bob Talbot




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

From: Catalin Bucur <[EMAIL PROTECTED]>
Date: Mon, 26 Apr 1999 05:24:15 +0000
Subject: BIOS checksum ?!?

Hello,

I have a Linux box with RedHat 5.2 and 2.2.4 kernel. I'm trying to use
Borland Paradox (for DOS) from dosemu, and that's what I get from console:
- --------------------
Linux DOS emulator 0.98.5.0 $Date: 99/01/15 $
Last configured at Sat Jan 16 01:30:10 MET 1999 on linux
This is work in progress.
Please test against a recent version before reporting bugs and problems.
Bugs, Patches & New Code to [EMAIL PROTECTED]

Microsoft(R) Windows 98
   (C)Copyright Microsoft Corp 1981-1998.

C:\>paradox
System: BIOS checksum does not match, please reconfigure
System: Error processing parameters, no action taken
- --------------------
With "dos -o error.txt" these are the results:
====================
[00000676] debug flags: 
[00005551] ERROR: general protection at 0x39492: ab
[00005551] ERROR: SIGSEGV, protected insn...exiting!
[00005568] 
====================

What does that mean? What's the problem?
Thanks.

- -- 
Catalin Bucur                                \|/
Hardware engineer                          ^(o o)^
mailto:[EMAIL PROTECTED]       ~~~~~~~~~oOO~~(_)~~OOo~~~~~~~~~

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

From: [EMAIL PROTECTED] (David Hodges)
Date: Mon, 26 Apr 1999 19:19:51 +1200 (NZST)
Subject: Re: 5250 card Unable to Find

> In order that DOS may find  my 5250 card
> My dosemu.conf currently contains
> hardware_ram { range 0xd0000 0xdffff }
> ports { 0x300 0x3ff }
>    I assume that the above lines are allowable.
> I want to protect port 0x368  and 8k mem at
> and above 0xd0000..

don't you mean you want to access them ?

> Do the above lines do the job???

No - the ports line is wrong. I think it should be
$_ports "0x368"

also if you only need to access 8K at 0xd0000, you could
change the hardware_ram line to 
$_hardware_ram " range 0xd0000 0xd1fff "


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

From: Rob Clark <[EMAIL PROTECTED]>
Date: Mon, 26 Apr 1999 22:38:44 -0400
Subject: DIR strangeness with SMB mounted share

Hello,
I'd like to know whether anyone else is experiencing this problem:
DIR does not always give the same file list on a lredir'ed
Linux FS directory that is itself a smbmounted Windows share.

In my case, there are 300+ files.  Sometimes all the files are
seen, sometimes 202, sometimes 110, sometimes 66.  It is always
one of just a few combinations of files that is available to list
or execute.

I have tried this with 2 Windows servers and 3 different DOSEMU
clients, with DOSEMU versions ranging from 0.66.7 to 0.99.11.
All of the Linux clients are using kernel 2.0.36, libc5, and
MSDOS 6.22.  One Linux client is using egcs, the other two are
using gcc 2.7.2.3.  The Windows machines run Win95 and Win98.

>From bash, I can always see the correct number of files.

Any ideas?  Thanks,
Rob Clark, [EMAIL PROTECTED]

P.S. an example: within one DOSEMU session, if I type dir,dir,dir,dir,
I might get 351 files, 202 files, 66 files, 351 files.

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

From: <[EMAIL PROTECTED]>
Date: Tue, 27 Apr 1999 03:01:35 GMT
Subject: printing problems

I hope that someone else has had a similar problem.

I am running dosemu98 or somewhere very close to that,
with dos 6.22, glibc, rh5.1 linux 2.0.35 

When I run a certain program, created in FoxPro for dos
(we are trying to shy away from windows)
at one point it attempts to print, succeeds in printing,
but when the program continues on with it's tasks, it crashes
out of dosemu.

If anyway has had this problem, or something similar,
please let me know as it is of the utmost importance.

Thanks much.
- -Josh

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

From: [EMAIL PROTECTED]
Date: Tue, 27 Apr 1999 09:34:46 EDT
Subject: NWDOS7

Hi People

Is there an opportunity to have NWDOS7 or NWDOS7 Programs inbound to LINUX. 

I consider to changeover to LINUX beeing a DOS addict but forced to handle a 
graphical shell as WIN311 for several purposes as Internet access and 
scanning,  picture modeling and works and so forth the development of which 
got stuck in DOS development issues .  I am absolutely no lover of WIN95/98 
tending to avoid the handling around with this. By the way I think Billy 
Gates's politics to be obsolete and am not willing to submit to his 
objections. 
The entire WIN98 got to go to the trashbin.  All the WINdows  systems are 
lightyears away from working as stable as a NOVELL NETWARE 3.12  /NWDOS7 
combination which owns the only fault not beeing designed to do graphical 
jobs as the mentioned.  So WIN is far away of being safe enough for my 
purposes. 

The Only thing is that I hold lots of DOS programs and databases which all 
work fine.  And graphical formats like *.GIF/*.PCX/*.BMP/*.JPG  etc. 

So is there a way to have them still run under LINUX way like in OS/2 ?

What can be done? 

Thanx for answer ? 

MF 


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

From: Phillip Crane <[EMAIL PROTECTED]>
Date: Tue, 27 Apr 1999 04:04:07 -0400
Subject: 3Dlabs Permedia II

Hello:
I've been tweaking my dosemu.conf and vgalib.config for hours, if not
days, trying to get Generic cadd 6.0 to work.  It works fine with Matrox
Millenium II and others.  This machine however, sports a 3Dlabs Permedia
II chipset.  I have XFree86 working flawlessly and  dosemu starts OK but
GCADD 6.0 will not work.  Any suggestions?  I would try to track down
updated drivers for CADD 6 but the program is going on 10 years old.
Thanks in advance for any help that you may be able to give.
PS.  I even went so far as to order another Matrox Millenium II but,
they too are no longer made.
regards
phillip,


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

From: Reinhard Karcher <[EMAIL PROTECTED]>
Date: Tue, 27 Apr 1999 16:03:35 +0200
Subject: Re: NWDOS7

[EMAIL PROTECTED] wrote:
> 
> Hi People
> 
> Is there an opportunity to have NWDOS7 or NWDOS7 Programs inbound to LINUX.

Hi,
I'm using NWDOS7 Update 15 since 1.5 years successfully with DOSEMU and
Novell
Netware 3.12.

Reinhard

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

From: Ari Moisio <[EMAIL PROTECTED]>
Date: Tue, 27 Apr 1999 11:32:06 +0300 (EET DST)
Subject: dosnet.o and alternatives

Hello

  I'm lookin for how a blind user can use Linux with adaptive technology.
most of those screen access programs work under DOS and so i  set up
dosemu 0.98 and tested some of those programs. They worked quite nicely
anyway.

  The problem is   however how to use linux via dosemu. I tried dosnet.o
but  it fails to load witch lots of complaints about unresolved symbols. 

  So,  is there any other ways to communicate between dosemu and linux
kernel. For example to make a virtual serial connection where COMx: on
dosemu side   is connected somehow to Linux serial device. After this any
terminal emulator could be used.

- --
Ari Moisio, Niittykatu 7, 41160 Tikkakoski, +358-40-5055239
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
PGP 0x3FAF0F05, fp 8A91 96E2 9864 D04D  575E 3EEE 72E9 DDD2
WWW: http://www.sci.fi/~armoi,http://www.arlainst.fi/~arimo


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

From: Nathan Halabuda <[EMAIL PROTECTED]>
Date: Tue, 27 Apr 1999 13:14:32 -0400 (EDT)
Subject: Re: dosnet.o and alternatives

On Tue, 27 Apr 1999, Ari Moisio wrote:

>   So,  is there any other ways to communicate between dosemu and linux
> kernel. For example to make a virtual serial connection where COMx: on
> dosemu side   is connected somehow to Linux serial device. After this any
> terminal emulator could be used.

absolutely, im working on a project right now using linux serial devices 
on a digiboard from dosemu. its pretty simple. all you have to do is edit 
the /etc/dosemu.conf file and look for an entry like:

$_com1 = ""

and you simply change the com port setting you want to include the linux 
device name. for example:

$_com1 = "/dev/cua0"

would be the equivalent of com1 from a real dos session.


hope this helps.

- -nathan

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

From: Matt Clay <[EMAIL PROTECTED]>
Date: Tue, 27 Apr 1999 14:23:44 -0700
Subject: COM Ports and Pseudo TTY's

Does anyone know how to setup a pseudo tty to look like a COM port and
modem connection to programs running under DOS Emu?

Thanks.

 - Matt Clay

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

From: Ari Moisio <[EMAIL PROTECTED]>
Date: Wed, 28 Apr 1999 19:54:15 +0300 (EET DST)
Subject: Re: dosnet.o and alternatives

On Tue, 27 Apr 1999, Nathan Halabuda wrote:

> >   So,  is there any other ways to communicate between dosemu and linux
> > kernel. For example to make a virtual serial connection where COMx: on
> > dosemu side   is connected somehow to Linux serial device. After this any
> > terminal emulator could be used.
> 
> absolutely, im working on a project right now using linux serial devices 
> on a digiboard from dosemu. its pretty simple. all you have to do is edit 
> the /etc/dosemu.conf file and look for an entry like:
> 
> $_com1 = ""
> 
> and you simply change the com port setting you want to include the linux 
> device name. for example:
> 
> $_com1 = "/dev/cua0"
> 
> would be the equivalent of com1 from a real dos session.
> 

 I tried _com and serial keywords with no success. The problem is little
differrent. I'll give an example:

  Say i have configured com1 at the rear panel to be com1  in dosemu. Com2
is /dev/cua1 and agetty is running on it. I'll connett com1 and com2 with
null modem cable  and run terminal emulator on dosemu.

  Question is how to do this without  the cable but still using comport at
dosemu side and agetty or similar program on the other  end. At least
stdin, stdout and stderr  on the linux side should be connetted to this
serial port.

 
> hope this helps.
> 
> -nathan
> 
> 

- --
Ari Moisio, Niittykatu 7, 41160 Tikkakoski, +358-40-5055239
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
PGP 0x3FAF0F05, fp 8A91 96E2 9864 D04D  575E 3EEE 72E9 DDD2
WWW: http://www.sci.fi/~armoi,http://www.arlainst.fi/~arimo


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

From: Matt Clay <[EMAIL PROTECTED]>
Date: Wed, 28 Apr 1999 11:26:42 -0700
Subject: Re: dosnet.o and alternatives

Ari Moisio wrote:

>  I tried _com and serial keywords with no success. The problem is little
> differrent. I'll give an example:
> 
>   Say i have configured com1 at the rear panel to be com1  in dosemu. Com2
> is /dev/cua1 and agetty is running on it. I'll connett com1 and com2 with
> null modem cable  and run terminal emulator on dosemu.
> 
>   Question is how to do this without  the cable but still using comport at
> dosemu side and agetty or similar program on the other  end. At least
> stdin, stdout and stderr  on the linux side should be connetted to this
> serial port.

It sounds like you have a problem similar to one I'm working on.  I'm
trying to connect a telnet session to a program running in DOSEmu that
uses the com port/modem for input/output.

My approach so far (to avoid using null modem cables), is to use pseudo
tty's.  They are devices that come in pairs like "/dev/ptypN" and
"/dev/ttypN".  Where N is a single hex digit.  You should be able to run
agetty on "/dev/ptypN" and tell DosEmu to use "/dev/ttypN" as the com
port (I havn't actually done it this way myself).  Make sure you use a
psuedo tty that is not already in use (telnet connections use psedo
tty's).

I have been able to run a program that attaches stdin/stdout to
"/dev/ptyp9" on my system, and told DosEmu to use "/dev/ttyp9" as com 1
(DosEmu has to be started after "/dev/ptyp9" is opened by the other
program).  Then I have been able to do things like "copy autoexec.bat
com1" and get the output on the other end.  Unfortunately, that's about
all I've gotten it to do.

I'm still experimenting with this myself, so hopefully someone here can
help us both out.  Maybe this will give you something to work with at
least.

 - Matt Clay

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

From: Mark Lawrence <[EMAIL PROTECTED]>
Date: Thu, 29 Apr 1999 20:46:48 +0930 (CST)
Subject: Serial ports and c++ 'outp'

Greetings all,

I have a problem to do with a c++ program written for dos, which makes
heavy us of an 'outp' (dos system/library call? - I have not seen this
before) to communicate with a serial device. 'outp' appears to write
directly to a port address (along the likes of 0x3f8,9,a,b,c etc). I
assume that because it uses this call that setting $_com1 to a value will
not be of any use, and so I need to define a list of ports that dosemu
will allow to be directly written to.

I do not find any evidence of these calls failing. In fact, if I turn on
enough dosemu debugging I can see that port read and write calls are being
made, yet the dos program fails to recognise that the device is on the end
of the line. The program works extremely reliably under standard dos.

Communication with the COM? ports works fine with other programs when I
set $_com?, so, I was wondering if anyone knows of something else I can
try, or how I can write to the COM? devices from dos using some more
standard call that doesn't attempt to write directly to the hardware.

Thanks,
Mark.
- --
 ,-_|\  
/  .  \   Mark Lawrence
\_,-._/   [EMAIL PROTECTED]
     v


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

From: R Talbot <[EMAIL PROTECTED]>
Date: Thu, 29 Apr 1999 23:46:35 -0400
Subject: More 5250 emulation on Dos Fun

Dave,
Thanks for helping!
Take a look One last time at my situation..
I have this particular 5250 emu program running on the same
machine now in OS/2 v. 3 & v. 4 , also Dos in OS/2, also PC Dos 7,
also MSDos 6.22, also Msdos 5, also DRdos 6.............
All with a bare 640k enabled no ems or extended mem..
no drivers of any type in the configs. ( THIS TRUE of THE DOSs )
The only OS I can't get this program to run in is Dos 7 from
Caldera on the Linux DosEmu, which is where I really want
it to run.
  So, now with the mem at D000 free, I no longer get the error
message:  UNABLE TO FIND 5250 CARD....
  Now it JUST LOCKS & HANGS DOSEMU with no recovery
except to close the session.
  I checked the DOS Session  with          mem /d
to get the read outs below..
  And further down I did the same for LINUX using    lsdev  and  sysinfo

commands..
  As you can see   memory D000   and  port  0x368  are free
I know this is a lot to read but before I gave up I wanted you to see
I am baffled for good reason!!!!!!!

************ DOS EMU   v. 66   Caldera DOS 7.02
[OpenDOS] C:\>mem  /a |more

| D000:0000 | -------- |  20000h, 131,072 |
FREE                              |
}-----------+----------+------------------+--------
| FFFF:00E0 | -------- |   16A0h,   5,792 | FREE

OpenDOS] C:\>mem /i |more

.- Address -+- Name ---+- Size -----------+- Type -----------
|   70:0023 | CON      |                  |  System device
driver             |
|   70:0035 | AUX      |                  |  System device
driver             |
|   70:0047 | PRN      |                  |  System device
driver             |
|   70:0059 | CLOCK$   |                  |  System device
driver             |
|   70:006B | COM1     |                  |  System device
driver             |
|   70:007D | COM2     |                  |  System device
driver             |
|   70:008F | COM3     |                  |  System device
driver             |
|   70:00A1 | COM4     |                  |  System device
driver             |
|   70:00C7 | LPT1     |                  |  System device
driver             |
|   70:00D9 | LPT2     |                  |  System device
driver             |
|   70:00EB | LPT3     |                  |  System device
driver             |
|   70:0133 | LPT4     |                  |  System device
driver             |
|   70:016E |    A:-C: |                  |  System device
driver             |
|  100:0048 | NUL      |                  |  System device
driver             |
|  249:0000 | SETVERXX |    1F0h,     496 |  DEVICE = installed device
driver |
`-----------`----------`------------------`----------------

[OpenDOS] C:\>mem

. Memory Type ------+-- Total Bytes ( Kbytes  ) -+--- Available For
Programs -.
|                   |
|                            |
| Conventional      |       655,360 (    640K )  |       640,368 (
625K )  |
| Upper             |       196,608 (    192K )  |       180,752 (
177K )  |
| High              |        65,520 (     64K )  |        19,472 (
19K )  |
| Extended          |     1,048,576 (  1,024K )  |     1,048,576 (
1,024K )  |
| Extended via XMS  |          --------          |     1,048,576 (
1,024K )  |
}-------------------`----------------------------`----
| Largest executable program:  639,696 ( 625K
)                               |
| Total Free DOS memory:       821,120 ( 802K
)                               |
`------------------------------------------------
**************LINUX
[root@ibm /root]# lsdev
Device            DMA   IRQ  Ports
- ------------------------------------------------
aha152x                  11  0340-035f
cascade             4     2
dma                          0080-009f
dma1                         0000-001f
dma2                         00c0-00df
floppy                       03f0-03f5 03f7-03f7
keyboard                  1  0060-006f
lp                           0378-037f
math                     13
npu                          00f0-00ff
pic1                         0020-003f
pic2                         00a0-00bf
PS/2                     12
serial                       02f8-02ff 03f8-03ff
timer                     0  0040-005f
vga+                         03c0-03df
[root@ibm /root]# sysinfo
Hardware info
=============
Processor    : i586 with 400.59 BogoMips
Memory RAM   : 64 MB (2348K kernel, 5124K cache, 36384K shared, 19828K
free)
Swap area    : 94 MB (0K used, 96384K free)
Graphic 1    : vga+
   model     : VGA Color
   I/O ports : 0x3c0-0x3df
   mem-area  : 0xb8000-0xc0000
Serial 1     : /dev/ttyS0
   chip      : UART 16550A
   Line      : 0
   I/O ports : 0x03f8-0x03ff
   interrupt : 4
Serial 2     : /dev/ttyS1
   chip      : UART 16550A
   Line      : 1
   I/O ports : 0x02f8-0x02ff
   interrupt : 3
Parallel 1   : /dev/lp1
   I/O ports : 0x0378-0x037f
   Interrupt : polling
SCSI Host 1  : scsi0
   Model     : Adaptec 151x/152x/1505/282x, SB16 SCSI, AIC 6260/6360
[aha152x]
   I/O-Ports : 0x0340-0x035f
   Module    : aha152x
Floppy 1     : /dev/fd0H1440
Hard disk 1  : /dev/sda
   SCSI ID   : 0
   Model     : MICROP  3243NT

******************  SECTION of  Dosemu.conf  ******

   dpmi 4086               # DPMI size in K, or "off" xms 1024
# XMS size in K,  or "off" #ems 1024
# EMS size in K,  or "off"
#ems { ems_size 1024 ems_frame 0xe000 }
#ems { ems_size 2048 ems_frame 0xd000 }

#hardware_ram { range 0xd000..0xdfff }
hardware_ram { 0xcff0 }
   #maps 0xc8000..0xc8fff and 0xdd000..0xdfff

dosmem 640  # Maximum conventional RAM to show apps

#
ports [ 0x368 ]
#ports { range 0x21e 0x400 }  # for SimEarth was 0x388  0x389
# ports { 0x21e 0x22e 0x23e 0x24e 0x25e 0x26e 0x27e 0x28e 0x29e } # for
jill

## SERIAL SECTION   Completely #'ed out no access to Coms or CUA's or
## /dev/modem .............

Thank you
Bob T


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

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

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

Reply via email to