Re: [Freedos-user] fdupdate

2008-02-13 Thread Eric Auer

Hi!

> I'm on a 486 DX2 66 EISA bus, no VLB.  20 megs of SIMM ram, 30 pin.
> Is there a copy of memtest86+ for freedos, it would be silly if this
> turned out to be a bad memory problem.

There is a 2003 exe version of memtest (memtest, memtest86, memtest86+
whatever... I only remember it was one of the right family :-)) on my
page: www.coli.uni-saarland.de/~eric/stuff/soft/specials/memteste.zip
You can (or maybe should) run it with HIMEM loaded but you must not
have EMM386 loaded. You can use my "memteste" binary as SHELL if you
want to create a really small DOS bootdisk with memtest.

> REM if not "%config%"=="4" LH FDAPM APMDOS

Why not? :-p

> if not "%config%"=="4" C:\FDOS\drivers\net\crynwr\ne2000 0x60 12 0x280

It might be better to let the driver autodetect port and IRQ.
I also suggest trying if things run more stable without the
network packet driver and/or without emm386 or better jemm386.

> lh doslfn

Heavy driver ;-)

> set PATH=%PATH%;%DOSDIR%\emacs
> set PATH=%PATH%;%DOSDIR%\SETEDIT
> SET PATH=%PATH%;%DOSDIR%\vim\vim70
> SET PATH=%PATH%;%DOSDIR%\fbc
> SET PATH=%PATH%;%DOSDIR%\PACIFIC\BIN
> SET PATH=%PATH%;d:\iomega

This gives you a long PATH, maybe you should reduce that a bit.

> !COUNTRY=001,437,C:\FDOS\BIN\COUNTRY.SYS

If your country is USA with VGA BIOS codepage anyway,
you probably do not need this. If you do not use the devel /
unstable kernel, the country sys file will be ignored.

> !FILES=100

That is a lot :-)

> 123?DEVICE=C:\CTCM\CTCM.EXE

Something about sound? Did you try without it?

> SHELLHIGH=C:\FDOS\bin\command.com C:\FDOS\bin /E:1024 /P=C:\autoexec.
bat

That is the default anyway, so you can say "/P" instead of "/P=...".

> 4?

An empty item? How about "4?echo you selected 4" instead?

> utime(fdupdate.tab): Input or output error (EIO)

Odd.

> If I press y, the computer crashes.

As Jim said - curl defaults to "show file contents" and
not to "download to file" unless you use -o, maybe this
confuses fdupdate.

Eric



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Using curl with fdupdate.

2008-02-13 Thread Jim Hall
Sorry, that should be the "-O" option. For example:

curl -O http://-/file.zip

.. will download the file and name it "file.zip".

The "-o" option is only if you want to name the local file ("-o local.zip").


To provide an example, the WGET.BAT wrapper should be fairly straightforward:

curl -O %1



On 2/13/08, Jim Hall <[EMAIL PROTECTED]> wrote:
> On 2/13/08, robinson-west user <[EMAIL PROTECTED]> wrote:
> > How do I use curl with freedos update?  The first trick was finding
> > curl.  Copying curl over wget prevents fdupdate from crashing, but
> > it doesn't make the updater work.  On the todo list there is make
> > fdupdate able to use curl, is there a post 0.52 update?
> >
> >
>
> Looks like fdupdate is just doing a simple shell call to wget:
>
> >>  SHELL "wget " + UpdateChannel + "/fdupdate.tab"
>
>
> So, if wget isn't working for you but curl is, then one possible
> workaround is to write a wrapper for curl. The difference is that:
>
> >> wget http://-/file.zip
>
> will download a file called "file.zip". However, doing this:
>
> >> curl http://-/file.zip
>
> will spew the contents of file.zip to stdout. Unless you use the "-o"
> option. So that's the wrapper.
>
> Since fdupdate isn't looking for wget.exe, just allowing the system to
> pick the executable program, you can do this with a simple bat
> wrapper. Or you can write a C program wrapper.
>

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] fdupdate

2008-02-13 Thread robinson-west user
I'm on a 486 DX2 66 EISA bus, no VLB.  20 megs of SIMM ram, 30 pin.
Is there a copy of memtest86+ for freedos, it would be silly if this
turned out to be a bad memory problem.

autoexec.bat:
---
@echo off

if not "%config%" == "4" SET CTCM=C:\CTCM
if not "%config%" == "4" C:\CTCM\CTCU /S

SET dosdir=C:\FDOS

REM C:\FDOS\BIN\BANNER2
REM C:\FDOS\BIN\BLACKOUT

set PATH=%dosdir%\bin;c:\commwp\wp60
set NLSPATH=%dosdir%\NLS
set HELPPATH=%dosdir%\HELP
set temp=%dosdir%\temp
set tmp=%dosdir%\temp

SET BLASTER=A220 I2 D1 H5 P330

REM if not "%config%"=="4" c:\fdos\bin\shsucdx.com /D:fdcd0001

REM if not "%config%"=="4" LH VIAUDIO
REM if not "%config%"=="4" LH VIAFMTSR
REM if not "%config%"=="4" LH FDAPM APMDOS
if "%config%"=="2" LH SHARE
SET autofile=C:\autoexec.bat
alias reboot=fdapm warmboot
alias halt=fdapm poweroff
SET CFGFILE=C:\fdconfig.sys
echo type HELP to get support on commands and navigation
echo.
echo Welcome to FreeDOS
echo.
if not "%config%"=="4" mouse
if not "%config%"=="4" C:\FDOS\drivers\net\crynwr\ne2000 0x60 12 0x280
SET WATTCP.CFG=%DOSDIR%\BIN
lh doslfn
set PATH=%PATH%;%DOSDIR%\emacs
set PATH=%PATH%;%DOSDIR%\SETEDIT
SET VIM=C:\FDOS\VIM
SET PATH=%PATH%;%DOSDIR%\vim\vim70
SET PATH=%PATH%;%DOSDIR%\fbc
call %DOSDIR%\watcom\setvars.bat
SET PATH=%PATH%;%DOSDIR%\PACIFIC\BIN
REM if not "%config%"=="4" @SET SCSI_DRIVER = C:\IOMEGA
REM if not "%config%"=="4" @SET SCSI_UTILITY = C:\IOMEGA
SET PATH=%PATH%;d:\iomega
REM BLACKOUT
REM MODE CO80
-
fdconfig.sys:
-
!COUNTRY=001,437,C:\FDOS\BIN\COUNTRY.SYS
!SET lang=EN
!LASTDRIVE=F
!BUFFERS=40
!FILES=100
!DOS=HIGH,UMB
!DOSDATA=UMB
!set dircmd=/ogn /4

!MENUCOLOR=7,5
MENUDEFAULT=2,5

MENU 1 - Load FreeDOS with EMM386, no EMS (most UMBs), max RAM free
MENU 2 - Load FreeDOS with JEMM386+EMS and SHARE
MENU 3 - Load FreeDOS including HIMEM XMS-memory driver
MENU 4 - Load FreeDOS without drivers
DOS=HIGH,UMB

REM 123?DEVICE=C:\FDOS\BIN\XCDROM.SYS /D:fdcd0001

123?DEVICE=C:\FDOS\HIMEMX.EXE

1?DEVICE=C:\FDOS\BIN\EMM386.EXE NOEMS X=TEST
2?DEVICE=C:\FDOS\JEMM386.EXE

123?DEVICE=C:\CTCM\CTCM.EXE

REM 123?DEVICEHIGH=C:\FDOS\bin\xdma.sys
REM 123?INSTALL=C:\FDOS\BIN\BLACKOUT.EXE
REM 123?INSTALL=C:\FDOS\BIN\BANNER1.COM

123?DEVICEHIGH=C:\FDOS\BIN\MORESYS.SYS

SHELLHIGH=C:\FDOS\bin\command.com C:\FDOS\bin /E:1024 /P=C:\autoexec.bat

4?
-


The exact error message for utime is:

utime(fdupdate.tab): Input or output error (EIO)

At this point a window pops up asking me to update debug.  
If I press y, the computer crashes.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Arachne bugs...

2008-02-13 Thread Jim Hall
On 2/13/08, robinson-west user <[EMAIL PROTECTED]> wrote:
> It doesn't save downloads to the download directory, it saves them to
> the cache directory under a cryptic name.
>
> It tries to seek the A drive every time I exit it.
>
> Michael C. Robinson

This is probably better sent to the Arachne developers rather than us.
Perhaps this list:
http://www.cisnet.com/glennmcc/aralists.php

-jh

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Using curl with fdupdate.

2008-02-13 Thread Jim Hall
On 2/13/08, robinson-west user <[EMAIL PROTECTED]> wrote:
> How do I use curl with freedos update?  The first trick was finding
> curl.  Copying curl over wget prevents fdupdate from crashing, but
> it doesn't make the updater work.  On the todo list there is make
> fdupdate able to use curl, is there a post 0.52 update?
>
>

Looks like fdupdate is just doing a simple shell call to wget:

>>  SHELL "wget " + UpdateChannel + "/fdupdate.tab"


So, if wget isn't working for you but curl is, then one possible
workaround is to write a wrapper for curl. The difference is that:

>> wget http://-/file.zip

will download a file called "file.zip". However, doing this:

>> curl http://-/file.zip

will spew the contents of file.zip to stdout. Unless you use the "-o"
option. So that's the wrapper.

Since fdupdate isn't looking for wget.exe, just allowing the system to
pick the executable program, you can do this with a simple bat
wrapper. Or you can write a C program wrapper.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] fdupdate

2008-02-13 Thread Mateusz Viste
On Wednesday 13 February 2008, robinson-west user wrote:
> ulimit(fdupdate.tab) EIO error input/output error...

Wow, that's an error I've never seen...

> My freedos update locks up and I've noticed something similar to the
> above error.  Is there supposed to be a ulimit executable?  

No, there's no ulimit executable, as ulimit is (as far as I know) only found 
in Linux systems...

> Is there 
> supposed to be an installation of djgpp for wget to work?

No, you don't need DJGPP to get wget working, as it is already compiled. You 
only need CWSDPMI (or any other DPMI environment).
When exactly do you get the error? Is the bug manifesting each time you run 
FDUPDATE? What are your startup files (autoexec & config)?
Where do you got your wget copy from?

Mateusz Viste

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] Arachne bugs...

2008-02-13 Thread robinson-west user
It doesn't save downloads to the download directory, it saves them to
the cache directory under a cryptic name.

It tries to seek the A drive every time I exit it.

Michael C. Robinson


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] fdupdate

2008-02-13 Thread robinson-west user
ulimit(fdupdate.tab) EIO error input/output error...

My freedos update locks up and I've noticed something similar to the
above error.  Is there supposed to be a ulimit executable?  Is there
supposed to be an installation of djgpp for wget to work?


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] Using curl with fdupdate.

2008-02-13 Thread robinson-west user
How do I use curl with freedos update?  The first trick was finding
curl.  Copying curl over wget prevents fdupdate from crashing, but
it doesn't make the updater work.  On the todo list there is make
fdupdate able to use curl, is there a post 0.52 update?




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user