Unknown Recipient: Steven Pautz----------------------------------- Returned
-----------------------------------
From: [EMAIL PROTECTED] at -FABRIK/Internet
Date: 6/27/00 1:48PM -0700
*To: "linux-msdos-digest" <[EMAIL PROTECTED]> at
-FABRIK/Internet
Subject: linux-msdos-digest V1 #178
-------------------------------------------------------------------------------
                                                                 TEXTttxt

    �~sU�~sU                         �  linux-msdos-digest         Tuesday,
June 27 2000       Volume 01 : Number 178

In this issue:

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

From: Isamar Maia <[EMAIL PROTECTED]>
Date: Fri, 16 Jun 2000 16:31:58 -0300 (EST)
Subject: Freedos + DOSEMU + SAMBA

Hi Folks!

I need to solve two problems:

1) How can I use lredir-like program in Freedos ?

2) How can I generate freedos updated hdimage for DOSEMU ? DOSEMU ask for
msdos.sys and io.sys. Freedos has only KERNEL.SYS.

Best Regards,

Isamar Maia
Bitnet Conectividade
Ilheus/Itabuna - BA





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

From: Alistair MacDonald <[EMAIL PROTECTED]>
Date: Fri, 16 Jun 2000 23:06:25 +0100 (BST)
Subject: Re: Freedos + DOSEMU + SAMBA

On Fri, 16 Jun 2000, Isamar Maia wrote:
> I need to solve two problems:
> 1) How can I use lredir-like program in Freedos ?

Only by getting one of the kernels from the Freedos project. Our tests
have show that there are still some problems with it.

> 2) How can I generate freedos updated hdimage for DOSEMU ? DOSEMU ask for
> msdos.sys and io.sys. Freedos has only KERNEL.SYS.

Which version of DOSEMU are you using? I've just checked and
setup-hdimage is aware of FreeDOS in DOSEMU-1.0.0 and DOSEMU-0.98.8, and
presumeably earlier.

Alistair

PS Why did you include SAMBA in the subject if you didn't mention in the
body ?


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

From: Alistair MacDonald <[EMAIL PROTECTED]>
Date: Fri, 16 Jun 2000 23:56:10 +0100 (BST)
Subject: Re: dosemu and samba

On Sat, 15 Jun 1996, Claudio Alejandro Mart�n wrote:
> �How can I conect dosemu and marsnwe? (netware emulator)

Why do you want to do this ?

To access a remote "novell" partition: Use 'ncpfs' under Linux and
'lredir' OR export the file system to the local machine & use 'lredir'

To access a local partition: Use 'lredir'

Otherwise, start by turning '_ipxsupport' on. You'll also find some
information in the README ('Networking using DOSEMU') and
doc/NOVELL-HOWTO.txt although I think both may need updating.

Alistair


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

From: "KPKN Purwakarta (021)" <[EMAIL PROTECTED]>
Date: Sat, 17 Jun 2000 14:22:05 +0700
Subject: How to use EPSON LQ-1170 on DOSEMU ?

Hello.. I'm a newbie
I use CorelLINUX 1.1 (kernel 2.2.14)
and DOSEMU 0.98 (include in the distribution)
I also put the KDE as my window-manager

Everytime I want to print, why the DOSEMU
cannot do it as like as the real DOS act.
I mean the real DOS can connect to the LPT1 directly,
but the DOSEMU depends on the KDE printer list
(setup from kControl)

If I clear/remove all of the printer list, the DOSEMU
don't do anything on printing....

How could I use the LPT1 directly from DOSEMU
(without any emulation...)
Thanks..




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

From: Philipp <[EMAIL PROTECTED]>
Date: Sat, 17 Jun 2000 16:25:45 +0200
Subject: keyboard

Hi!
Since I have entered the following two commands my keyboard doesn't
function well:
        xmodmap -e "keycode 107=0xfff"
        xmodmap -e "keycode 22=0xff08"
My Del- and my Backspace-key are corrupt.
Can I repair my keyboard??

Thanks a lot

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

From: Bart Oldeman <[EMAIL PROTECTED]>
Date: Sat, 17 Jun 2000 17:07:59 +0100 (BST)
Subject: Re: keyboard

On Sat, 17 Jun 2000, Philipp wrote:

> Since I have entered the following two commands my keyboard doesn't
> function well:
>       xmodmap -e "keycode 107=0xfff"
>       xmodmap -e "keycode 22=0xff08"
> My Del- and my Backspace-key are corrupt.
> Can I repair my keyboard??

xmodmap -e "keycode 107=0xffff"

4 "F"'s instead of 3?

The backspace and delete keys are nontrivial business.

I know of at least two different ways to handle backspace and delete if
xmodmap is set like stated before:

1. The xfree86 way:
Backspace generates ^H , delete generates DEL (ASCII 127)

2. The console and xterm-debian way:
Backspace generates DEL, delete generates ESC [ 3 ~

Solve problems with possibility 1:
Try
stty erase ^H
Your terminfo file (type "infocmp" at the prompt) should have
kbs=^H, kdch1=\177
and there should be no relevant *VT100.Translations in "xrdb -query"

The way to get possibility 2 in X:
stty erase ^?
terminfo has
kbs=\177, kdch1=\E[3~
and the following in .Xresources
*VT100.Translations: #override ~Shift ~Ctrl ~Meta \
<Key>BackSpace: string("\177")\n\
                               ~Shift ~Ctrl ~Meta \
<Key>Delete: string("\033[3~")\n\

Bart


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

From: Isamar Maia <[EMAIL PROTECTED]>
Date: Sat, 17 Jun 2000 13:43:46 -0300 (EST)
Subject: Re: Freedos + DOSEMU + SAMBA

>
>
> On Fri, 16 Jun 2000, Isamar Maia wrote:
> > I need to solve two problems:
> > 1) How can I use lredir-like program in Freedos ?
>
> Only by getting one of the kernels from the Freedos project. Our tests
> have show that there are still some problems with it.

What kind of problems?

>
> > 2) How can I generate freedos updated hdimage for DOSEMU ? DOSEMU ask for
> > msdos.sys and io.sys. Freedos has only KERNEL.SYS.
>
> Which version of DOSEMU are you using? I've just checked and
> setup-hdimage is aware of FreeDOS in DOSEMU-1.0.0 and DOSEMU-0.98.8, and
> presumeably earlier.
>

OK.. thanks.

> PS Why did you include SAMBA in the subject if you didn't mention in the
> body ?
>
Don't know.. just a mistake. Sorry.



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

From: Bart Oldeman <[EMAIL PROTECTED]>
Date: Sat, 17 Jun 2000 23:56:42 +0100 (BST)
Subject: Re: Freedos + DOSEMU + SAMBA

On Sat, 17 Jun 2000, Isamar Maia wrote:

> > On Fri, 16 Jun 2000, Isamar Maia wrote:
> > > I need to solve two problems:
> > > 1) How can I use lredir-like program in Freedos ?
> >
> > Only by getting one of the kernels from the Freedos project. Our tests
> > have show that there are still some problems with it.
>
> What kind of problems?

The bootdir now works, and in version 1.0.1 it will even work without a
boot.blk file, but in my tests lredir did not work directly.

There are other issues with Freedos's command.com (even basic stuff like
cd, dir and copy). Somebody else had problems with printing in the past.

Freedos does not use UMB's and the HMA, AFAIK; freedos uses a lot of
conventional memory. I've had some file corruption with freedos in the
past. This might be solved however. But if you like to stay on the safe
side, I would still use DR-DOS (limited version free as in beer for use
under DOSEMU; full version free as in beer for non-commercial use; see
www.drdos.com / ftp.drdos.com) or even MS-DOS including Win9x's DOS.

Bart


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

From: werni <[EMAIL PROTECTED]>
Date: Mon, 19 Jun 2000 00:07:02 +0200 (CEST)
Subject: escape problem in dosemu while running daggerfall

Hello
when I push escape key my dosemu freezes. But only when I'm runninf
daggerfall. (its a game, dungeon ;-))). I have red hat 6.1 dosemu ver
1.0.0.
in dosemu.conf $_rawkeyboard = (1)

Do u have any ideas??

thanx a lot

werni




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

From: [EMAIL PROTECTED] (Eric W. Biederman)
Date: 19 Jun 2000 10:41:29 -0500
Subject: Re: escape problem in dosemu while running daggerfall

werni <[EMAIL PROTECTED]> writes:

> Hello
> when I push escape key my dosemu freezes. But only when I'm runninf
> daggerfall. (its a game, dungeon ;-))). I have red hat 6.1 dosemu ver
> 1.0.0.
> in dosemu.conf $_rawkeyboard = (1)
>
> Do u have any ideas??

I need to know how you are running dosemu.
In an xterm?
On the console?
as xdos?
via telnet?
Because it makes quite a difference how we interpret keyboard strokes.

Eric

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

From: "Anderson Arthur Boeno" <[EMAIL PROTECTED]>
Date: Mon, 19 Jun 2000 18:09:59 -0300
Subject: dosemu

Ol� gostaria que vcs me ajudassem num problema.
Meus graficos do meu programa em dos n�o funionam perfeitamente, e nem o
teclado, como ctrl+enter ctrl+esc,...
OBS.: J� coloquei o gr�fico como ibm dai foi que melhorou um pouco, o que
devo fazer para ficar 100% ok??
Certos do vosso entendimento antecipo agradessimentos
- -------------------------
Anderson Arthur Boeno
Fone: (51)592-1116
Farm�cias Capil� Ltda.
- -------------------------

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

From: "Anderson Arthur Boeno" <[EMAIL PROTECTED]>
Date: Mon, 19 Jun 2000 18:10:35 -0300
Subject: Urgente

Ol� gostaria que vcs me ajudassem num problema.
Meus graficos do meu programa em dos n�o funionam perfeitamente, e nem o
teclado, como ctrl+enter ctrl+esc,...
OBS.: J� coloquei o gr�fico como ibm dai foi que melhorou um pouco, o que
devo fazer para ficar 100% ok??
Certos do vosso entendimento antecipo agradessimentos
- -------------------------
Anderson Arthur Boeno
Fone: (51)592-1116
Farm�cias Capil� Ltda.
- -------------------------

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

From: Alistair MacDonald <[EMAIL PROTECTED]>
Date: Mon, 19 Jun 2000 22:33:46 +0100 (BST)
Subject: Re: Urgente

On Mon, 19 Jun 2000, Anderson Arthur Boeno wrote:

> Ol� gostaria que vcs me ajudassem num problema.
> Meus graficos do meu programa em dos n�o funionam perfeitamente, e nem o
> teclado, como ctrl+enter ctrl+esc,...
> OBS.: J� coloquei o gr�fico como ibm dai foi que melhorou um pouco, o que
> devo fazer para ficar 100% ok??
> Certos do vosso entendimento antecipo agradessimentos

Sending the message twice doesn't make it get answered quicker 8-)

You need to tell us whether you are running 'xdos', 'xtermdos', 'dos' over
a serial line/remotely or 'dos' on a console.  It would also be helpful to
see the relevant parts of your /etc/dosemu.conf and to know which version
of DOSEMU you are running.

Alistair


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

From: Mattias Hembruch <[EMAIL PROTECTED]>
Date: Mon, 19 Jun 2000 17:44:06 -0400 (EDT)
Subject: Dosemu startup script

Ok, perhaps I should get the exact file names and lines, but I'm guessing
this is a non-too-uncommon error, and I'm guessing there's already a fix.

I just re-partitioned my hd, so that I now have 10 partitions (/dev/hda1
through /dev/hda10).

/dev/hda1 is my DOS partition, /dev/hda10 is my Linux root partition. When I
try to startup DOS (via partition access), it complains: /dev/hda1 is not
unmounted. Looking through the startup script in /usr/lib/dosemu, it checks
for mounted/unmounted partitions, but it doesn't realize that /dev/hda10 is
NOT the same as /dev/hda1, and so complains. I manually hacked it to ignore
the check, but obviously, that's NOT the same thing. I couldn't figure the
scripting language out well enough to modify the check to recognize the
difference between /dev/hda1 and /dev/hda10, at least not in 10 minutes.


Also, when running xdos, I get errors about not being able to find some
fonts (VGA, one other one), and the characters are messed up. I'm running
XFree86 4.0 - did something change between versions?

(I can get exact error messages/filenames if these aren't common errors)

Thanks,
Mattias

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

From: Jim Hobbs <[EMAIL PROTECTED]>
Date: Mon, 19 Jun 2000 18:53:04 -0400
Subject: [Fwd: Re: Function Keys in DOSEMU]

Alistair,

Thanks for the response.  I'll try to answer your question:

On Sun, 18 Jun 2000, Jim Hobbs wrote:
>> You have a great program, and I appreciate your effort in developing
>> it.  I'm trying to run a ham radio program called "Hostmaster", that
>> controls a TNC for packet radio.  The program relies heavily on function
>> keys, but I find that only some of them work properly under DOSEMU.
>> Specifically, keys 1-4 don't work at all.

> How are you running DOSEMU ? The keyboard code used depends upon whether
> you are in Console mode (RawKeyboard affects this too), Terminal mode, or
> X mode.

I'm running RH 6.2.  I've tried this in a Gnome terminal, in xterm, and
in a console, all with similar results.  This morning I installed a
program called "kamplus", which is a program similar to Hostmaster, but
written for Linux.  I had the same trouble, and had to tell the Makefile
that my F1 key returns ^[OP after entering CTL-v, and then recompile.
Apparently that program knows what to do for F1-F4 once you tell it what
F1 does.  Not being a Linux expert (but enjoying learning), I have only
a weak feel for what's going on here.

Thanks very much for the help.

- --- Jim

> You'll probably get a faster response if you email your answer via the
> mailing list ([EMAIL PROTECTED]) as then our keyboard guru will
> get it as well.

> Alistair

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

From: "Mikel Cox" <[EMAIL PROTECTED]>
Date: Tue, 20 Jun 2000 09:16:20 +0800
Subject: Date:  Tue, 20 Jun 2000 09:16:20 +0800

dW5zdWJzY3JpYmUNCg0K

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

From: [EMAIL PROTECTED]
Date: Tue, 20 Jun 2000 16:50:00 MET_DST
Subject: RE: escape problem in dosemu while running daggerfall

>Date: Mon, 19 Jun 2000 00:07:02 +0200 (CEST)
>From: werni <[EMAIL PROTECTED]>

>when I push escape key my dosemu freezes. But only when I'm runninf

I noticed it happens when INT 28h is invoked with ints disabled
(with another program). The INT 28h is serviced by DosEmu, and
seems it keeps the "ints disabled" state preventing DOS program
from receiving "keyboard interrupt". I suppose if application
invokes INT 28h in loop without enabling interrupts until it
finds keystroke in buffer it may wait forever...

Jerzy

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

From: "Bjorn Eriksson" <[EMAIL PROTECTED]>
Date: Tue, 20 Jun 2000 22:37:52 +0200
Subject: Repeat: dosemu CVS

Hi everyone,

 I've been happily modifying my dosemu copy (patchset-1.0.0.9.tgz) without
thinking about keeping backups or such. After a couple of quick changes I
realised this and tried to find some sort of CVS to use for diffs to send
off patches. No such luck.

 In a message to Jeff Bachtel dated 1998-10-16, Hans Lermen says:

<quote>
> Is there anonymous CVS access for dosemu?

No, and there are no plans to have one.
</quote>

 Is this still the case?

Anyways:
 src/arch/linux/debugger/mhpdbgc.c:get_value() " wl" used twice, assumes
constant string merging is in effect. I get some other 'interesting' effects
when turning that off.

 mfs.c:line# 3191 O_WRONLY -> O_RDWR Makes Microsofts old link, lib, etc.
work on lredir:ected drives. I saw some other people reported this problem
before.


//Bj�rnen.


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

From: Alistair MacDonald <[EMAIL PROTECTED]>
Date: Tue, 20 Jun 2000 22:01:06 +0100 (BST)
Subject: Re: Repeat: dosemu CVS

On Tue, 20 Jun 2000, Bjorn Eriksson wrote:
>  In a message to Jeff Bachtel dated 1998-10-16, Hans Lermen says:
> <quote>
> > Is there anonymous CVS access for dosemu?
> No, and there are no plans to have one.
> </quote>
>
>  Is this still the case?

That is still the case.

Alistair


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

From: Isamar Maia <[EMAIL PROTECTED]>
Date: Tue, 20 Jun 2000 18:02:49 -0300 (EST)
Subject: Kernel.SYS X IO.SYS AND MSDOS.SYS

I've searched this info with no success.

I installed last available version of freedos alone in a Harddrive for
direct boot.
I put it as secondary harddrive in my linux box and I mount this
partition normally. What I want?

I want to create a hdimage from this harddrive to distribute this image
to other machines running linux+dosemu.
I'm using dosemu-1.0.0-1.i386.rpm but when I run setup-hdimage, it asks to
me for MSDOS.SYS and IO.SYS files but I have only KERNEL.SYS.

Thanks in advance for any help,

Isamar


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

From: Alistair MacDonald <[EMAIL PROTECTED]>
Date: Tue, 20 Jun 2000 22:04:30 +0100 (BST)
Subject: Re: Dosemu startup script

On Mon, 19 Jun 2000, Mattias Hembruch wrote:
[...]
> Also, when running xdos, I get errors about not being able to find some
> fonts (VGA, one other one), and the characters are messed up. I'm running
> XFree86 4.0 - did something change between versions?

When you installed XFree86 4.0, did you keep the old font directories
(unlikely if RPM'd) and if not, did you re-install the vga font which
comes with DOSEMU ?

Alistair


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

From: Paul Jensen <[EMAIL PROTECTED]>
Date: Tue, 20 Jun 2000 16:30:27 -0500 (CDT)
Subject: RE: escape problem in dosemu while running daggerfall

> >when I push escape key my dosemu freezes. But only when I'm runninf
>
> I noticed it happens when INT 28h is invoked with ints disabled
> (with another program). The INT 28h is serviced by DosEmu, and
> seems it keeps the "ints disabled" state preventing DOS program
> from receiving "keyboard interrupt". I suppose if application
> invokes INT 28h in loop without enabling interrupts until it
> finds keystroke in buffer it may wait forever...

i have seen this behavior on one program i run (or try to).  Is there any
solution to this problem?  i use dosemu everyday and love it.  without
dosemu, i probably would not have migrated to linux.   Thanks for a great
program.

paul jensen
www.linuxfromscratch.org
www.pcrdallas.com



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

From: Grzegorz Prokopski <[EMAIL PROTECTED]>
Date: Wed, 21 Jun 2000 03:13:32 +0200
Subject: Hacking around keyboard codes (longer)

Hi!

I am trying to make dosemu's keyboard more Polish-friendly.
I downloaded and applyied keyboard path for dosemu 1.0.0
(dosemu-1.0.0.eb1.21.patchset.tar.gz)
and tryied some folks under text console.

Looking at keymaps.c i saw "pl" keyboard. That looked good, but
ocurred to be unusable for me. "auto" option worked a bit better for
me, as it gave me *some* code for *almost* every of my national char's
(but not the right codes - anyway).

There are 3 maps.
normal - key_map
upper - shift_map
alt (right) - alt_map

But in my language I have for example letter "a" and "A"
both with "," at the bottom (as if You joined these two characters into
one).
Codes I would like to have for them (for the program that I run
inside dosemu - 8bit codes) are:
"a" - 97 (60h) - world standard
"A" - 65 (41h) - world standard
"a," - 134 (86h) - local standard called Mazovia or Latin2
"A," - 143 (8fh) - same as above

So I have at least 4 cases when "a" key is pressed
- - no alt, no shift - just "a"
- - no alt but shift - just "A"
- -    alt, no shift - "a,"
- -    alt and shift - "A,"

Add to it, that when CapsLock is pressed it should behave as if it
had Shift pressed... Is it possible to do such things that I need
with those (only) 3 maps ?
(Where's the code, that uses them ? in old_serv_xlat.c ??? is it
used anyway? so why is it called "old"? if it isn't used why
is it in source tree ?)
Uppercasing is also a problem, 'cause its not as simple as -32 for
"normal" chars - it must be given as a table for every single char.

Ive got 3 standards of coding for polish chars in front of me:
- - Mazovia (Latin2) - doesn't broke the frames and IS the standard
- - DOS 852 codepage (don't like it too much)
- - Windows 1250 (shit!)

Anyway it doesn't really matter which of them I code in dosemu.
I can use any of them, cause my database program can change the codes
from input using recode table to internally used Mazovia (Latin2)
and then recode again using different table before displaying.
But it would be nice to have some standard kept.

So my question is: how to ? Is it possible to have it done using
today's dosemu internals, or should I change sth significantly ?
If yes - where to look, what to change ?
Would You tell me more about those 3 recode tables ?
I understand that they have 0xef?? format, where ?? is sth,
that really matters. But how it really works - especially for
alt_map ? (maybe add alt_shift_map to defs, or to uppercase method ?
and small change to recode proc - btw: where it is done ?)


The second idea is that *IF* dosemu gives proper scancodes (those
twice 8bit) I would be able to use a program that changes scancodes
to the codes I need - as I used to use such in real DOS.
Would it work anyway? I tryied to use it under 0.96 dosemu and it
didn't work.

Last thought: I think I should be able to change what char is displayed
on the console (via ssh or telnet to be exact) as chat that has code XX
?
It isn't dosemu-related ;) Where to change such things ?
I would like to have normal, 8bit frames, instead of strange
- -|+{} chars when using dosemu via ssh.

Whoa! I wrote a lognish letter... Sorry ;)
Waiting four Your words.

                                        Grzegorz Prokopski

PS: If somebody remember - I asked about file locking some time ago.
I didn't forgot the topic and I am about to prepare a path that enables
dosemu to lock properly files on NetWare (ncp) mounted shares
(thanks go to Petr Vandrove).
Things got longer, but I am going to test it in next week.
That's a pity nobody from SAMBA team answered to my emails (3 of them)
about smbfs file locking - so it still doesn't work well.

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

From: [EMAIL PROTECTED]
Date: Tue, 20 Jun 2000 21:28:49 -0400
Subject: Duvidas em DOSEMU

Desculpa por escrever em portugues, pois n�o sei ingles.....  Eu instalei o
DOSEMU por�m acusa que deu erro na linha 720 do arquivo dosemu.conf, por�m
n�o existe essa linha no documento. O que pode ser isso

_________________________________________________________
Oi! Voc� quer um iG-mail gratuito?
Ent�o clique aqui: http://www.ig.com.br/paginas/assineigmail.html


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

From: Wojtek Pilorz <[EMAIL PROTECTED]>
Date: Wed, 21 Jun 2000 13:01:07 +0200 (CEST)
Subject: Re: Hacking around keyboard codes (longer)

On Wed, 21 Jun 2000, Grzegorz Prokopski wrote:

> Date: Wed, 21 Jun 2000 03:13:32 +0200
> From: Grzegorz Prokopski <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Hacking around keyboard codes (longer)
>
> Hi!
>
> I am trying to make dosemu's keyboard more Polish-friendly.
[...]

> "a" - 97 (60h) - world standard
> "A" - 65 (41h) - world standard
> "a," - 134 (86h) - local standard called Mazovia or Latin2
> "A," - 143 (8fh) - same as above
>
[...]
The wording here might suggest that Mazovia is another name for Latin2,
which is incorrect;
There are 4 standards (?) for encoding Polish characters in 8 bits in
common use today on PCs:

ISO Latin-2 (CP 8859/2),
IBM Latin-2 (MS-DOS CP 852),
Mazovia,
Windows ANSI (CP 1250)

all of them different
(CP 1250 is quite similar to ISO Latin-2, i.e. 66% of codes are
identical).

Best regards,

Wojtek


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

From: [EMAIL PROTECTED] (Eric W. Biederman)
Date: 21 Jun 2000 10:22:11 -0500
Subject: Re: Hacking around keyboard codes (longer)

Grzegorz Prokopski <[EMAIL PROTECTED]> writes:

> Hi!
>
> I am trying to make dosemu's keyboard more Polish-friendly.
> I downloaded and applyied keyboard path for dosemu 1.0.0
> (dosemu-1.0.0.eb1.21.patchset.tar.gz)
> and tryied some folks under text console.
>
> Looking at keymaps.c i saw "pl" keyboard. That looked good, but
> ocurred to be unusable for me. "auto" option worked a bit better for
> me, as it gave me *some* code for *almost* every of my national char's
> (but not the right codes - anyway).

O.k. things are better then they look at first glance.
With dosemu-1.0.0.eb1.21.patchset.tar.gz all of the needed
infrastructure is in place.  It hasn't been taken much advantage
of yet however.

>
> There are 3 maps.
> normal - key_map
> upper - shift_map
> alt (right) - alt_map
Thre is also a shift + alt keymap.

Because previous to my patchset the infrastructure was not
in place to do more nothing has yet taken advantage of it.
You get to be first :)

Currently only the de & us keymaps are have been fully converted.

In particular that means you will not see the 0xef combinations
in either keymap.   What you will see is a the unicode values,
of the keys you want.  This is the prefered way to handled things
now allowing you to have keymaps independant of character set encoding.


>
> But in my language I have for example letter "a" and "A"
> both with "," at the bottom (as if You joined these two characters into
> one).
> Codes I would like to have for them (for the program that I run
> inside dosemu - 8bit codes) are:
> "a" - 97 (60h) - world standard
> "A" - 65 (41h) - world standard
> "a," - 134 (86h) - local standard called Mazovia or Latin2
> "A," - 143 (8fh) - same as above
>
> So I have at least 4 cases when "a" key is pressed
> - no alt, no shift - just "a"
> - no alt but shift - just "A"
> -    alt, no shift - "a,"
> -    alt and shift - "A,"
>
> Add to it, that when CapsLock is pressed it should behave as if it
> had Shift pressed... Is it possible to do such things that I need
> with those (only) 3 maps ?
Not with those three.  But that is how caps lock is currently
implemented.  If a key has a letter character use the shift
variation.

> (Where's the code, that uses them ? in old_serv_xlat.c ??? is it
> used anyway? so why is it called "old"? if it isn't used why
> is it in source tree ?)

The translation code is in serv_xlate.c  old_ser_xlat.c is the
implementation before the rewrite.  The are both present to make
it simple to test for regression and bugs by just compiling the
code differently.

> Uppercasing is also a problem, 'cause its not as simple as -32 for
> "normal" chars - it must be given as a table for every single char.

If just using the shift table is suffient then we are good here.

>
> Ive got 3 standards of coding for polish chars in front of me:
> - Mazovia (Latin2) - doesn't broke the frames and IS the standard
For this one I need a translation table to unicode in
src/base/translate.c ( I don't have a reference for it.)

> - DOS 852 codepage (don't like it too much)
> - Windows 1250 (shit!)
>
> Anyway it doesn't really matter which of them I code in dosemu.
> I can use any of them, cause my database program can change the codes
> from input using recode table to internally used Mazovia (Latin2)
> and then recode again using different table before displaying.
> But it would be nice to have some standard kept.

Unless they actual keyboard layout is different you can do them
all with one keymap.

A usefull place to know about is src/base/translate/keysym_approximations.c
This has a table of approximations to use when the appriate unicode
character isn't in a character set.

>
> So my question is: how to ? Is it possible to have it done using
> today's dosemu internals, or should I change sth significantly ?
> If yes - where to look, what to change ?
> Would You tell me more about those 3 recode tables ?
> I understand that they have 0xef?? format, where ?? is sth,
> that really matters. But how it really works - especially for
> alt_map ? (maybe add alt_shift_map to defs, or to uppercase method ?
> and small change to recode proc - btw: where it is done ?)

shift_alt_map has already been added :)
See down at the bottom in the auto case.
Ignore the 0xef?? case, it is a backwards compatibility hack,
(I have taken part of the user defined range of unicode
and said it maps directly to whatever characters set you are using).
Much better is to actually use the unicode character you want.

Since I don't know for certain which character set the existing keymaps
were designed for, figuring out the appropriate character is difficult
and hasn't been done, except for the use & de keymaps.


>
>
> The second idea is that *IF* dosemu gives proper scancodes (those
> twice 8bit) I would be able to use a program that changes scancodes
> to the codes I need - as I used to use such in real DOS.
> Would it work anyway? I tryied to use it under 0.96 dosemu and it
> didn't work.

Yes it will bug only in X with the keycode options & on the console
with the raw keyboard option.
It will also give you the correct scancodces via telnet etc.  But only
if you have an appropriate map for dosemu to work backwards with.

>
> Last thought: I think I should be able to change what char is displayed
> on the console (via ssh or telnet to be exact) as chat that has code XX
> ?
> It isn't dosemu-related ;) Where to change such things ?
> I would like to have normal, 8bit frames, instead of strange
> -|+{} chars when using dosemu via ssh

This in part controlled by what external chracter set you tell dosemu you have.
But it is further complicated by what the current slang code for displaying
characters can do.

Currently dosemu cannot handle that unless you tell dosemu you terminal
is running a character set encodeing that has those chracters &
you actuallly configure you terminal to use that character set.

As iso8859-2 is most likely what your terminal is running this becomes
nontrivial.

Doing this better is on the todo for dosemu but it will require a
rewrite of how we display chracters on the terminal, and so is coming
along slowly.

>
> Whoa! I wrote a lognish letter... Sorry ;)
> Waiting four Your words.

I hope this helps.  I am certain this doesn't tell you everything,
but hopefully this points you in the right direction.

Oh, one other thing.  As this keymap gets written.  I have a regresion
test around for this kind of thing, and putting it in the regression
test so I can ensure further changes to the code will not break
your keyboard would be a real help.

Eric

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

From: <[EMAIL PROTECTED]>
Date: Thu, 22 Jun 2000 17:06:29 -0500 (COT)
Subject: Help!!!

Id installed dosemu under linux, but i cannot save nothing that i do (i
cannot get write permission, even as root).
I'd read the documentation but no where says where i can configure that
feature.

thanks

Giovanni Montes



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

From: Henrique Seganfredo <[EMAIL PROTECTED]>
Date: Thu, 22 Jun 2000 21:17:31 -0300
Subject: test

just a test...please somebody answer...

is this a list related to dosemu-linux programming??


- --
Henrique Seganfredo (Segao)

[EMAIL PROTECTED] & ICQ #340812

computer programmer - hardware geek
guitar - scouting - drawing - AFS student

"Quanto mais aprendo, menos eu sei"
"The more I learn, the less I know"

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

From: Henrique Seganfredo <[EMAIL PROTECTED]>
Date: Thu, 22 Jun 2000 21:54:50 -0300
Subject: dosemu and soundcard programming

Hi folks,

...well, I have a Linux workstation here...I am trying to develop a real
mode and real time prog that deals directly with the sound card...If was
using DOS or Win95 I would not have any problems to just go coding right
away and make my prog work fine...but since Linux has a HAL and its RTC
provides at most 50-100Hz for the root user (AFAIK) I am pushed to hack
into Linux (develop a kernel mode prog) or try to use DOSEMU....

...I want to take the second option...so, I would like if anybody of you
is getting the way to obtain the sound card working on dosemu and how
dosemu behaves when dealing with oldie DOS timer programming...

...sound here is not working at all...I have an official SB16 (the one
with three CD ROM interfaces on it...quite amazing silicon piece...) I
am using the common OSS drivers and they are working ok in the linux
environment, dosemu.conf is set the soundcard settings accordingly to
the OSS setup...but it still not works...

anyway...I will be doing direct IO programming to the FM ports and to
the DSP ports...I also will hook some functions to the timer interrupts
(I dont know much about this topic, but mainly I pretend to do the
sampling from the DSP input ports at very high frequencies (22-44
khz...)

thats about it....:-)


thanks in advance...

- --
Henrique Seganfredo (Segao)

[EMAIL PROTECTED] & ICQ #340812

computer programmer - hardware geek
guitar - scouting - drawing - AFS student

"Quanto mais aprendo, menos eu sei"
"The more I learn, the less I know"

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

From: [EMAIL PROTECTED] (Eric W. Biederman)
Date: 22 Jun 2000 21:09:05 -0500
Subject: Re: Help!!!

<[EMAIL PROTECTED]> writes:

> Id installed dosemu under linux, but i cannot save nothing that i do (i
> cannot get write permission, even as root).
> I'd read the documentation but no where says where i can configure that
> feature.

Look at /var/lib/dosemu/hdimage
The file is most likely read only.

Eric

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

From: Alexander S.Kresin <[EMAIL PROTECTED]>
Date: Fri, 23 Jun 2000 12:26:18 +0400
Subject: Dosemu hangs on start

Hi, All.

 I have a strange problem with dosemu-1.00 .
 Not every time, but in 80% of cases when I run it with a 'dos'
 command, it hangs and I get a black screen. When I switch to other
 virtual console with Ctrl-Alt-F2 and then after few seconds - back,
 it sometimes begin to load, sometimes I need to switch to second
 console and back several times, sometimes it doesn't help at all.
 If I run dosemu from remote terminal ( from other computer in the net
 ) ir works Ok.
 Where can I find the reason ?


Best regards,
 Alexander
http://members.xoom.com/alkresin/



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

From: "Bjorn Eriksson" <[EMAIL PROTECTED]>
Date: Fri, 23 Jun 2000 10:56:21 +0200
Subject: RE: dosemu and soundcard programming

Hi Henrique,

> ...well, I have a Linux workstation here...I am trying to develop a real
> mode and real time prog that deals directly with the sound card...If was
> using DOS or Win95 I would not have any problems to just go coding right
> away and make my prog work fine...but since Linux has a HAL and its RTC
> provides at most 50-100Hz for the root user (AFAIK) I am pushed to hack
> into Linux (develop a kernel mode prog) or try to use DOSEMU....

 AFAIK the Enhanced RTC (compiletime option) gives you up to 8192Hz -

>From Documentation/Configure.help: <BLOCKQOUTE>
Enhanced Real Time Clock Support
CONFIG_RTC
Every PC has such a clock built in. It can be used to generate
signals from as low as 1Hz up to 8192Hz, and can also be used as a
24 hour alarm. It reports status information via the file /proc/rtc
</BLOCKQOUTE>

 If you're willing to recompile your kernel you can change the HZ #define to
increase the number of jiffies per second and use add_timer(). Lots of
caveats. Alessandro Rubini discusses this in his "Linux Device Drivers" just
to show it's possibly to increase the number of jiffies >= 50kHz, somewhere
around page 145. (I don't have it handy right now; today's midsummer, _the_
major pagan festival here.)

 Even kernel mode interrupt handlers get pretty high interrupt latencies
<insert handy reference which I can't find right now> (1k-3k clocks) so you
might want to look at one of them RT kernel variant or go with polling code.
If you do decide to use interrupts you'll better time your samples using
either gettimeofday() or the RDTSC ins. and resample to your wanted HZ
(easy).

 Running dosemu doesn't change any of this nor can it take away the HAL.


//Bj�rnen.


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

From: "KPKN Purwakarta" <[EMAIL PROTECTED]>
Date: Fri, 23 Jun 2000 16:56:39 -0000
Subject: Urgent !!! PORT & PRINTING

Specifications:
- -CorelLINUX 1.1
- -DOSEMU. 1.0

Question:
How to make DOSEMU go directly to the printer (/dev/lp0)
without any emulation ?

I've set my '/etc/dosemu.conf' to be like this:

# $_printer= "lpr"
# $_printer_timeout= "20"
$_ports = "device /dev/lp1 fast range 0x378 0x37f"

but... I didn't work. There's no activity when I send the command:
' dir > lpt1 ' (BTW, I use MSDOS 6.22 for my DOSEMU)

If the ' $_ports = ""  -----> I mean blank (no parameter) and
the first two lines above comment (no #), the command is work
but it seems an emulation printing, taking setup from the kcontrol (KDE)
Please help me... I've got no idea..... I hopeless....



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

From: Bart Oldeman <[EMAIL PROTECTED]>
Date: Fri, 23 Jun 2000 12:04:41 +0100 (BST)
Subject: Re: Urgent !!! PORT & PRINTING

On Fri, 23 Jun 2000, KPKN Purwakarta wrote:

> I've set my '/etc/dosemu.conf' to be like this:
>
> # $_printer= "lpr"
> # $_printer_timeout= "20"
> $_ports = "device /dev/lp1 fast range 0x378 0x37f"
>
> but... I didn't work. There's no activity when I send the command:
> ' dir > lpt1 ' (BTW, I use MSDOS 6.22 for my DOSEMU)

Maybe /dev/lp0 instead of /dev/lp1 works better. The /dev/lp? assignments
changed from Linux kernel 2.0 to 2.2, AFAIK, and now /dev/lp0 points to
the first printer.

Kernel documentation about parallel ports: if you only have one port, it
will default to being /dev/lp0, regardless of base address.

But in older kernels there were static ports assignments: /dev/lp1 always
pointed to 0x378. Some DOSEMU documentation is known to be well out of
date, and this is one thing we should mention at some point in the DOSEMU
docs.

Under DOS you should still use PRN or LPT1, not LPT2.

> If the ' $_ports = ""  -----> I mean blank (no parameter) and
> the first two lines above comment (no #), the command is work
> but it seems an emulation printing, taking setup from the kcontrol (KDE)

That is entirely predictable, since "lpr" takes its config from
/etc/printcap which can be configured by kcontrol.

Bart


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

From: Keith Ellul <[EMAIL PROTECTED]>
Date: Fri, 23 Jun 2000 18:11:50 -0400 (EDT)
Subject: Problems getting CDROM working

Hi.  I've been trying to get dosemu set up for the past couple of days,
and it seems to be going ok, except that I can't seem to get my
CD ROM working.  I've gone though all the documentation (particuarly
the README and README-tech files) and I seem to be doing everything
that it says... except it doesn't work.  Basically, I have the
following line in my config.sys file:

   device=c:\cdrom.sys

and I know that this is working, because when I load up dos I get the
message:

   [dosemu cdrom driver installed (V0.2)]

Then, in my autoexec.bat file, I have:

   mscdex /d:mscd0001 /l:E

However, when my autoexec.bat is executed, I get the following error message:

   Device driver not found: 'MSCD0001'.
   No valid CDROM device drivers selected

In case it's relevant, I'm running a Debian system, and I just installed
the dosemu package (version 1.0) and I'm using the cdrom.sys which
came with the package, as well as the DOS-C "FreeDOS" kernel which came
included.  I needed a copy of mscdex.exe so I downloaded it from some site
I found somewhere... it said it was the Windows95 version.  I don't know
what else to say... I've tried everything I can think of, and I'm stumped.
I thought that cdrom.sys was supposed to define MSCD0001.  If anyone
could shed some insight into my problem, I would really appreciate it.

Thanks,

- -Keith!

-
-------------------------------------------------------------------------------
Keith Ellul                             Pure Math / Comp Sci -- I'm done!
[EMAIL PROTECTED]       University of Waterloo
-
-------------------------------------------------------------------------------



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

From: [EMAIL PROTECTED] (Eric W. Biederman)
Date: 23 Jun 2000 17:30:20 -0500
Subject: Re: Problems getting CDROM working

Keith Ellul <[EMAIL PROTECTED]> writes:

> Hi.  I've been trying to get dosemu set up for the past couple of days,
> and it seems to be going ok, except that I can't seem to get my
> CD ROM working.  I've gone though all the documentation (particuarly
> the README and README-tech files) and I seem to be doing everything
> that it says... except it doesn't work.  Basically, I have the
> following line in my config.sys file:
>
>    device=c:\cdrom.sys
>
> and I know that this is working, because when I load up dos I get the
> message:
>
>    [dosemu cdrom driver installed (V0.2)]
>
> Then, in my autoexec.bat file, I have:
>
>    mscdex /d:mscd0001 /l:E
>
> However, when my autoexec.bat is executed, I get the following error message:
>
>    Device driver not found: 'MSCD0001'.
>    No valid CDROM device drivers selected
>
> In case it's relevant, I'm running a Debian system, and I just installed
> the dosemu package (version 1.0) and I'm using the cdrom.sys which
> came with the package, as well as the DOS-C "FreeDOS" kernel which came
> included.  I needed a copy of mscdex.exe so I downloaded it from some site
> I found somewhere... it said it was the Windows95 version.  I don't know
> what else to say... I've tried everything I can think of, and I'm stumped.
> I thought that cdrom.sys was supposed to define MSCD0001.  If anyone
> could shed some insight into my problem, I would really appreciate it.

It's DOS-C "FreeDOS" that is limited here.
The support for CD's wasn't available when we released version 1.0.
So you need a new version of DOS.

Either FreeDOS or one you already have.

<FYI>
FreeDOS has been doing a tremendous job of stabalize and
becoming useful lately however it is still seems to be the buggiest
DOS out there.

</FYI>

Eric


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

From: Alistair MacDonald <[EMAIL PROTECTED]>
Date: Sat, 24 Jun 2000 16:29:32 +0100 (BST)
Subject: Re: Urgent !!! PORT & PRINTING

On Fri, 23 Jun 2000, KPKN Purwakarta wrote:
> Question:
> How to make DOSEMU go directly to the printer (/dev/lp0)
> without any emulation ?

> $_ports = "device /dev/lp1 fast range 0x378 0x37f"

> but... I didn't work. There's no activity when I send the command:
> ' dir > lpt1 ' (BTW, I use MSDOS 6.22 for my DOSEMU)

You may find that DOSEMU can't lock the printer device (/dev/lp1) because
your print spooler has the device open. Try disabling the printing system
and see if this has any effect.

Alistair


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

From: Alistair MacDonald <[EMAIL PROTECTED]>
Date: Sat, 24 Jun 2000 16:34:09 +0100 (BST)
Subject: Re: Dosemu hangs on start

On Fri, 23 Jun 2000, Alexander S.Kresin wrote:
>  I have a strange problem with dosemu-1.00 .
>  Not every time, but in 80% of cases when I run it with a 'dos'
>  command, it hangs and I get a black screen. When I switch to other
>  virtual console with Ctrl-Alt-F2 and then after few seconds - back,
>  it sometimes begin to load, sometimes I need to switch to second
>  console and back several times, sometimes it doesn't help at all.
>  If I run dosemu from remote terminal ( from other computer in the net
>  ) ir works Ok.

I saw something similar when I was testing some experimental graphics
code. If the card didn't initialiase properly DOSEMU appeared to/would
hang. Have a look at /etc/dosemu.conf and try setting $_graphics and
$_console to (0). Then DOSEMU shouldn't try to initialise the graphics
card on startup. If this works, then you could try just re-enabling
$_console.

Alistair


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

From: Keith Ellul <[EMAIL PROTECTED]>
Date: Sat, 24 Jun 2000 17:21:20 -0400 (EDT)
Subject: Re: Problems getting CDROM working

Thanks for the advice.  I switched to the MS version and everything
works fine now.  Thanks!

- -Keith!

On 23 Jun 2000, Eric W. Biederman wrote:

> It's DOS-C "FreeDOS" that is limited here.
> The support for CD's wasn't available when we released version 1.0.
> So you need a new version of DOS.
>
> Either FreeDOS or one you already have.
>
> <FYI>
> FreeDOS has been doing a tremendous job of stabalize and
> becoming useful lately however it is still seems to be the buggiest
> DOS out there.
>
> </FYI>

-
-------------------------------------------------------------------------------
Keith Ellul                             Pure Math / Comp Sci -- I'm done!
[EMAIL PROTECTED]       University of Waterloo
-
-------------------------------------------------------------------------------


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

From: Alexander S.Kresin <[EMAIL PROTECTED]>
Date: Mon, 26 Jun 2000 09:49:58 +0400
Subject: Re[2]: Dosemu hangs on start

 Alistair,
  Thanks for your reply.

 With $_graphics = (0) dosemu loads Ok, but drivers for Russian
 characters doesn't work - Russian characters aren't displayed on the
 screen correctly ( I tried $_console (0) and (1) ).
 I have old simple S3 video card with 1M of video memory.

Best regards,
 Alexander
http://members.xoom.com/alkresin/


>>  Not every time, but in 80% of cases when I run it with a 'dos'
>>  command, it hangs and I get a black screen. When I switch to other
>>  virtual console with Ctrl-Alt-F2 and then after few seconds - back,
>>  it sometimes begin to load, sometimes I need to switch to second
>>  console and back several times, sometimes it doesn't help at all.
>>  If I run dosemu from remote terminal ( from other computer in the net
>>  ) ir works Ok.

AM> I saw something similar when I was testing some experimental graphics
AM> code. If the card didn't initialiase properly DOSEMU appeared to/would
AM> hang. Have a look at /etc/dosemu.conf and try setting $_graphics and
AM> $_console to (0). Then DOSEMU shouldn't try to initialise the graphics
AM> card on startup. If this works, then you could try just re-enabling
AM> $_console.



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

From: LBS Com. Consultoria e Sistemas Ltda <[EMAIL PROTECTED]>
Date: Mon, 26 Jun 2000 11:39:31 -0300
Subject: Problems in simutaneous archives access

Hi All:

        I've been using dosemu for a while, since version 0.98 (I don't
remember which patch level), plus hdimage from Caldera's DR-DOS 7.03.
        Now I'm using dosemu 1.0.0, with the same hdimage, accessing files
from a SAMBA 2.0.6 server mounted with smbmount 2.0.6 at my wokstation.
        A weird thing is happening: Every workstation running dosemu logs
into my samba server as "nobody" and, when two or more workstations tryes
to access a file at same time, there's an error.  Another problem is that when
one workstation write a register into de archive served by samba,  takes a
time until others workstations can access this new register.
        What might be happening?
        I don't think it's a samba problem, because I've disabled the samba's
buffers and when I'm using DOS/WIN it doesn't happens....
        Sorry for mu awful english and thanks in advance for any help. I'm
trying to flush out Windows from my friend's life!!!
 --
Lucas do R. B. Brasilino da Silva
LBS Consultoria e Sistemas LTDA - Linux Brasil Sistemas
http://www.lbs.com.br

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

From: Isamar Maia <[EMAIL PROTECTED]>
Date: Mon, 26 Jun 2000 14:28:37 -0300 (EST)
Subject: Kernel.SYS X IO.SYS AND MSDOS.SYS

I've searched this info with no success.

I installed last available version of freedos alone in a Harddrive for
direct boot.
I put it as secondary harddrive in my linux box and I mount this
partition normally. What I want?

I want to create a hdimage from this harddrive to distribute this image
to other machines running linux+dosemu.
I'm using dosemu-1.0.0-1.i386.rpm but when I run setup-hdimage, it asks to
me for MSDOS.SYS and IO.SYS files but I have only KERNEL.SYS.

Thanks in advance for any help,

Isamar



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

From: Alistair MacDonald <[EMAIL PROTECTED]>
Date: Mon, 26 Jun 2000 22:05:04 +0100 (BST)
Subject: Re: Problems in simutaneous archives access

On Mon, 26 Jun 2000, LBS Com. Consultoria e Sistemas Ltda wrote:
>       A weird thing is happening: Every workstation running dosemu logs
> into my samba server as "nobody" and, when two or more workstations tryes
> to access a file at same time, there's an error.

Without knowing what the error is, this sounds like a locking issue. Are
you running 'share' ?

> Another problem is that when
> one workstation write a register into de archive served by samba,  takes a
> time until others workstations can access this new register.
>       What might be happening?
>       I don't think it's a samba problem, because I've disabled the samba's
> buffers and when I'm using DOS/WIN it doesn't happens....

This still sounds like Cacheing. The workstations will cache the data
locally that they receive from the Samba server.

Alistair


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

From: Alistair MacDonald <[EMAIL PROTECTED]>
Date: Mon, 26 Jun 2000 21:58:57 +0100 (BST)
Subject: Re: Kernel.SYS X IO.SYS AND MSDOS.SYS

On Mon, 26 Jun 2000, Isamar Maia wrote:
> I want to create a hdimage from this harddrive to distribute this image
> to other machines running linux+dosemu.
> I'm using dosemu-1.0.0-1.i386.rpm but when I run setup-hdimage, it asks to
> me for MSDOS.SYS and IO.SYS files but I have only KERNEL.SYS.

We are aware of this. It may be addressed in the next release, but there
are still issues with this version of FreeDOS. For example, the conversion
to an hdimage doesn't work (for me.)

Alistair


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

From: "Michael B." <[EMAIL PROTECTED]>
Date: Tue, 27 Jun 2000 15:17:26 -0400
Subject: Pipe? into dosemu program.

Hi, I have a program running under dosemu (Ver 0.98.8.0
running on RedHat 6.2)

I set it up to use "autoexec.bat" so that I can run the
whole deal in batch.  The program seems to be using VGA
graphics (not that i care, the display is not what I am
interested in). Everything works except for one problem.
When this program is finished it insists that a user
interactively press the "Enter" key before it will clean
up and go away properly.  This need for "Enter" is the
only thing standing in the way of what I really want...
that is, for the process to become a cron job.

Any ideas about how to do this would be appreciated.

I do suppose I could fork a child, wait until the output
file looks complete and then kill the dosemu process.
It is a solution that lacks all elegance (although there
is a macabre appeal to using kill as the "normal" means
of stopping a dos process).

What I really need is a way to:

        /usr/bin/dos < /dev/null

I have tried this, it does not work, neither does:

        echo '\n' | /usr/bin/dos
        echo '\r' | /usr/bin/dos

I have also tried: /usr/bin/dos -U inpipe:outpipe
which seems to accomplish nothing. (yes, both pipes
were set up as prw-rw-rw- using mknod and chmod).

- -Michael B.

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

From: Alistair MacDonald <[EMAIL PROTECTED]>
Date: Tue, 27 Jun 2000 20:59:48 +0100 (BST)
Subject: Re: Pipe? into dosemu program.

On Tue, 27 Jun 2000, Michael B. wrote:
> I set it up to use "autoexec.bat" so that I can run the
> whole deal in batch.
[...]
> Everything works except for one problem.
> When this program is finished it insists that a user
> interactively press the "Enter" key before it will clean
> up and go away properly.

Try 'keystroke' -- You'll find information on this under "Running a
DOS-application directly from Unix shell" in the README.

If this doesn't work then its probably because your application clears the
keyboard buffer at various points. If that is the case then you could try
using a stream but only send the <ENTER> key stroke after a certain period
of time -- have a separate process which sleeps and then sends the
command.

Alistair


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

From: Lucas Brasilino <[EMAIL PROTECTED]>
Date: Tue, 27 Jun 2000 18:48:12 -0300
Subject: Re: Problems in simutaneous archives access

Hi Alistair

> >     A weird thing is happening: Every workstation running dosemu logs
> > into my samba server as "nobody" and, when two or more workstations tryes
> > to access a file at same time, there's an error.
>
> Without knowing what the error is, this sounds like a locking issue. Are
> you running 'share' ?

        I think it's a locking problem too, but what do you mean "running
'share'"? Are you talking about share mode at samba?


  > > Another problem is that when
> > one workstation write a register into de archive served by samba,  takes a
> > time until others workstations can access this new register.
> >     What might be happening?
> >     I don't think it's a samba problem, because I've disabled the samba's
> > buffers and when I'm using DOS/WIN it doesn't happens....
>
> This still sounds like Cacheing. The workstations will cache the data
> locally that they receive from the Samba server.

        Maybe.... How can I prevent workstation from cacheing data? Something
about kflushd or kupdate? Any clue?

        Thanks a lot for you help.

Regards

Lucas Brasilino

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

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

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

----------
Received: from nic.funet.fi by post.fabrik.com
        with ESMTP (Fabrik F07.3-000)
        id [EMAIL PROTECTED] ; Tue, 27 Jun 2000 14:56:58 -0800
Received: from vger.rutgers.edu ([128.6.190.2]:6496 "EHLO vger.rutgers.edu"
        ident: "NO-IDENT-SERVICE[2]" smtp-auth: <none> TLS-CIPHER: <none>)
        by nic.funet.fi with ESMTP id <S4254AbQF0V42>;
        Wed, 28 Jun 2000 00:56:28 +0300
Received: ([EMAIL PROTECTED]) by vger.rutgers.edu via listexpand
        id <S157042AbQF0Vsu>; Tue, 27 Jun 2000 17:48:50 -0400
Received: by vger.rutgers.edu id <S157028AbQF0Vsd>;
        Tue, 27 Jun 2000 17:48:33 -0400
From:      [EMAIL PROTECTED]
To:        [EMAIL PROTECTED]
Subject:   linux-msdos-digest V1 #178
Reply-To:  [EMAIL PROTECTED]
Errors-To: [EMAIL PROTECTED]
Precedence: bulk
Message-Id: <[EMAIL PROTECTED]>
Date:   Tue, 27 Jun 2000 17:48:33 -0400

----------
 

Reply via email to