Fedora DOSEMU RPM packages

2007-06-03 Thread Frantisek Hanzlik

Hello, I just made DOSEMU 1.4.0 i386 (svn 1824)
RPM packages for Fedora 7, 6 and 5.
For now without GPG signing, maybe it will be done later.
Packages are at URL:
http://www.hanzlici.cz/packages/fedora/dosemu/

(source RPM, binary packages and spec files in
Fedora .spec format conventions)

Any suggestions are appreciated.

Regards,
Frantisek Hanzlik

== Lucni 502  Linux/Unix/Novell/Inter-/Net Tel: +420-373729699 ==
== 33209 Stenovice e-mail:[EMAIL PROTECTED]   Fax: +420-373729699 ==
== Czech Republic  http://hanzlici.cz/ GSM: +420-604117319 ==
-
To unsubscribe from this list: send the line unsubscribe linux-msdos in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Multi-user and shared directories

2007-08-30 Thread Frantisek Hanzlik

I use dosemu  Linux terminal server (k12ltsp) by several customers
in production environment (mainly some economical DOS programs).
There maybe better solve dosemu setting as hardware oriented,
because terminals physical location may determine e.g. local printers
use in DOS. Therefore I have on some point in linux fs (/var/DOS/stations
in example below) directories describing individual terminals, which
act as dosemu boot path instead these in ~/.dosemu/, i.e. they
contains drive_c, drives, run directories an other files.
And dosemu starting script determine terminal (or server, why not
work on it?) from environment setting (use variables LTSP_HOSTNAME,
DISPLAY, output of `uname -n`), and then start DOSEMU in manner:

xdosemu --Fimagedir /var/DOS/stations/varta \
 -f /var/DOS/stations/varta/.dosemurc C:\\runmyapp.bat

where varta is resolved terminal location (but it maybe e.g. terminal
IP address too)

By concept of this HW oriented instead of user oriented dosemu use
may be one user login on multiple terminals and run dosemu (I know
this is bad idea, but in real world more frequent then multiple users
working on single terminal ;))
Sorry for my un-standard english language extension :)

Frantisek Hanzlik

Roberto Bechtlufft wrote:

Hi everybody, I'm new to dosemu and to this list.

Here's the situation: i'm installing Dosemu on a multiuser
environment. There is a central server running it, and some terminal
accessing it. What I would like to know is: what's the best way to
share this Dosemu installation with the terminals? Since Dosemu's C:
is /home/server/.dosemu/drive_c, should I share this folder with the
terminals or change the default C: for Dosemu? And of course, how can
I do it? :-)

thansk for your help...
-



-
To unsubscribe from this list: send the line unsubscribe linux-msdos in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Multi-user and shared directories

2007-08-30 Thread Frantisek Hanzlik

chgrp dosemu directory_where_are_files_created
chmod g+rwxs directory_where_are_files_created

SGID bit set on directory will cause trick: all files created under
will have group as directory, not primary user group (in this case
roberto and fatima).

Frantisek Hanzlik

Roberto Bechtlufft wrote:

Ok, question number 327 :-)

Suppose I have users roberto and fatima. roberto is under the groups
roberto and dosemu, and fatima is under fatima and dosemu. When I do a
chmod 002 and as roberto create a new file all users under the group
roberto can read and write to it. However, I want my files to be
created under the dosemu group, and not roberto, so fatima can read
and write to it to. How can I do it?
-
To unsubscribe from this list: send the line unsubscribe linux-msdos in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

!DSPAM:46d728b759371533111866!


-
To unsubscribe from this list: send the line unsubscribe linux-msdos in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Multi-user and shared directories

2007-08-30 Thread Frantisek Hanzlik

umod 002 - umask 002

you can only have one group to a file/directory : it isn't very right,
at least ext2, ext3 and xfs filesystems supports POSIX Access Control Lists
(ACL - see man acl, man getfacl,man setfacl) and is possible set
different access rights (read, write, search/execute) on directories/files
for different users and different groups. And on directories is possible set
default ACL, again for different users and/or different groups, and new
objects inherits default ACL of the containing directory as its access ACL.

Frantisek Hanzlik

Alain M. wrote:

I looks like your explanation chmod 002 was meant umod 002 and thus
would be chmod 775 which is correct.

But remember that you can only have one group to a file/directory, that
is a Linux limitation. Maybe you need an extra group...

Alain

Roberto Bechtlufft escreveu:

Ok, question number 327 :-)

Suppose I have users roberto and fatima. roberto is under the groups
roberto and dosemu, and fatima is under fatima and dosemu. When I do a
chmod 002 and as roberto create a new file all users under the group
roberto can read and write to it. However, I want my files to be
created under the dosemu group, and not roberto, so fatima can read
and write to it to. How can I do it?
-
To unsubscribe from this list: send the line unsubscribe linux-msdos in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html




-
To unsubscribe from this list: send the line unsubscribe linux-msdos in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

!DSPAM:46d73b9562671804284693!


-
To unsubscribe from this list: send the line unsubscribe linux-msdos in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: How to make xdosemu go full-screen automatically?

2007-09-01 Thread Frantisek Hanzlik

xdosemu -w

or set $_X_fullscreen = (on) in /etc/dosemu/dosemu.conf or
(maybe better) user's ~/.dosemurc

Franta Hanzlik

Roberto Bechtlufft wrote:

I know I can just type ctrl+alt+f, but isn't there a way to do it
automatically? I see that I can enter some commands like xdosemu
-input '\^c' for ctrl and '\^Af' for ALT+F, but isn't there a way to
make a CTRL+ALT+F out of it?


-
To unsubscribe from this list: send the line unsubscribe linux-msdos in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: DOSEmu fonts and remote access

2007-09-13 Thread Frantisek Hanzlik

1)
Perhaps easiest way (I think) is select some monospaced Type1, Opentype
or TTF font (on my Fedora 7 system they are in directories:
/usr/share/X11/fonts/Type1
/usr/share/X11/fonts/TTF
/usr/share/fonts/liberation
etc)

When corresponding directories are listed in xfs config file
(/etc/X11/fs/config on Fedora), then fonts filenames and font names
are in related fonts.dir files. Monospaced fonts have letter -m-
in their name, e.g.:

-bh-luxi mono-bold-r-normal--0-0-0-0-m-0-iso8859-1
-bitstream-bitstream vera sans mono-medium-r-normal--0-0-0-0-m-0-iso10646-1

and may be listed by command like this:
xlsfonts -fn -*-*-*-*-*--0-0-*-*-m-0-*|sort|uniq

And then is possible specify one of them in dosemu.conf/.dosemurc and fine
tune its size by setting parametr no. 8 (POINT_SIZE), ev. parameters 9
and 10 (RESOLUTION_X and RESOLUTION_Y) in his X Logical Font Description
(XLFD) name.
Namely see possibility of setting different RESOLUTION_X and RESOLUTION_Y values
for setting font width and height:
$_X_font = -misc-dejavu lgc sans 
mono-medium-r-normal--0-240-0-0-m-0-iso10646-1
$_X_font = -bh-luxi mono-medium-r-normal--0-200-75-100-m-0-iso8859-2

This work also with Xming server for win with fontserver enabled (although
I prefer Linux clients - possibility of copy text to/from DOS apps with
only moving mouse over it is simply super! (DOS under Linux is better than
DOS under a product of own firm ;)

Other option, when isn't available big X bitmap font, is creating one's
own from scalable fonts, there are some programs for this. I think this
maybe useful when needed by hand modify some fonts (as some DOS apps
make download their fonts, mostly for change chars with codes 0-0x1F
and 0x80-0xFF), and editing of bitmap fonts maybe easier then outline
fonts.

2)

may be sufficient solution when backup script kill all running dosemu
instances (killall dosemu.bin). Or create /etc/nologin and kill
all their sessions too.

In LTSP project exist small shell script vncts (in Fedora and
K12LTSP distro this is in package vnc-ltsp-config) which is started
from (x)inet daemon, and this script call Xvnc server with different
resolutions and color depth depending on TCP port called from vncviewer
client. But is possible start Xvnc server from inet daemon directly,
see Xvnc man page.
For small number of clients is possible start their X sessions directly
at server startup and clients differentiate between them by specifiing
tcp port number in vncviewer commandline.

Regards, Frantisek Hanzlik

== Luční 502  Linux/Unix/Novell/Inter-/Net Tel: +420-373729699 ==
== 33209 Štěnovice e-mail:[EMAIL PROTECTED]   Fax: +420-373729699 ==
== Czech Republic  http://hanzlici.cz/ GSM: +420-604117319 ==

Tarquin Adams wrote:

I am new to this list but I'm hoping someone can help with 2 dosemu = issues 
I'm having.

I've installed dosemu with freedos and the font pack on Ubuntu with

 synaptic package manager.  My objective is to produce an environment
 where I can run an old DOS based accounting package with remote users.
 I'm using xfs to serve the fonts to Xming running on Windows client
 machines with SSH, and lprng to enable printing to IP-based printers.
 I'm very pleased with the system so far as I have effectively built the
 multi user accounting environment I need, but:


***  1  ***
I am using the vga11x19 font and cannot figure out how to get sessions

 running with any font bigger than this.  If I use the basic scaleable
 font by not specifying a font in dosemu.conf, it looks very poor on high
 resolution modern screens and the refresh rate is poor on remote
 terminals.  I've seen reference to vga12x30 but I cannot get this to
 work when I specify it in dosemu.conf.  What options are there for using
 a bigger font?



***  2  ***
I need a method for an administrator to be able to view and take control

 of any or all of the sessions so that they can log out any users in
 order to perform system backups at the end of the day.  This
 functionality was previously provided by multiuser DOS and copilot.  Is
 there a way I can see all the x sessions that are running on remote
 machines on the server machine itself? If this is possible, the admin
 could just VNC into the server and control each remote session within a
 window on the Linux desktop.  If this is not possible, should I use some
 form of VNC for the client access but, if so, how do I start a new x
 window for each remote user automatically when they want to connect? I
 realise this question is a bit more of a general Linux type query.


I hope some of you have some ideas for me!

Regards,
Tarquin Adams
-

-
To unsubscribe from this list: send the line unsubscribe linux-msdos in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: How to make xdosemu go full-screen automatically?

2007-09-15 Thread Frantisek Hanzlik

dosemu -w works, there must be other problem.
Running xdosemu from xterm or other X terminal produces any errors?
Have You compiled in X support?
Are some error messages in ~/.dosemu/boot.log ?

You may also download and tried my working Fedora 7, 6 and 5 .spec files
or RPM packages from my website at:

http://www.hanzlici.cz/packages/fedora/dosemu/

(RPM packages includes patches from dosemu svn repo)

Regards, Frantisek Hanzlik

== Luční 502  Linux/Unix/Novell/Inter-/Net Tel: +420-373729699 ==
== 33209 Štěnovice e-mail:[EMAIL PROTECTED]   Fax: +420-373729699 ==
== Czech Republic  http://hanzlici.cz/ GSM: +420-604117319 ==

Roberto Bechtlufft wrote:

Man, it's been weeks since I posted this and only now I'm coming back,
forgive me... anyway, I tried xdosemu -w before, but all I get under
Fedora is a blank xdosemu screen. I don't know why but it doesn't work
for me. The same happens when I change the value of $_X_fullscreen.


-
To unsubscribe from this list: send the line unsubscribe linux-msdos in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: dosemu - help

2007-10-29 Thread Frantisek Hanzlik

Hello Harry,

command mode con cols=132 lines=43 works OK for me under X in dosemu 1.4.
Only things I must specify X font e.g.
$_X_font = -bh-luxi mono-medium-r-normal--0-200-75-100-m-0-iso8859-2

I use Fedora 7, dosemu 1.4.0 svn1828, freedos kernel build 2036 cvs
 version Aug 18Aug2006, freedos mode version 29apr2004 by Eric Auer.

With internal bitmap font it seems that screen switch to
132 cols x 43 rows (on it is 132x43 ugly symbols and mode con say
/redirected to file, of course :)/ :

Screen size: 132 columns, 43 rows, mode 85, font height 11.

but fonts for new mode aren't loaded. Normal font height in 80x25 mode
is 16. Maybe using DOS display and mode con codepage with proper .cpi
font file will work, I don't know. Maybe Bart or someone with better
knowledge about it could say more.

I didn't tried change textmode in dosemu under console, as you perhaps
not needed it.

Best regards,
Frantisek Hanzlik

== Lucni 502  Linux/Unix/Novell/Inter-/Net Tel: +420-373729699 ==
== 33209 Stenovice e-mail:[EMAIL PROTECTED]   Fax: +420-373729699 ==
== Czech Republic  http://hanzlici.cz/ GSM: +420-604117319 ==

[EMAIL PROTECTED] wrote:

28.10.2007

Hi,


How can I find somebody that can help me set DOSEMU so that it works for me.
I am willing to pay for the service.



This is my situation:


I have installed DOSEMU 1.4.0 from RPM.
I want to use it with an extended textmode of 132 rows and 43 or 44 columns.
This does not seem to work in a x-window.
So I tried  dosemu -s as root from the console for direct hardware access. I 
get the following error messages:

 ERROR: term support not compiled in or not found:
 ERROR: /usr/local/lib/dosemu/libplugin_term.so: cannot open shared object 
file: No such file or directory
 ERROR: Terminal (S-Lang library) support not compiled in.
 Install slang-devel and recompile, use xdosemu or console dosemu (needs 
root) instead.



I also tried this from a terminal window:
 sudo dosemu -s
and got this
 Dropping root privileges: guest or a restricted user not on console.
 can't create local /root/.dosemu directory
 can't create local /root/.dosemu/run directory
 can't open /root/.dosemu/boot.log for writing


I am in Frankfurt in Germany.



Thank you.

Harry Wyrobnik
-
To unsubscribe from this list: send the line unsubscribe linux-msdos in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

!DSPAM:47244ea632838152433266!


-
To unsubscribe from this list: send the line unsubscribe linux-msdos in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: CDROM question

2008-01-26 Thread Frantisek Hanzlik

SHSU-CDN is default driver for which shsucdx looks.
But DOSEMU CD-ROM code create driver(s) with name(s) mscd0001 - mscd0004,
then you must specify driver name on shsucdx cmdline.
See dosemu and shsucdx doc.

HTH,
Frantisek Hanzlik

Ralph Alvy wrote:

I'm using dosemu 1.2.2. In terms of accessing my CDROM drive, I have this:

config.sys

 devicehigh=c:\dosemu\cdrom.sys

autoexec.bat


 c:\bin\shsucdx

That yields the following error:

 Can't open CD driver SHSU-CDN

Where might I find SHSU-CDN?

By the way, this line works in autoexec.bat:

 c:\bin\shsucdx /d:mscd0001

but I'd like to know how I might have used SHSU-CDN.

-
To unsubscribe from this list: send the line unsubscribe linux-msdos in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

!DSPAM:479b6b5282456491211187!


-
To unsubscribe from this list: send the line unsubscribe linux-msdos in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Problem with printing on change of printer

2008-01-29 Thread Frantisek Hanzlik

As Reinhard write, it is cups problem.
In /etc/cups/mime.convs you must uncomment line:

application/octet-stream   application/vnd.cups-raw0   -


Line in /etc/cups/mime.types:

application/octet-stream

should be uncommented too (althought not necessary when You specify
-l lpr switch - equivalent of -o raw)

Franta Hanzlik

Victor Warner wrote:


Thank you for the reply.

The (real) printer is a pcl/postscript printer (although a LexMark, I
used a HPLJ Color 4500 printer driver). And in DOS/Wordperfect I set up
a postscript printer driver for HPLJ Color 4500)

I set up another machine in exactly the same way as the problem machine,
and have no problem in printing . On the problem machine the cups
error.log produces the following entries:

I [29/Jan/2008:09:20:01 +] Default destination set to 'HPLJ4500' by
'root'.
E [29/Jan/2008:09:20:12 +] print_job: Unsupported format
'application/vnd.cups-raw'!
I [29/Jan/2008:09:20:12 +] Hint: Do you have the raw file printing
rules enabled?


Is something missing from the Dosemu setup or in CUPS?
Victor Warner




application/octet-stream
Rafał Cygnarowski wrote:

Dnia czwartek, 24 stycznia 2008, napisałeś:

Thank you for the reply.

I do use cups, but my technical skills are low so although I can see the
relevant cups files I do not what I should be looking for.

Would it be possible to let me know what I should be looking for/doing.
I would be very grateful.


1. Search files in your /var/log/cups directory for unknown format
phrase (or sth like that).

2. Because you set up your program to send PCL commands to printer you
can although try to create RAW printer in cups (then no filters should
be used for printing and everything created by program will be send to
printer directly).

Regards,

-
To unsubscribe from this list: send the line unsubscribe linux-msdos in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html

!DSPAM:479f0381255687342354040!


-
To unsubscribe from this list: send the line unsubscribe linux-msdos in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Can't get dosemu to run

2008-02-23 Thread Frantisek Hanzlik

Mike Keithley wrote:

Hello list,

I have installed dosemu-1.2.2-bin.tgz and dosemu-freedos-b9r5-bin.tgz
per instructions in README.bindist. It is installed on a Slackware 12.0
box with the 2.6.21 kernel.

The dosemu script won't run. I get the error:

./dosemu: line 404: exec: --: invalid option
exec: usage: exec [-cl] [-a name] file [redirection ...]

What can I do to fix this?

Thank you.

Mike Keithley
-
To unsubscribe from this list: send the line unsubscribe linux-msdos in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html



It seems as Your installation is causing problem in dosemu Bourne
shell script. This script (/usr/bin/dosemu or maybe
/usr/local/bin/dosemu) start dosemu binary dosemu.bin - probably
at line 404 via exec shel command. You should debug this script
for determining exactly why this call fail.

And only notice - I think You should try dosemu version 1.4.0, it is
much better than 1.2.2.

HTH,
Franta Hanzlik
-
To unsubscribe from this list: send the line unsubscribe linux-msdos in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html