🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ahn.tech.linux
Article #2201

DOSemu & Record locking

#2201
From: Alex Griffiths
Date: Mon, 07 Feb 2000 00:00
30 lines
2290 bytes
Hello DOSemu experts�.. and anybody else.

I am trying to get around DOSemu�s (with MSDOS 6.22) lack of record locking.
I have tried setting up both the Samba and Mars file services and
communicated to them via their respective shells through DOSemu but my
record locking test software fails.

If DOSemu is used to communicate with say, an NetWare 3.12 server then my
record locking software works correctly. Which means that the NetWare shell
is handling calls to remote servers calls but the local calls are fudged.

This is a little weird as the shells must work over the protocol stack and
external workstations accessing either Samba or Mars run the software
correctly.

Does anyone know a workaround? Is anyone extending DOSemu to include record
locking? Is there another product that includes this?

I also can�t seem to get a DOS Microsoft networking client communcating with
the outside world or even Samba. Is this due to the restriction of Netbios
not being able to work over an IPX bridge?

My test record locking software opens a 100 byte file, locks a few bytes,
attempts to lock the same bytes again, which should fail, and then does this
at offsets 1000 and FFFF which are past the end of the file. Locking past
the end of the file allows a lock to be placed at a known offset which will
be respected by write ops but read ops without the offset will succeed.
Anyway it has worked correctly on all DOS platforms except DOSemu.

Alex Griffiths
Technical Details
Message-ID: <87p1ug$g7s$1@ctb-nnrp2.saix.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 11033e,a893a518b4d6cce7,start
X-Google-Attributes: gid11033e,public
X-Google-Thread: faa64,a893a518b4d6cce7,start
X-Google-Attributes: gidfaa64,public
X-Google-Thread: 10d8ad,a893a518b4d6cce7,start
X-Google-Attributes: gid10d8ad,public
From: "Alex Griffiths" <agriffit@lansource.co.za>
Subject: DOSemu & Record locking
Date: 2000/02/07
Message-ID: <87p1ug$g7s$1@ctb-nnrp2.saix.net>
X-Deja-AN: 583171270
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
X-Complaints-To: abuse@saix.net
X-Trace: ctb-nnrp2.saix.net 950012688 16636 155.239.138.203 (8 Feb 2000 12:24:48 GMT)
Organization: The South African Internet Exchange
NNTP-Posting-Date: 8 Feb 2000 12:24:48 GMT
Newsgroups: ahn.tech.linux,alt.os.linux,uk.comp.os.linux