linux-msdos-digest Monday, 25 October 1999 Volume 01 : Number 158
In this issue:
----------------------------------------------------------------------
From: Feher Sandor <[EMAIL PROTECTED]>
Date: Mon, 18 Oct 1999 14:25:14 +0200
Subject: Re: resizing
Hans Lermen wrote:
>
> On Fri, 15 Oct 1999, Feher Sandor wrote:
> > Yes. That is I want! When my dos application starts it must to be full
> > screen mode or near full screen.
> It _does_ do that, just tested with $_X_winsize = "1024,768"
> You even can recize the window (dragging on the corner) to _any_ size
> you want.
I did it but doesn't work 8-(. The result is same that I probed many
time.
-----------------------------------------
| | |
| | |
| my xdos's | |
| window | |
| | |
| | |
| | |
| | |
|------------------------ |
| my screen (800x600) |
| |
-----------------------------------------
I fill this param vainly nothing is change 8-(. I tried 800,600 640,400
too.
Here are my settings (dosemu-0.98.4-1, but it doesn't matter i think):
$_X_updfreq = (5)
$_X_title = "DOS in a BOX"
$_X_icon_name = "xdos"
$_X_keycode = (on)
$_X_blinkrate = (8)
$_X_font = "9x15"
$_X_mitshm = (on)
$_X_sharecmap = (on)
$_X_fixed_aspect = (on)
$_X_aspect_43 = (on)
$_X_lin_filt = (off)
$_X_bilin_filt = (off)
$_X_mode13fact = (2)
$_X_winsize = "1024,768"
$_X_gamma = (1.0)
$_X_vgaemu_memsize = (1024)
$_X_lfb = (on)
$_X_pm_interface = (on)
$_X_mgrab_key = ""
$_X_vesamode = ""
Wondering for your opinion (especially Hans 8-)., Sanya
------------------------------
From: "Marcel van der Heide" <[EMAIL PROTECTED]>
Date: Mon, 18 Oct 1999 15:51:13 +0200
Subject: Re: DOSEMU to Samba Connectivity
On Mon, 18 Oct 1999 19:59:54 +1000, Steve Ripps wrote:
>LOCKING / Server + Clients required
> ===================================
>
>I have a big DOS app that I want to run in multiple DOSEMU sessions
>all on the one linux box with data shared between the sessions just like
>they were all on separate client machines accessing the data on a real
>server machine.
File locking works fine from DosEmu if you just lredir a linux
directory.
This is what I use.
Two drawbacks:
1: DosEmu doesn't honor the SGID bit on directories so that means you
have to set the umask to 00x for the users using dosemu, and put them
all in the same primary group.
2: You can't run the app over the network, on for example a dos machine
as well. You can of course use telnet to work from any machine, I use
console-telnet for windows.
I have played around with the novell emulation but it works very slow,
so I had to forget about that.
I use Samba for the other file and print serving for the win boxes.
Hope this helps. If you've got more questions, feel free to ask me.
------------------------------
From: Reinhard Karcher <[EMAIL PROTECTED]>
Date: Mon, 18 Oct 1999 16:02:02 +0200
Subject: Re: DOSEMU to Samba Connectivity
At Mon, 18 Oct 1999 Marcel van der Heide wrote:
>
> I have played around with the novell emulation but it works very slow,
> so I had to forget about that.
>
Hi,
I can't confirm that. Using dosemu built-in ipx and the Novell
Client software, I get fast access to Novell servers, even to
MARS-NWE running on the same linux system.
Reinhard
------------------------------
From: "Alejandro Nestor Vargas" <[EMAIL PROTECTED]>
Date: Mon, 18 Oct 1999 11:42:22 -0300
Subject: RE: Keyboard Mapping for a Clipper application run in DOSEMU over Telnet
> When I print out (to the TeraTerm telnet screen) the 'infocmp' data, I see
> (somewhere in the middle) something like this -
> kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt,
> kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw
> But when I 'cat -v' and hit a function key, I see - ^[[11~ (for the F1
key).
>
> How does this relate? And if something is wrong, how do I determine what
(and
> how) to fix it? Keith
Ok, this is the problem. The terminfo for your terminal says F1 is [esc]OP,
and your terminal is sending [ESC][11~
There are 3 ways to fix it: One is configuring your telnet in order to send
[esc]OP for F1, etc. Other is searching for a terminfo name that match your
terminal. And the other is creating a terminfo entry for your terminal.
1) Many telnet applications lets you to redefine the keyboard and you can do
this, but sometimes there may be other differences than keybord escape
sequences.
2) There may be a terminal definition that match your terminal. You can
search the names at /usr/share/terminfo/?/* and you can type "export
TERM=xxxxx" at the shell prompt in order to change the term definition and
test it with mc or dosemu if you want. If you find the right name, many
telnet clients have a place to type the name that they will report to the
telnet server and that will be assigned automatically to TERM environment
variable.
3) If you cannot find a terminal definition that match exactly that you are
using, you can create a new one or modify the existing one that you are
using (backup it before).
To do this use infocmp > afile to dump the information to a file. Then edit
the "afile" file and recompile it with tic afile. Note that there is not
matter with the name of this file. The terminfo definition name is inside
the file. Read the man of terminfo to learn the meaning of the variables.
You may need to edit other data also, like auto margin, etc. This work may
take a few days.
For some applications that uses termcap and not terminfo data you can
convert the terminfo file (afile in this case) to termcap format using
captoinfo and adding (or replacing the block) the result to /etc/termcap.
------------------------------
From: Steve Isaacs <[EMAIL PROTECTED]>
Date: Mon, 18 Oct 1999 10:07:39 -0700
Subject: CVS Client for DOSEMU.
I've been using a CVS Client for Win95 for some time with pretty good
success. Is there a way to use the same client software under DOSEMU?
I've tried using a Linux CVS client to get files and then using lredir
to map a path to the files but have encountered the new-line problem (LF
only versus CR/LF -- Carriage Return/Line Feed). DOS does not process
batch files very well when the CR has been stripped from the file. Using
a utility to add the CR back changes the file as far as CVS is concerned
and will be flagged as modified triggering a checkin. The CVS client for
Win95 handles this internally thus masking the problem. This is why a
CVS client compatible with DOSEMU would be useful.
Thanks,
Steve
------------------------------
From: "Alejandro Nestor Vargas" <[EMAIL PROTECTED]>
Date: Mon, 18 Oct 1999 18:40:47 -0300
Subject: RE: CVS Client for DOSEMU.
> I've been using a CVS Client for Win95 for some time with pretty good
> success. Is there a way to use the same client software under DOSEMU?
CVS is normally part of the standard installation of linux. You don't need
to use a DOS program having a native linux application.
>
> I've tried using a Linux CVS client to get files and then using lredir
> to map a path to the files but have encountered the new-line problem (LF
> only versus CR/LF -- Carriage Return/Line Feed).
It is very easy to add the CRLF to a text file in linux. Just create a
script with this line:
awk '{printf ("%s\r\n",$0)}'
Or you can do:
for a in *txt
do
echo converting $a to DOS CR/LF text format...
mv $a /tmp/$a
awk '{printf ("%s\r\n",$0)}' < /tmp/$a >$a
done
------------------------------
From: "Alejandro Nestor Vargas" <[EMAIL PROTECTED]>
Date: Mon, 18 Oct 1999 19:17:48 -0300
Subject: RE: DOSEMU to Samba Connectivity
> At Mon, 18 Oct 1999 Steve Ripps wrote:
> > - "Microsoft Network Client V3 for MSDOS" works fine but requires a
> > physical network card. It doesn't support packet drivers.
You can mount the win95/nt share into the linux tree using samba. Then, you
can use it mounting the linux tree into dosemu.
------------------------------
From: Hans Lermen <[EMAIL PROTECTED]>
Date: Tue, 19 Oct 1999 00:06:22 +0200 (MEST)
Subject: Re: resizing
On Mon, 18 Oct 1999, Feher Sandor wrote:
> I did it but doesn't work 8-(. The result is same that I probed many
> time.
> | my screen (800x600) |
^^^^^^^^^^^^^^^^^^^
> $_X_winsize = "1024,768"
^^^^^^^^
hmm, this is bigger than your screen size, even 800x600 won't fit
because of the window frame around it.
... though, even a too big window comes up (partially) with my window
manager here on my machine.
> Wondering for your opinion (especially Hans 8-)., Sanya
^^^^^^^^^^^^^^^
Don't have any clue, it works here on my machine with both DOSEMU
versions, 0.98.8 as well as 0.99.13.
BTW: did you take over ./etc/global.conf to /var/lib/dosemu as you
upgraded to a newer DOSEMU version?
Hans
<[EMAIL PROTECTED]>
------------------------------
From: UNIXMAN <[EMAIL PROTECTED]>
Date: Mon, 18 Oct 1999 19:22:14 -0400 (EDT)
Subject: Re: resizing
I also have it like this, no matter what I type in for $_X_winsize, the
xdos windows is still the same size and cannot be resized by dragging on
the corner. It's probably a simple problem, I hope some one will mention
the solution.
thanks..
On Mon, 18 Oct 1999, Feher Sandor wrote:
>
> Hans Lermen wrote:
> >
> > On Fri, 15 Oct 1999, Feher Sandor wrote:
> > > Yes. That is I want! When my dos application starts it must to be full
> > > screen mode or near full screen.
> > It _does_ do that, just tested with $_X_winsize = "1024,768"
> > You even can recize the window (dragging on the corner) to _any_ size
> > you want.
> I did it but doesn't work 8-(. The result is same that I probed many
> time.
>
> -----------------------------------------
> | | |
> | | |
> | my xdos's | |
> | window | |
> | | |
> | | |
> | | |
> | | |
> |------------------------ |
> | my screen (800x600) |
> | |
> -----------------------------------------
>
> I fill this param vainly nothing is change 8-(. I tried 800,600 640,400
> too.
> Here are my settings (dosemu-0.98.4-1, but it doesn't matter i think):
>
> $_X_updfreq = (5)
> $_X_title = "DOS in a BOX"
> $_X_icon_name = "xdos"
> $_X_keycode = (on)
> $_X_blinkrate = (8)
> $_X_font = "9x15"
> $_X_mitshm = (on)
> $_X_sharecmap = (on)
> $_X_fixed_aspect = (on)
> $_X_aspect_43 = (on)
> $_X_lin_filt = (off)
> $_X_bilin_filt = (off)
> $_X_mode13fact = (2)
> $_X_winsize = "1024,768"
> $_X_gamma = (1.0)
> $_X_vgaemu_memsize = (1024)
> $_X_lfb = (on)
> $_X_pm_interface = (on)
> $_X_mgrab_key = ""
> $_X_vesamode = ""
>
> Wondering for your opinion (especially Hans 8-)., Sanya
>
------------------------------
From: Jeremy Taylor <[EMAIL PROTECTED]>
Date: Mon, 18 Oct 1999 18:27:15 -0500 (CDT)
Subject: virtual com port
Hey there, follow up to my previous post in a sense, but has anyone worked
with setting up a virtual com port redirector in dosemu .99 or whatever is
newest, but the docs I have found for this only give instruction for doing
this older version like .6??, and this is not the same format in the
dosemu.conf file than for current versions. It suggests putting the
following in dosemu.conf:
serial { virtual com 1 }
however this format is not the same, I tried this:
$_com1 = "virtual"
but was not successfull. If anyone knows how I can get com1 or com2
redirected please letme know, I am sure it is something simply that I am
missing here.
Thanks
- -j1
------------------------------
From: Steve Ripps <[EMAIL PROTECTED]>
Date: Tue, 19 Oct 1999 10:22:57 +1000
Subject: Re: DOSEMU to Samba Connectivity - Thankyou
A big THANKS to you all for your good advice!
Free software with free support. What a great concept :)
Steve.
------------------------------
From: =?iso-8859-1?Q?B=F6rje?= Horn <[EMAIL PROTECTED]>
Date: Tue, 19 Oct 1999 09:26:04 +0200
Subject: winsize problem
Hi there,
This mailing list is really grant! It seems like that quite a bit more
people than just me have the problem of a DOS-Box that is too small to fit
their purpose. I mailed my probem (which is essentially the same as that of
the others) already two months or so ago, but probably everyone was on
holiday then :-). I am running dosemu 0.98.8 on an Slakware 4.0-version
using the 2.0.36 Kernel. I am having trouble with the winsize option as
well. It is essential for us to have a Dos-Window as big as possible (to
fill
a 17inch Monitor). However, when I try to modify the winsize option in the
dosemu.conf-file like this:
$_X_winsize = (800,600) (which is just an example for the size) it has no
effect at all on the size of the window.
So I am also desperately waiting for some kind of solution, since I really
do not know what to do about it and the staff working with the system as it
is right now are not very happy with it...
Thanks in advance to all the people discussing this problem!
Yours, Boerje
B�rje Horn
Bendstra�e 27b
52066 Aachen
Tel.: 0241/ 607242
e-mail: [EMAIL PROTECTED]
Web: http://www.BoerjeHorn.de
------------------------------
From: Andreas Bach Aaen <[EMAIL PROTECTED]>
Date: Tue, 19 Oct 1999 10:47:02 +0200 (CEST)
Subject: access denied over nfs
I run dosemu as a normal user and goto a directory that is located on a
unix hosted nfs system.
eg.
D:>cd \nfsdir
D:\NFSDIR>echo hello >test.txt
D:\NFSDIR>type test.txt
Access denied - TEST.TXT
D:\NFSDIR>del test.txt
I may create the file, I may delete the file, but I cannot read it !
If I wiev the file from Unix it has read/write and no execute permissions
to the user that runs dosemu.
What can I do to prevent thise Access denied ?
Regards
Andreas Bach Aaen
------------------------------
From: Reinhard Karcher <[EMAIL PROTECTED]>
Date: Tue, 19 Oct 1999 11:00:48 +0200
Subject: Re: access denied over nfs
At Tue, 19 Oct 1999 Andreas Bach Aaen wrote:
> I run dosemu as a normal user and goto a directory that is located on a
> unix hosted nfs system.
> eg.
>
> D:>cd \nfsdir
> D:\NFSDIR>echo hello >test.txt
> D:\NFSDIR>type test.txt
> Access denied - TEST.TXT
> D:\NFSDIR>del test.txt
>
> I may create the file, I may delete the file, but I cannot read it !
>
> If I wiev the file from Unix it has read/write and no execute permissions
> to the user that runs dosemu.
>
If you are running linux 2.2.x, try mounting nfsdir with -o nolock.
Reinhard
------------------------------
From: Peter King <[EMAIL PROTECTED]>
Date: Tue, 19 Oct 1999 11:14:25 +0100
Subject: Dos emu for terminals to run sage on a WAN?
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
- ------_=_NextPart_001_01BF1A1A.B89FCBA0
Content-Type: text/plain;
charset="iso-8859-1"
Is it possible to set-up a linux server running dosemu to allow PC's to
connect with a graphical terminal emulation program, run dosemu in the
terminal then run Sage accounts on it. (Sage accounts or Line 100 is a dos
based accounting program)
Normally on this site they use an NT server then each PC connects to and
runs the Sage in a dos window, but they have some remote sites that need to
be able to use it as well. So I thought I could use some routers on the
remote sites to link them to a central Linux server running the software.
Sage won't run over a wan due to the size of the files involved. (150MB
including the data)
Any ideas would be much appreciated.
Regards,
Peter king.
Director.
Cyber Computer Networks Ltd.
Telephone: 0121 609 7282
Web Site: < http://www.cyber-i.net <http://www.cyber-i.net/> >
E-Mail: [EMAIL PROTECTED] < mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>
- ------_=_NextPart_001_01BF1A1A.B89FCBA0
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.00.2314.1000" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=020345709-19101999>Is it possible to
set-up a linux server running dosemu to allow PC's to connect with a graphical
terminal emulation program, run dosemu in the terminal then run Sage accounts on
it. (Sage accounts or Line 100 is a dos based accounting
program)</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=020345709-19101999></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=020345709-19101999>Normally on this
site they use an NT server then each PC connects to and runs the Sage in a dos
window, but they have some remote sites that need to be able to use it as well.
So I thought I could use some routers on the remote sites to link them to a
central Linux server running the software.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=020345709-19101999></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=020345709-19101999>Sage won't run over
a wan due to the size of the files involved. (150MB including the
data)</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=020345709-19101999></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=020345709-19101999>Any ideas would be
much appreciated.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=020345709-19101999></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=020345709-19101999></SPAN></FONT> </DIV><BR>
<P><FONT face=Arial size=2>Regards,</FONT> <BR><FONT face=Arial> </FONT>
<BR><FONT face=Arial size=2>P</FONT><FONT face=Arial size=2>eter king.</FONT>
<BR><FONT face=Arial size=2>Director.</FONT> <BR><FONT face=Arial> </FONT>
<P align=center><B><FONT face=Arial size=2>Cyber Computer Networks
Ltd.</FONT></B></P>
<P align=center><B><FONT face=Arial size=2>Telephone: 0121 609
7282</FONT></B></P>
<P align=center><B><FONT face=Arial size=2>Web Site:<U></U></FONT><U> <FONT
color=#0000ff face=Arial size=2><<A href="http://www.cyber-i.net/"
target=_blank>http://www.cyber-i.net</A>></FONT></U></B></P>
<P align=center><B><FONT face=Arial size=2>E-Mail:</FONT></B><B><U></U><U> <FONT
color=#0000ff face=Arial size=2>[EMAIL PROTECTED] <<A
href="mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</A>></FONT></U></B></P>
<DIV> </DIV></BODY></HTML>
- ------_=_NextPart_001_01BF1A1A.B89FCBA0--
------------------------------
From: Feher Sandor <[EMAIL PROTECTED]>
Date: Tue, 19 Oct 1999 12:15:13 +0200
Subject: some file creation problem
My applications copy one file to another directory. For example:
D:\APP\DATA99\x.dat D:\APP\DATA00\x.dat
D:\APP\DATA99\y.dat D:\APP\DATA00\y.dat
When I use simple copy command it works. The cobol has a function
cbl_copy_file I use sometime.
I works on a netware volume good, but on my local disk doesn't. E.g:
emu.sys / it's mean d:
When I run it on d: all the files will be created but every has zero
lenght. But when I run this application
on my netware server it works happily. The umask and other rights seems
correct.
TIA and by., Sanya
------------------------------
From: "Rob Kramer" <[EMAIL PROTECTED]>
Date: Tue, 19 Oct 1999 21:26:57 +0000
Subject: dosnet troubles..
Hey all,
Whatever I do, I can't get PC/TCP to work in dosemu. I've read the
manual a million times, insmodded dosnet.o added an interface and a
route, but it won't do a thing.
The lan here is 145.35.x.x, my linux box is 145.35.0.19, my dosemu is
145.35.0.20. Interface dsn0 is at 145.35.0.50.
Trying ping:
dos: ping self works OK
dos: ping interface (.0.50) doesn't work
dos: all other addresses won't work either
linux: ping interface works
linux: ping dos (.0.20) doesn't work.
Ifconfig shows that rx and tx count increase if I ping from either
side of dsn0.
Could this be a problem with the way I set up the route etc.? To be
honest it's all a bit fuzzy to me.. Can anyone tell how to
configure the above? Do I need some sort of subnet that's
145.36.x.x? Or do I have to configure networking in the kernel in a
certain way?
It's amazing that there's almost no info to be found in dejanews or
this mailing list's archives. Everybody gets it working at once?
If anyone has tcp for dos running, please tell me what to do.. I can
provide more info if required. Running SuSE 6.2, plus newest dosemu
snapshot (xxx.13).
Thanks,
Rob Kramer
[EMAIL PROTECTED]
------------------------------
From: "Kyrre Berg" <[EMAIL PROTECTED]>
Date: Tue, 19 Oct 1999 16:44:41 +0200
Subject: Mount dir
Can I mount my /usr/local/emdata directory as the letter n: under dosemu?
Hilsen
Kyrre Berg
ELEKTRO A.S
Pb 1310
9501 Alta
Tlf. 78 44 44 42
Fax. 78 44 44 60
E-post [EMAIL PROTECTED]
------------------------------
From: Santiago Fernandez <[EMAIL PROTECTED]>
Date: Tue, 19 Oct 1999 19:20:44 +0200
Subject: Problems with SPSS/PC+
I am using DosEmu 0.98.1-3 (the .deb package which comes with Debian 2.1
slink) with a
bootable hdimage of MS-DOS (Windows95 version, although I have the same
problem with MS-DOS 6.2).
I am trying to run SPSS/PC+ Version 4.0 for MS-DOS. Everything seems to
work fine, but when
the program attempts to read a data file (or another kind of file), xdos
exits with the following
message:
ERROR: cpu exception in dosemu code outside of VM86()!
trapno: 0x0e errorcode: 0x00000006 cr2: 0x001222d4
eip: 0x080afb70 esp: 0xbffffb1c eflags: 0x00010213
cs: 0x0023 ds: 0x002b es: 0x002b ss: 0x002b
Page fault: write instruction to linear address: 0x001222d4
CPU was in user mode
Exception was caused by insufficient privelege
I don't know how can i solve this problem, any idea?
Thanks in advance
Santi
- --
Santiago Fernandez
E-mail : [EMAIL PROTECTED]
------------------------------
From: Reinhard Karcher <[EMAIL PROTECTED]>
Date: Wed, 20 Oct 1999 08:07:15 +0200
Subject: Re: Problems with SPSS/PC+
At Tue, 19 Oct 1999 Santiago Fernandez wrote:
> I am trying to run SPSS/PC+ Version 4.0 for MS-DOS. Everything seems to
> work fine, but when
> the program attempts to read a data file (or another kind of file), xdos
> exits with the following
> message:
>
> ERROR: cpu exception in dosemu code outside of VM86()!
> trapno: 0x0e errorcode: 0x00000006 cr2: 0x001222d4
> eip: 0x080afb70 esp: 0xbffffb1c eflags: 0x00010213
> cs: 0x0023 ds: 0x002b es: 0x002b ss: 0x002b
> Page fault: write instruction to linear address: 0x001222d4
> CPU was in user mode
> Exception was caused by insufficient privelege
Does the problem persist, if you dosemu as root?
Reinhard
------------------------------
From: Santiago Fernandez <[EMAIL PROTECTED]>
Date: Wed, 20 Oct 1999 12:05:39 +0200
Subject: Re: Problems with SPSS/PC+
Yes, the problem persist even with root priveleges.
Actually, the problem is not getting a file, but the screen output. When the
program
runs some command, its output is showed on the screen like a 'more' command
would do it: with pauses between screens of output.
Dosemu exists when the output is showed that way. Sometimes it exits with the
first pause and sometimes with the second. I am not sure that the pause
itseft is
the problem but I have to write the output to a file or set the
'more-like-output' off
to run SPSS successfully.
Well, this is not really a problem, but if somebody knows the solution I'll
work more
comfortably.
- -------------
One more question. I have some DOS programas compiled with Microsoft C/C++
v7.0
which use the graphical library and the mouse (a small sound waveform editor,
and
another program). The mouse seems to work, but graphics do not. Does DosEmu
support this kind of programs?
- --
Santiago Fernandez
E-mail : [EMAIL PROTECTED]
------------------------------
From: "Alejandro Nestor Vargas" <[EMAIL PROTECTED]>
Date: Wed, 20 Oct 1999 10:32:43 -0300
Subject: RE: Mount dir
> Can I mount my /usr/local/emdata directory as the letter n: under dosemu?
Yes, insert device=emufs.sys /usr/local/emdata in dos's config.sys
------------------------------
From: "Gregory Doyle" <[EMAIL PROTECTED]>
Date: Thu, 21 Oct 1999 19:11:40 -0700
Subject: Directing Printing to a file under DOSEMU
Hi,
Thanks to everyone who responded to my question last week about Keyboard mapping for a
Clipper application running in DOSEMU over Telnet. I have the keys working fine using
PowerTerm and the application looks pretty good (acceptable anyhow) running over a
telnet session. Now my next problems is printing. The clipper application prints to
LPT1, (it generates HP PCL using the Escape Printer Library for Clipper.) Anyhow, I
would like to capture the output that is sent to LPT1 to a file, since the Telnet
session is run remotely, it would be of no use to have it print to printer attached to
the Linux Box. I figure once I the output directed to a file, I have to find some way
of delivering it to the Telnet Client. Anyhow my basic question is how to I capture
and redirect printing sent to LPT1 to a file. And secondly does anyone have any
suggestions on how I would deliver this file to the Telnet Client. I a pretty much a
newbie to Linux and DOSEMU, so I am not sure whether what I am considering trying to
do is practiacl or feasible. Any other suggestions?
Kindest Regards,
GP Doyle
- --== Sent via Deja.com http://www.deja.com/ ==--
Share what you know. Learn what you don't.
------------------------------
From: Matthew Nuzum <[EMAIL PROTECTED]>
Date: Fri, 22 Oct 1999 09:21:42 -0400
Subject: RE: Directing Printing to a file under DOSEMU
Here is what I did in a very similar situation:
On the computer that has the printer, I shared the printer,
I then used samba to set up a printer on my Linux box and tested it with lpr
I then set my lpt1 in DOS-EMU to the correct que,
Then, I printed my little heart out.
I actually added several levels of complexity on top of this to do more
advanced things. Because my users roam around a lot, they often need to
print to different printers, My particular DOS app only allows the selection
of 2 lpt printers so I created a little script that changes the users
.dosemurc to set up the correct printers that they will be using for that
session. When they telnet in, they have see a menu they first choose the
menu option that sets their printer, then they choose the menu item that
starts their DOS app. Nifty, huh?
My next project is to figure out how to make Linux print to different trays
on our Laser Jet so that we can start using pre-printed paper.
I'd love to help anyone who is having troubles in this area. I've spent
about 1200 hours over the last few months making this system work.
Matt Nuzum
Florida Vacation Accommodations
[EMAIL PROTECTED]
P.S. I just got a **really** good deal on a 24-7 support contract for
Linux, unlimited calls, any subject (Linux related), 2 hour response time,
from HP for US$130 per month.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Gregory Doyle
Sent: Thursday, October 21, 1999 10:12 PM
To: [EMAIL PROTECTED]
Subject: Directing Printing to a file under DOSEMU
Hi,
Thanks to everyone who responded to my question last week about Keyboard
mapping for a Clipper application running in DOSEMU over Telnet. I have the
keys working fine using PowerTerm and the application looks pretty good
(acceptable anyhow) running over a telnet session. Now my next problems is
printing. The clipper application prints to LPT1, (it generates HP PCL
using the Escape Printer Library for Clipper.) Anyhow, I would like to
capture the output that is sent to LPT1 to a file, since the Telnet session
is run remotely, it would be of no use to have it print to printer attached
to the Linux Box. I figure once I the output directed to a file, I have to
find some way of delivering it to the Telnet Client. Anyhow my basic
question is how to I capture and redirect printing sent to LPT1 to a file.
And secondly does anyone have any suggestions on how I would deliver this
file to the Telnet Client. I a pretty much a newbie to Linux and DOSEMU, so
I am not sure whether what I am considering trying to do
Kindest Regards,
GP Doyle
- --== Sent via Deja.com http://www.deja.com/ ==--
Share what you know. Learn what you don't.
------------------------------
From: Matthew Nuzum <[EMAIL PROTECTED]>
Date: Fri, 22 Oct 1999 11:49:35 -0400
Subject: RE: Directing Printing to a file under DOSEMU
I admit, that using a dialup connection is more difficult, but here are the
circumstances for which it would work, you are dialing directly into the
network which has the telnet server. It would be more difficult to do if
you are connecting over the Internet, but it is still possible. The
situation in which it probably won't work is if you are dialing in to a
shell server. Simply stated, if you are using dial-up networking, it will
work, if not, it won't.
If you are using dial-up networking, here is what you do.
Note your hostname, your computer name, and you workgroup name. If you have
a static IP, that will help, if not, you probably need to have a valid host
name (like with DHCP/WINS or similar). When you are logged into the Linux
server through telnet, ping your hostname and/or your IP address just to
make sure it works.
Send- $ ping hardy
receive - PING hardy (10.0.0.13): 56 data bytes
receive- 64 bytes from 10.0.0.13: icmp_seq=0 ttl=128 time=0.3 ms
or
Send- $ ping 10.0.0.13
Receive- PING 10.0.0.13 (10.0.0.13): 56 data bytes
Receive- 64 bytes from 10.0.0.13: icmp_seq=0 ttl=128 time=0.2 ms
(if this doesn't work, stop now and make this work)
If you can, set your Samba Workgroup to be the same as your dial in clients,
by editing your smb.conf
[global]
workgroup = LONGBOATKEY #or whatever your workgroup is
On your windows computer, share the printer and give it a nice short name
with only lower case letters. If using Windows NT Workstations, add a user
called printer and give it access to the shared printer. (you can use any
name for the user)
Back on the Linux computer, test your share to see if it works. Let's
assume you shared your printer as lj4 and your workstation's name is hardy.
We also need the NetBios (SMB) name of your Linux box- for example, nis1.
type the following command,
$ smbclient \\\\hardy\\lj4 -I 10.0.0.13 -n nis1 -U printer (after
the lj4 is a capitol i.)
You may be prompted for a password, and once entered, you will be presented
with an smbclient prompt,
smb: \>
You can then type:
smb: \> put /etc/smb.conf
to print your samba config file (which might be kind of long).
I think you will find that this works OK over a dial up connection. This
will even work over the Internet.
Once this works, you can set up a print queue using the Samba Howto and
related docs. Once you do that, set up DOS-EMU like so, (assuming that your
print queue is called lj4):
$_printer = "lp, lj4" # to set your lpt1 to the default print queue,
and lpt2 to your new samba queue.
If this doesn't work, send me a line, and we'll talk more.
p.s. There is another way to do it, but I don't know how. You can test it
by using the lynx web browser and printing. If the web browser understands
you terminal type, it sends a special escape code to your terminal, which
tells it to send everything to it's printer port, and then dumps the
***text*** that you are printing to the terminal. It then sends an escape
code that says I'm done now, and your terminal begins sending all output to
the screen again. I think this is how it works. I wish I knew a way to
make this work for DOS-EMU programs.
Matthew Nuzum
IS Director
Florida Vacation Accommodations
[EMAIL PROTECTED]
-----Original Message-----
From: Gregory Doyle [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 22, 1999 10:58 AM
To: Matthew Nuzum
Subject: RE: Directing Printing to a file under DOSEMU
- --
On Fri, 22 Oct 1999 09:21:42 Matthew Nuzum wrote:
>Here is what I did in a very similar situation:
>
>On the computer that has the printer, I shared the printer,
>I then used samba to set up a printer on my Linux box and tested it with
lpr
>I then set my lpt1 in DOS-EMU to the correct que,
>Then, I printed my little heart out.
>
>I actually added several levels of complexity on top of this to do more
>advanced things. Because my users roam around a lot, they often need to
>print to different printers, My particular DOS app only allows the
selection
>of 2 lpt printers so I created a little script that changes the users
>.dosemurc to set up the correct printers that they will be using for that
>session. When they telnet in, they have see a menu they first choose the
>menu option that sets their printer, then they choose the menu item that
>starts their DOS app. Nifty, huh?
>
>My next project is to figure out how to make Linux print to different trays
>on our Laser Jet so that we can start using pre-printed paper.
>
>I'd love to help anyone who is having troubles in this area. I've spent
>about 1200 hours over the last few months making this system work.
>
>Matt Nuzum
> Florida Vacation Accommodations
> [EMAIL PROTECTED]
>
>P.S. I just got a **really** good deal on a 24-7 support contract for
>Linux, unlimited calls, any subject (Linux related), 2 hour response time,
>from HP for US$130 per month.
>
>
Hi Matt,
Thanks for you quick response. Since I have such a newbie to Linux I am not
sure whether what we are talking about is the same. What I was looking at
doing would be to have users Telent into the Linux Box from remote locations
(ie. locations off the Network). They could Telnet in via dial-up or
TCP/IP. Therefore I don't think SAMBA would work in those instances, though
I am not certain of this, but I thought SAMBA is useful in circumstances
where the same Network is involved. I would be having off-Network Telnet
sessions. Does this make any sense to you? Perhaps I could call you and
explain a little clearer exactly what I am trying to do. I am most
interested in finding out if what I am thinkinig about is possible.
Thanks
GP. Doyle
- --== Sent via Deja.com http://www.deja.com/ ==--
Share what you know. Learn what you don't.
------------------------------
From: Matthew Nuzum <[EMAIL PROTECTED]>
Date: Fri, 22 Oct 1999 11:53:58 -0400
Subject: keyboard mapping
Is there anyone out there using DOS-EMU with a telnet client other than
Power-Term that has full access to their keyboard including the Alt+F? and
Ctrl+F? keys? I would like to use one of the many free, open source
terminal emulators out there instead of paying US$60 to $150 dollars per
workstation for terminals.
TIA,
Matthew E. Nuzum
IS Director
Florida Vacation Accommodations
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED]
Date: Fri, 22 Oct 1999 22:53:33 MET
Subject: RE: keyboard mapping
> From: Matthew Nuzum <[EMAIL PROTECTED]>
> Date: Fri, 22 Oct 1999 11:53:58 -0400
> Is there anyone out there using DOS-EMU with a telnet client other than
> Power-Term that has full access to their keyboard including the Alt+F? and
> Ctrl+F? keys? I would like to use one of the many free, open source
A question: I guess you telnet Linux box, where DosEmu is
used, from another computer, used as terminal. What system
is used on the terminal? For DOS clone, it is possible to
find many telnet clients, and I wrote a program which works
as keyboard converter - it sends to the telnet proper codes
for DosEmu to see almost all keys as they are pressed on
the terminal (only exception is CapsLock, which performs
its normal action of uppercasing letters, but its state is
not sent to DosEmu - simply it has no definition for it;
and I use the CapsLock to send control sequences to the
terminal emulator - otherwise it might be hard to get out,
note usual Alt-Ctrl-Del would be passed to DosEmu, too ;-).
------------------------------
From: [EMAIL PROTECTED]
Date: Fri, 22 Oct 1999 23:04:03 MET
Subject: RE: DOSemu in background
> Date: Fri, 24 Sep 1999 15:05:28 +0200 (MEST)
> From: Hans Lermen <[EMAIL PROTECTED]>
> The below script would run DOSEMU, start an application 'myapp' and then
> exit. The (DOSish) output goes into the file '/tmp/outfile' :
>
> #! /bin/bash
> export TERM=dumb
> exec dos </dev/null 2>/dev/null >/tmp/outfile \
> -I 'video{none} keystroke "myapp\rexitemu\r"'"
>
> ... and this script very well should run in the background ;-)
I tried this, with no success. It displays on stderr:
CPU speed set to 167/1 MHz
Running on CPU=586, FPU=1, rdtcs=1
CONF aborted with:
*** error: /etc/dosemu.conf not accessable
... giving up.
when invoked from batch; it runs well at terminal.
So I am still using "expect" to invoke telnet, then
dosemu in the telnet session, to run dosemu from cron.
Jerzy
------------------------------
From: Matthew Nuzum <[EMAIL PROTECTED]>
Date: Fri, 22 Oct 1999 16:59:40 -0400
Subject: RE: keyboard mapping
I am using a really great free Win32 based console telnet program called
Console Telnet(ftp://argeas.cs-net.gr/Telnet-Win32/) under Windows NT. It
(like most telnet applications I've experienced) uses the following format
for it's key maps:
VK_F1 \0301
VK_F2 \0302
VK_F3 \0303
VK_F4 \0304
VK_F5 \0305
VK_F6 \0306
VK_F7 \0307
VK_F8 \0308
VK_F9 \0309
VK_F10 \0300
VK_F11 \030-
VK_F12 \030=
VK_F1 SHIFT ^[[Y
VK_F2 SHIFT ^[[Z
(By the way, the first 12 work)
It doesn't lend well to the system of Ctrl^a Ctrl^1 for doing things. For
example the sequence \030a\0301 for Alt+F1 doesn't work.
I have read the help screen that is viewed by pressing Ctrl + ^ H. That is
how I got F1-F12 to work, but I don't understand what Ctrl^K0 (Insert)
means.
In an older document buried deep in the help of DosEmu there was an
alternate keymap file (that would apparently affect the entire Linux system)
that worked better for telnet, but considering the age of the document, I
was extremely wary of implementing it.
I would love some help getting this working. Has anyone else gotten all the
keys to work when using DOSEMU through Telnet? Send me your key map file...
TIA
Matthew E. Nuzum
IS Director
Florida Vacation Accommodations
[EMAIL PROTECTED]
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 22, 1999 6:54 PM
To: Matthew Nuzum
Cc: [EMAIL PROTECTED]
Subject: RE: keyboard mapping
> From: Matthew Nuzum <[EMAIL PROTECTED]>
> Date: Fri, 22 Oct 1999 11:53:58 -0400
> Is there anyone out there using DOS-EMU with a telnet client other than
> Power-Term that has full access to their keyboard including the Alt+F? and
> Ctrl+F? keys? I would like to use one of the many free, open source
A question: I guess you telnet Linux box, where DosEmu is
used, from another computer, used as terminal. What system
is used on the terminal? For DOS clone, it is possible to
find many telnet clients, and I wrote a program which works
as keyboard converter - it sends to the telnet proper codes
for DosEmu to see almost all keys as they are pressed on
the terminal (only exception is CapsLock, which performs
its normal action of uppercasing letters, but its state is
not sent to DosEmu - simply it has no definition for it;
and I use the CapsLock to send control sequences to the
terminal emulator - otherwise it might be hard to get out,
note usual Alt-Ctrl-Del would be passed to DosEmu, too ;-).
------------------------------
From: "Alejandro Nestor Vargas" <[EMAIL PROTECTED]>
Date: Fri, 22 Oct 1999 19:13:54 -0300
Subject: RE: keyboard mapping
> Is there anyone out there using DOS-EMU with a telnet client other than
> Power-Term that has full access to their keyboard including the Alt+F? and
> Ctrl+F? keys? I would like to use one of the many free, open source
> terminal emulators out there instead of paying US$60 to $150 dollars per
> workstation for terminals.
Linux (or any unix) can run fine with ANY terminal. You only need to build
the correct terminfo and termcap files. I recently posted a mail with an
explanation about it, if you need, I can resend it to you.
------------------------------
From: Matthew Nuzum <[EMAIL PROTECTED]>
Date: Fri, 22 Oct 1999 19:10:58 -0400
Subject: RE: keyboard mapping
Your right. I had no problem with my telnet software running Unix programs
like emacs and pico and lynx, but DOS-EMU changes all that. It breaks the
keys and makes them not work. I am willing to try anything to get these
working, but I think your solution fixes just Linux, and not DOS-EMU.
Matthew E. Nuzum
IS Director
Florida Vacation Accommodations
[EMAIL PROTECTED]
-----Original Message-----
From: Alejandro Nestor Vargas [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 22, 1999 6:14 PM
To: Matthew Nuzum; Dosemu (E-mail)
Subject: RE: keyboard mapping
> Is there anyone out there using DOS-EMU with a telnet client other than
> Power-Term that has full access to their keyboard including the Alt+F? and
> Ctrl+F? keys? I would like to use one of the many free, open source
> terminal emulators out there instead of paying US$60 to $150 dollars per
> workstation for terminals.
Linux (or any unix) can run fine with ANY terminal. You only need to build
the correct terminfo and termcap files. I recently posted a mail with an
explanation about it, if you need, I can resend it to you.
------------------------------
From: "Fabio Shimakawa" <[EMAIL PROTECTED]>
Date: Sat, 23 Oct 1999 12:18:51 -0200
Subject: Dosemu Locking Record
This is a multi-part message in MIME format.
- ------=_NextPart_000_0004_01BF1D50.C4265960
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello!=20
I appreciate the work of you'rs very, and is incridible as emuDOS =
obtains to make all those things.=20
I am trying to execute a system in COBOL and it not stopping the =
Register (lock record) when use more than a terminal. That is normal? =
Exists solution for this problem?=20
tanks,
Shimakawa Fabio=20
Developer Systems
Infomark Solucoes=20
Brazil - Paran=E1
- ------=_NextPart_000_0004_01BF1D50.C4265960
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3D"arial, helvetica">Hello! </FONT></DIV>
<DIV><FONT face=3D"arial, helvetica"></FONT><BR><FONT face=3D"arial, =
helvetica">I=20
appreciate the work of you'rs very, and is incridible as emuDOS obtains =
to make=20
all those things. <BR></FONT></DIV>
<DIV><FONT face=3D"arial, helvetica">I am trying to execute a system in =
COBOL and=20
it not stopping the Register (lock record) when use more than a =
terminal. That=20
is normal? Exists solution for this problem? </FONT></DIV>
<DIV><FONT face=3D"arial, helvetica"></FONT> </DIV>
<DIV><FONT face=3D"arial, helvetica"></FONT> </DIV>
<DIV><FONT face=3D"arial, helvetica">tanks,<BR></FONT></DIV>
<DIV>Shimakawa Fabio </DIV>
<DIV>Developer Systems</DIV>
<DIV>Infomark Solucoes </DIV>
<DIV>Brazil - Paraná</DIV>
<DIV> </DIV></BODY></HTML>
- ------=_NextPart_000_0004_01BF1D50.C4265960--
------------------------------
From: Meelis =?iso-8859-1?Q?M=E4gi?= <[EMAIL PROTECTED]>
Date: Sat, 23 Oct 1999 19:31:20 +0300
Subject: dosemu and nfs
Hello!
In dosemu 0.98 I get sometimes "acces denied" on some files. When I
rename this file, then copying this tile back to original name & delete
the temporary file, then I'm able to access this file again in dosemu.
If I reboot server, then i'm able to access that file also.
Problem repeates itself, again and again.
This file is in /home/user/dos_d directory. In dosemu config.sys
contains "device=emufs.sys /home/user/dos_d" and autoexec.bat "lredir
linux\fs\/home/dos_c")
/home directory is in server and are mounted from server using nfs.
all partitions are ext2fs, premissions, uid and gid are correct.
Dos program is made in foxpro 2.6 and Turbo Access.
------------------------------
From: Francisco Correa <[EMAIL PROTECTED]>
Date: Sat, 23 Oct 1999 14:58:21 -0500
Subject: Problems running Btrieve
HI
I'm new here and I'm trying to run an dos application on my REDHAT 6.0
(with 0.99.10 version of dosemu) using it; this application uses a
register manager Btrieve and when btrieve runs, the program halt and I
got this message:
> ERROR: general protection at 0x1213f: 66
> ERROR: SIGSEGV, protected insn... exiting!
Is this a bug?
Thanks
Frank C.
------------------------------
From: Alistair MacDonald <[EMAIL PROTECTED]>
Date: Sat, 23 Oct 1999 22:50:10 +0100 (BST)
Subject: Re: Problems running Btrieve
Most of the time a 'protected insn' message means that the program needs
DPMI enabling. You need to update your config file (*normally*
/etc/dosemu.conf) to give some DPMI memory.
Alistair
On Sat, 23 Oct 1999, Francisco Correa wrote:
> I'm new here and I'm trying to run an dos application on my REDHAT 6.0
> (with 0.99.10 version of dosemu) using it; this application uses a
> register manager Btrieve and when btrieve runs, the program halt and I
> got this message:
> > ERROR: general protection at 0x1213f: 66
> > ERROR: SIGSEGV, protected insn... exiting!
------------------------------
From: Jeremy Taylor <[EMAIL PROTECTED]>
Date: Sun, 24 Oct 1999 12:54:06 -0500 (CDT)
Subject: Warcraft2 memory problems
hey there, wondering if anyone has managed to get Warcraft to work under
dosemu. I starts up, but the shuts down saying it need like 39??? Kb to
run with minimal settings. I have told dosemu that it has all the systems
memory (I have 64M, and this is what I put avail. in dosemu.conf), but
dosemu does not seem to be able to get this memory. Please help if you
have any idea what might fix this memory problem. Oh yes, it works from
real DOS just fine.
Thanks
- -j1
------------------------------
From: [EMAIL PROTECTED] (Eric W. Biederman)
Date: 24 Oct 1999 14:46:11 -0500
Subject: Re: Optimizing DosEmu
Bill <[EMAIL PROTECTED]> writes:
> I am looking for a resource on optimizing dosemu.. Is there one on the
> web?
>
> How can I keep performance good in the individual dos session (text
> game, remember lord) with 20+ dosemu's running? the program is 16bit
> turbo pascal compiled... can I, for instance, make a dosemu run no
> better than a 20mhz 386 w/ 640k (fine for this game) so more dosemu's
> can run on a machine?
>
> Thanks (and thanks for the help Ive recived here before)
Read about Hogthreshold.
With a decent value it should be able to put a program to sleep when
it's not using the cpu.
Eric
------------------------------
From: HB <[EMAIL PROTECTED]>
Date: Mon, 25 Oct 1999 01:05:29 +0300
Subject: xms driver
Every time then I start my dosemu with (ms dos 6.22 or drdos 7.03)it
tell`s me xms driver not installed and I can`t run dos programs whitch
use graphic interface like norton commander. Is it for that xms driver?
What I have to do?
Thank you!
------------------------------
From: [EMAIL PROTECTED]
Date: Mon, 25 Oct 1999 14:29:19 MET
Subject: Re: Optimizing DosEmu
> From: [EMAIL PROTECTED] (Eric W. Biederman)
> Date: 24 Oct 1999 14:46:11 -0500
> Bill <[EMAIL PROTECTED]> writes:
> > I am looking for a resource on optimizing dosemu.. Is there one on the
> > How can I keep performance good in the individual dos session (text
> > game, remember lord) with 20+ dosemu's running? the program is 16bit
> > turbo pascal compiled... can I, for instance, make a dosemu run no
> > better than a 20mhz 386 w/ 640k (fine for this game) so more dosemu's
> > can run on a machine?
> Read about Hogthreshold.
There is a problem what the program does most of the time.
Simple using Hogthreshold helps in case it reads from keyboard
using DOS calls. In case the program directly uses BIOS setting
Hogthreshold is unefficient. I used an assembly program which
called some DosEmu function (I don't remember its name or code,
but it was just for short sleep) on INT 16h, and this helped.
Just the program I had trouble with used INT 16h AH=1 to check
if there is input from keyboard in its idle loop, and this way
it wasted a lot of CPU time. It was some database application.
I suppose game can have similar problem, or even worse: it may
read from keyboard by connecting to INT 9 (IRQ1).
------------------------------
From: Feher Sandor <[EMAIL PROTECTED]>
Date: Mon, 25 Oct 1999 13:57:50 +0200
Subject: Re: resizing
Hi!
"Eric W. Biederman" wrote:
>
> UNIXMAN <[EMAIL PROTECTED]> writes:
>
> > I also have it like this, no matter what I type in for $_X_winsize, the
> There are 2 things you can do here.
> a) set _X_font='a bigger font'
> b) run a graphical app where resizing does work.
I thought it's a simple problem. Now, I'm going to for some 'bigger'
fonts 8-).
I don't know point b., exactly. When I start dosemu (no other programs
or apps) I can't resize it's window either. I haven't any chance to run
graphical apps. Last question: What does the X_winsize mean if it has
not any effect ?
TIA and by., Sanya
------------------------------
From: [EMAIL PROTECTED] (Eric W. Biederman)
Date: 25 Oct 1999 08:58:42 -0500
Subject: Re: resizing
Feher Sandor <[EMAIL PROTECTED]> writes:
> Hi!
>
> "Eric W. Biederman" wrote:
> >
> > UNIXMAN <[EMAIL PROTECTED]> writes:
> >
> > > I also have it like this, no matter what I type in for $_X_winsize, the
> > There are 2 things you can do here.
> > a) set _X_font='a bigger font'
> > b) run a graphical app where resizing does work.
> I thought it's a simple problem. Now, I'm going to for some 'bigger'
> fonts 8-).
See ftp://ftp.dosemu.org/dosemu/contrib
There is a 11x9 font there
As well as a script ``console2bdf'' that should allow for converting normal
console fonts.
> I don't know point b., exactly. When I start dosemu (no other programs
> or apps) I can't resize it's window either. I haven't any chance to run
> graphical apps. Last question: What does the X_winsize mean if it has
> not any effect ?
I believe it takes effect for graphics (not text modes) in dosemu.
Eric
------------------------------
From: Hans Lermen <[EMAIL PROTECTED]>
Date: Mon, 25 Oct 1999 16:19:57 +0200 (MEST)
Subject: Re: resizing
On Mon, 25 Oct 1999, Feher Sandor wrote:
> > > I also have it like this, no matter what I type in for $_X_winsize, the
> > There are 2 things you can do here.
> > a) set _X_font='a bigger font'
> > b) run a graphical app where resizing does work.
> I thought it's a simple problem. Now, I'm going to for some 'bigger'
> fonts 8-).
> I don't know point b., exactly. When I start dosemu (no other programs
> or apps) I can't resize it's window either.
As I told you already: _text_ mode can't be resized in DOSEMU, it is bound
to the font and the text resolution (default 80x25).
> I haven't any chance to run
> graphical apps.
So, of course, you aren't able to see the effect of $_X_winsize
> Last question: What does the X_winsize mean if it has
> not any effect ?
It _has_ effect, but only if your DOS application enters a graphic mode
(told you this already and posted it here). In order to avoid further
confusion on this issue, I give a detailed example:
- you boot DOS within DOSEMU and get the C:> prompt.
As this is textmode, the winsize is fixed and can't be resized
or influenced via $_X_winsize.
- you launch a DOS application, which then enters a DOSEMU supported
graphics mode. Exactly at this point the window size will enlarge
or reduce depending on $_X_winsize and you may tailor the size
by dragging the edge with the mouse.
- you terminate the above (graphics) DOS application (or the
application returns to textmode prior to this) and the window size
will resume to the fix-sized one.
For more on graphics under xdos look at ./doc/README.txt, chapter
"10.5. The new VGAEmu/X code (July 11, 1997)"
Hans
<[EMAIL PROTECTED]>
------------------------------
From: Matthew Nuzum <[EMAIL PROTECTED]>
Date: Mon, 25 Oct 1999 15:34:11 -0400
Subject: keyboard mapping (everyone please read)
I would like to discuss, with anyone interested, the way that dos-emu
handles the keyboard from terminals. I think that making it easy for people
to use dos-emu through a terminal will add great market appeal (to Linux AND
dos-emu), and enhance it usefulness. On top of that, it will allow many
companies to choose software other than Microsoft.
In my industry, 90% of the people who use the software I do are switching
from Novell to MS Terminal Server. This is a terrible shame, and is exactly
what the Free Software Foundation is trying to fight.
It seems to me that the current keyboard functions require a terminal
emulator to support macros, which can then be assigned to a key sequence.
So if you wish to send the key sequence Alt+F1 to a program you need to do
this- Ctrl + ^ then "a" then Ctrl + ^ then 1. This is very laborious, and
most terminal emulators don't allow you to program the keys to do this.
Therefore, the users that want to do this must spend about $200 per
workstation for a high end telnet client.
Interestingly enough, that is about the same as the licensing fee for
Windows NT TE per workstation. Does that mean that dos-emu is trying to
compete with WinNT TE at the same price point? I don't think it will win.
I think that there is another option, but I am not capable of doing it. I
think that dos-emu could be modified to make it friendlier to terminals.
That would allow it to be the best of all worlds. I don't know the
reasoning behind the current way of doing things; I looked through the
source code of 0.98.8 and found where the definitions are
(src/base/keyboard/keyb_slang.c), but no comments explaining why they were
done that way. If we look at the way most terminal emulators do things (not
power term, it does things differently and is too expensive) and then
modeled dos-emu after that way of doing things, we could make [life easier
and] dos-emu more accessible to everyone.
Thanks for reading this, and if you have an opinion, please let me know. I
am very passionate about this.
Matthew E. Nuzum
IS Director
Florida Vacation Accommodations
[EMAIL PROTECTED]
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Matthew Nuzum
Sent: Friday, October 22, 1999 7:11 PM
To: 'Alejandro Nestor Vargas'; 'Dosemu (E-mail)'
Subject: RE: keyboard mapping
Your right. I had no problem with my telnet software running Unix programs
like emacs and pico and lynx, but DOS-EMU changes all that. It breaks the
keys and makes them not work. I am willing to try anything to get these
working, but I think your solution fixes just Linux, and not DOS-EMU.
Matthew E. Nuzum
IS Director
Florida Vacation Accommodations
[EMAIL PROTECTED]
-----Original Message-----
From: Alejandro Nestor Vargas [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 22, 1999 6:14 PM
To: Matthew Nuzum; Dosemu (E-mail)
Subject: RE: keyboard mapping
> Is there anyone out there using DOS-EMU with a telnet client other than
> Power-Term that has full access to their keyboard including the Alt+F? and
> Ctrl+F? keys? I would like to use one of the many free, open source
> terminal emulators out there instead of paying US$60 to $150 dollars per
> workstation for terminals.
Linux (or any unix) can run fine with ANY terminal. You only need to build
the correct terminfo and termcap files. I recently posted a mail with an
explanation about it, if you need, I can resend it to you.
------------------------------
From: "TABANNA.AIG.FORTHNET.GR" <[EMAIL PROTECTED]>
Date: Mon, 25 Oct 1999 23:44:26 +0200
Subject: Newby SetUp Probs
Hi :)
I am trying to get dosemu set up :-
_______________________________
> dos
CPU speed set to 133/1 MHz
Running on CPU=586, FPU=1, rdtsc=1
ERROR: slang_keyb_close(): failed to restore keyboard termios settings!
____________________________
Could someone kindly point me in the right direction ?
thanks :)
- --
____________
sent on Linux
____________
------------------------------
End of linux-msdos-digest V1 #158
*********************************
To subscribe to linux-msdos-digest, send the command: