[Freedos-user] (Fwd) Re: Print via USB

2021-05-12 Thread Frantisek Rysanek
Oops, I didn't notice that this went through the list, and I replied 
only directly earlier today - thereby I've wasted some of Eric's 
precious time and effort. Thanks for a second opinion Eric :-)

Frank


--- Forwarded message follows ---
From:   Frantisek Rysanek 
To: Bryan Kilgallin 
Subject:Re: [Freedos-user] Print via USB
Date sent:  Wed, 12 May 2021 08:33:56 +0200


Hello Bryan,

I think you can just use your current FDCONFIG.SYS, and profile #1 
matches my config.sys pretty closely.

Maybe in the line starting with
12?SHELLHIGH=C:\FDOS\BIN\COMMAND.COM C:\FDOS\BIN /E:1024
you'd better specify /E:4096 . If memory serves, this is the space 
available for environment variables - not sure if you risk running 
out with /E:1024, maybe even that is fine, those 4096 are taken from 
the NetBootDisk.com which uses *a lot* of environment variables in 
its scripts, unlike my simple batch files.

The only other differences are
buffers=30
stacks=0,0
=additions in my config.sys. Those look fairly harmless...

Frank


On 12 May 2021 at 14:20, Bryan Kilgallin wrote:

To: freedos-user@lists.sourceforge.net
From:   Bryan Kilgallin 
Date sent:  Wed, 12 May 2021 14:20:07 +1000
Subject:Re: [Freedos-user] Print via USB
Send reply to:  "Discussion and general questions about FreeDOS."


[ Double-click this line for list subscription options ] 

Dear Frank:

> As I've already written, I myself have investigated the dark rabbit
> hole of MS-DOS networking for you:
> http://frantisek.rysanek.sweb.cz/FD_NET.zip
> Unzip the three directories to your DOS hard drive, take a look at
> the config.sys suggested, and see if you can get your DOS box to take
> a breath of your LAN.

I have unzipped your package and copied MSNET, MTCPAPPS, and PKTDRV 
to 
my FreeDOS PC's C: directory. The latter contains FDCONFIG.SYS. 
Incidentally, in the page whose URL follows, I have difficulty 
reading 
because of the background fish logo!

http://www.bootablecd.de/fdhelp-internet/en/hhstndrd/cnfigsys/fdconfig
.htm

My FreeDOS PC's FDCONFIG.SYS file contents follow.

{SET DOSDIR=C:\FDOS

!COUNTRY=001,858,C:\FDOS\BIN\COUNTRY.SYS
!LASTDRIVE=Z
!BUFFERS=20
!FILES=40
!MENUCOLOR=7,0

MENUDEFAULT=1,5
MENU 1 - Load FreeDOS with JEMMEX, no EMS (most UMBs), max RAM free
MENU 2 - Load FreeDOS with EMM386 (Expanded Memory) and SHARE loaded
MENU 3 - Load FreeDOS without drivers (Emergency Mode)
MENU 4 - Load FreeDOS low with some drivers (Safe Mode)

124?DOS=HIGH
12?DOS=UMB
124?DOSDATA=UMB
1?DEVICE=C:\FDOS\BIN\JEMMEX.EXE NOEMS X=TEST I=TEST NOVME NOINVLPG
234?DEVICE=C:\FDOS\BIN\HIMEMX.EXE
2?DEVICE=C:\FDOS\BIN\JEMM386.EXE X=TEST I=TEST I=B000-B7FF NOVME 
NOINVLPG
34?SHELL=C:\FDOS\BIN\COMMAND.COM C:\FDOS\BIN /E:1024 
/P=C:\AUTOEXEC.BAT
12?SHELLHIGH=C:\FDOS\BIN\COMMAND.COM C:\FDOS\BIN /E:1024 
/P=C:\AUTOEXEC.BAT}

I found `!' and `?'.

{? (DR DOS 3.41 and higher, Embedded DOS[nb 2] and FreeDOS only)
 Displays a Yes/No query and (since DR DOS 5.0) optional message 
to 
ask the user for confirmation to execute the following CONFIG.SYS 
directives.[14] (FreeDOS does not support optional messages, but 
optional conditions in conjunction with boot menus defined with MENU 
and 
MENUDEFAULT.) (DOS 6.0 and higher supports a similar feature by 
adding a 
? after the corresponding CONFIG.SYS directive, f.e. DEVICE? or 
DEVICE?= 
instead of ?DEVICE. This variant is also supported by DR DOS.)}

{! (FreeDOS only)
 Unconditionally execute the following CONFIG.SYS directive.}

https://en.wikipedia.org/wiki/CONFIG.SYS

Whereas in your FD_NET, CONFIG.SYS contains this.

{device=DOS\JEMMEX.EXE X=TEST NOEMS

files=40
break=off
buffers=30
lastdrive=z
stacks=0,0
dos=high,umb

SHELLHIGH=C:\COMMAND.COM /E:4096 /P}

But I am unfamiliar with interpreting .SYS files. And so I need to do 


some reading!

I take it that I am to merge the contents of your CONFIG.SYS into my 
FreeDOS PC's FDCONFIG.SYS. But I am shy of doing so, and request 
hand-holding guidance!

Bryan.
-- 
members.iinet.net.au/~kilgallin/


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user
--- End of forwarded message ---



WPM$YI17.PM$
Description: Mail message body
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Print via USB

2021-05-12 Thread Eric Auer


Dear Bryan,

feel free to notify the bootablecd.de maintainer that you
would prefer less contrast for the Blinky mascot background
to distract visitors less from reading the text on the page.

> My FreeDOS PC's FDCONFIG.SYS file contents follow.

That seems to be one of the default versions. Indeed ! marks
a line as "always use" while ? marks it as "ask user". Note
that there are a few bugs in the config, which I have listed
in a mail about 1.3rc3 or rc4 recently.

> 1?DEVICE=C:\FDOS\BIN\JEMMEX.EXE NOEMS X=TEST I=TEST NOVME NOINVLPG
> 2?DEVICE=C:\FDOS\BIN\JEMM386.EXE X=TEST I=TEST I=B000-B7FF NOVME NOINVLPG

> device=DOS\JEMMEX.EXE X=TEST NOEMS

You could edit the "1..." line above by removing I=TEST NOVME NOINVLPG
to make it match the FD_NET example, while still being menu-driven: It
will still only be loaded when you select menu option 1 at boot.

Other differences worth copying are:

> break=off
> buffers=30
> stacks=0,0

You can add those lines to your config, at any place, but for
readability, I recommend "nearby the old settings for those".
Of course, you remove the "!buffers=20" in the old config.

> SHELLHIGH=C:\COMMAND.COM /E:4096 /P

That actually makes a big difference to your old

12?SHELLHIGH=C:\FDOS\BIN\COMMAND.COM C:\FDOS\BIN /E:1024 /P=C:\AUTOEXEC.BAT

The old line expects command.com to be in c:\fdos\bin\
while the FD_NET line has it in c:\ so only change the
old line if you want to use the command.com in the new
location.

Also note the different /E: values: They define how
much space you want for environment variables and you may
have to go from 1024 to 4096 if the network config needs
that much space.

Apart from that, I think you can keep your existing config.

I assume you have already added things from the FD_NET
autoexec to your existing autoexec? Which changes have
you applied to load the network things? Any other config
sys or fdconfig sys changes not mentioned in your mail yet?

Note: When FreeDOS finds a fdconfig.sys file, it will use
that and ignore config.sys, but if it does not find one,
it will use config.sys like any other DOS. So it will not
use both files at the same time. Check which one you use.

Eric



___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user