Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.msdos.programmer > #798 > unrolled thread

FreeDOS has an error with it's DEVICE= line in CONFIG.SYS

Started by"Rod Pemberton" <do_not_have@notemailnotz.cnm>
First post2012-12-15 23:26 -0500
Last post2012-12-18 15:35 +0000
Articles 15 — 7 participants

Back to article view | Back to comp.os.msdos.programmer


Contents

  FreeDOS has an error with it's DEVICE= line in CONFIG.SYS "Rod Pemberton" <do_not_have@notemailnotz.cnm> - 2012-12-15 23:26 -0500
    Re: FreeDOS has an error with it's DEVICE= line in CONFIG.SYS Sjouke Burry <s@b> - 2012-12-16 08:36 +0000
      Re: FreeDOS has an error with it's DEVICE= line in CONFIG.SYS "Bill Leary" <Bill_Leary@msn.com> - 2012-12-16 05:35 -0500
        Re: FreeDOS has an error with it's DEVICE= line in CONFIG.SYS Sjouke Burry <s@b> - 2012-12-16 17:03 +0000
          Re: FreeDOS has an error with it's DEVICE= line in CONFIG.SYS "Auric__" <not.my.real@email.address> - 2012-12-16 20:50 +0000
          Re: FreeDOS has an error with it's DEVICE= line in CONFIG.SYS "Bill Leary" <Bill_Leary@msn.com> - 2012-12-16 20:42 -0500
        Re: FreeDOS has an error with it's DEVICE= line in CONFIG.SYS "Rod Pemberton" <do_not_have@notemailnotz.cnm> - 2012-12-16 16:33 -0500
    Re: FreeDOS has an error with it's DEVICE= line in CONFIG.SYS "R.Wieser" <address@not.available> - 2012-12-16 19:04 +0100
      Re: FreeDOS has an error with it's DEVICE= line in CONFIG.SYS "Rod Pemberton" <do_not_have@notemailnotz.cnm> - 2012-12-16 16:32 -0500
        Re: FreeDOS has an error with it's DEVICE= line in CONFIG.SYS "R.Wieser" <address@not.available> - 2012-12-17 00:00 +0100
        Re: FreeDOS has an error with it's DEVICE= line in CONFIG.SYS ak621@chebucto.ns.ca (Richard Bonner) - 2012-12-18 15:30 +0000
    Re: FreeDOS has an error with it's DEVICE= line in CONFIG.SYS "Auric__" <not.my.real@email.address> - 2012-12-16 20:50 +0000
      Re: FreeDOS has an error with it's DEVICE= line in CONFIG.SYS "Rod Pemberton" <do_not_have@notemailnotz.cnm> - 2012-12-16 16:33 -0500
    Re: FreeDOS has an error with it's DEVICE= line in CONFIG.SYS JJ <jaejunks@nah.meh> - 2012-12-16 21:17 +0000
    Re: FreeDOS has an error with it's DEVICE= line in CONFIG.SYS ak621@chebucto.ns.ca (Richard Bonner) - 2012-12-18 15:35 +0000

#798 — FreeDOS has an error with it's DEVICE= line in CONFIG.SYS

From"Rod Pemberton" <do_not_have@notemailnotz.cnm>
Date2012-12-15 23:26 -0500
SubjectFreeDOS has an error with it's DEVICE= line in CONFIG.SYS
Message-ID<kaji80$5lg$1@speranza.aioe.org>
I pasted this DEVICE= line from my MS-DOS CONFIG.SYS into
FreeDOS' CONFIG.SYS (v1.1):

  DEVICE=HIMEMX.EXE/MAX=2097152/NUMHANDLES=128/METHOD:PORT92

It flagged the '=' sign with an error via a caret '^' on the next
line.  What does that mean exactly?  What could be wrong with the
'=' sign?  Nothing.  It happens there is no correlation between
the indicated error and the problem ...  There is a bug in
FreeDOS.

So, next, I reduced the FreeDOS DEVICE= line to:

  DEVICE=HIMEMX.EXE

It still flagged the '=' sign as an error.

After spending a half-hour trying every combination of upper- and
lower-case "DEVICE=", "HIMEMX.EXE", and the path, I found that
FreeDOS needs a space between HIMEMX.EXE and it's parameters.

Unfortunately, the need for a space is required whether the
DEVICE= line has parameters or not ...  I.e., the line above
without parameters needs a space at the end!!!  Most DOS editors
trim the final spaces from the end-of-line.  I'd think that anyone
familiar with DOS would know that or should.

If you're reading and are familiar with someone on the FreeDOS
team, could you pass along this error report?


Rod Pemberton

[toc] | [next] | [standalone]


#799

FromSjouke Burry <s@b>
Date2012-12-16 08:36 +0000
Message-ID<XnsA12B61C144Fsjoukeburrysoesterbe@213.75.12.10>
In reply to#798
"Rod Pemberton" <do_not_have@notemailnotz.cnm> wrote in news:kaji80$5lg$1
@speranza.aioe.org:

> 
> I pasted this DEVICE= line from my MS-DOS CONFIG.SYS into
> FreeDOS' CONFIG.SYS (v1.1):
> 
>   DEVICE=HIMEMX.EXE/MAX=2097152/NUMHANDLES=128/METHOD:PORT92
> 
> It flagged the '=' sign with an error via a caret '^' on the next
> line.  What does that mean exactly?  What could be wrong with the
> '=' sign?  Nothing.  It happens there is no correlation between
> the indicated error and the problem ...  There is a bug in
> FreeDOS.
> 
> So, next, I reduced the FreeDOS DEVICE= line to:
> 
>   DEVICE=HIMEMX.EXE
> 
> It still flagged the '=' sign as an error.
> 
> After spending a half-hour trying every combination of upper- and
> lower-case "DEVICE=", "HIMEMX.EXE", and the path, I found that
> FreeDOS needs a space between HIMEMX.EXE and it's parameters.
> 
> Unfortunately, the need for a space is required whether the
> DEVICE= line has parameters or not ...  I.e., the line above
> without parameters needs a space at the end!!!  Most DOS editors
> trim the final spaces from the end-of-line.  I'd think that anyone
> familiar with DOS would know that or should.
> 
> If you're reading and are familiar with someone on the FreeDOS
> team, could you pass along this error report?
> 
> 
> Rod Pemberton
> 
> 
> 

Between a program and the parameters you ALWAYS need a space,
otherwise dos does not know where the program name ends.
For the last twenty years I have followed that rule.

[toc] | [prev] | [next] | [standalone]


#800

From"Bill Leary" <Bill_Leary@msn.com>
Date2012-12-16 05:35 -0500
Message-ID<JP-dnUvMTM5KPlDNnZ2dnVY3goydnZ2d@giganews.com>
In reply to#799
"Sjouke Burry"  wrote in message 
news:XnsA12B61C144Fsjoukeburrysoesterbe@213.75.12.10...
> "Rod Pemberton" <do_not_have@notemailnotz.cnm> wrote:
>> I pasted this DEVICE= line from my MS-DOS CONFIG.SYS into
>> FreeDOS' CONFIG.SYS (v1.1):
>>
>>   DEVICE=HIMEMX.EXE/MAX=2097152/NUMHANDLES=128/METHOD:PORT92
>>
>> It flagged the '=' sign with an error via a caret '^' on the next
>> line.  What does that mean exactly?  What could be wrong with the
>> '=' sign?  Nothing.  It happens there is no correlation between
>> the indicated error and the problem ...  There is a bug in
>> FreeDOS.
>>
>> So, next, I reduced the FreeDOS DEVICE= line to:
>>
>>   DEVICE=HIMEMX.EXE
>>
>> It still flagged the '=' sign as an error.
>>
>> After spending a half-hour trying every combination of upper- and
>> lower-case "DEVICE=", "HIMEMX.EXE", and the path, I found that
>> FreeDOS needs a space between HIMEMX.EXE and it's parameters.
>>
>> Unfortunately, the need for a space is required whether the
>> DEVICE= line has parameters or not ...  I.e., the line above
>> without parameters needs a space at the end!!!  Most DOS editors
>> trim the final spaces from the end-of-line.  I'd think that anyone
>> familiar with DOS would know that or should.
>>
>> If you're reading and are familiar with someone on the FreeDOS
>> team, could you pass along this error report?
>
> Between a program and the parameters you ALWAYS need a space,
> otherwise dos does not know where the program name ends.
> For the last twenty years I have followed that rule.

Only if what follows is alphanumeric (or an alphanumeric stand-in, like * or 
?).  For example, "DIR/W" displays a wide directory, just as it should.  I 
just tried it on both my MSDOS 3.3 machine and in the command prompt of 
Windows 7.  And "DIR *.EXE" works, but "DIR*.EXE" doesn't because * is a 
wildcard for alphanumeric.

However, that's not relevant here since he's talking about CONFIG.SYS. 
Again, on my MSDOS 3.3 machine my CONFIG.SYS "DEVICE" lines all have the "=" 
immediately after the "DEVICE".  In fact, there are no spaces at all in the 
CONFIG.SYS file on this machine.

If he's seeing what he thinks he's seeing (I don't have FreeDOS on any of my 
machines to try), then it's a bug.  Or, at least, an "incompatibility." 
Their parser appears to be testing incorrectly for the terminator.

    - Bill

[toc] | [prev] | [next] | [standalone]


#801

FromSjouke Burry <s@b>
Date2012-12-16 17:03 +0000
Message-ID<XnsA12BBA9152C6Csjoukeburrysoesterbe@213.75.12.10>
In reply to#800
"Bill Leary" <Bill_Leary@msn.com> wrote in
news:JP-dnUvMTM5KPlDNnZ2dnVY3goydnZ2d@giganews.com: 

> "Sjouke Burry"  wrote in message 
> news:XnsA12B61C144Fsjoukeburrysoesterbe@213.75.12.10...
>> "Rod Pemberton" <do_not_have@notemailnotz.cnm> wrote:
>>> I pasted this DEVICE= line from my MS-DOS CONFIG.SYS into
>>> FreeDOS' CONFIG.SYS (v1.1):
>>>
>>>   DEVICE=HIMEMX.EXE/MAX=2097152/NUMHANDLES=128/METHOD:PORT92
>>>
>>> It flagged the '=' sign with an error via a caret '^' on the next
>>> line.  What does that mean exactly?  What could be wrong with the
>>> '=' sign?  Nothing.  It happens there is no correlation between
>>> the indicated error and the problem ...  There is a bug in
>>> FreeDOS.
>>>
>>> So, next, I reduced the FreeDOS DEVICE= line to:
>>>
>>>   DEVICE=HIMEMX.EXE
>>>
>>> It still flagged the '=' sign as an error.
>>>
>>> After spending a half-hour trying every combination of upper- and
>>> lower-case "DEVICE=", "HIMEMX.EXE", and the path, I found that
>>> FreeDOS needs a space between HIMEMX.EXE and it's parameters.
>>>
>>> Unfortunately, the need for a space is required whether the
>>> DEVICE= line has parameters or not ...  I.e., the line above
>>> without parameters needs a space at the end!!!  Most DOS editors
>>> trim the final spaces from the end-of-line.  I'd think that anyone
>>> familiar with DOS would know that or should.
>>>
>>> If you're reading and are familiar with someone on the FreeDOS
>>> team, could you pass along this error report?
>>
>> Between a program and the parameters you ALWAYS need a space,
>> otherwise dos does not know where the program name ends.
>> For the last twenty years I have followed that rule.
> 
> Only if what follows is alphanumeric (or an alphanumeric stand-in,
> like * or ?).  For example, "DIR/W" displays a wide directory, just as
> it should.  I just tried it on both my MSDOS 3.3 machine and in the
> command prompt of Windows 7.  And "DIR *.EXE" works, but "DIR*.EXE"
> doesn't because * is a wildcard for alphanumeric.
> 
> However, that's not relevant here since he's talking about CONFIG.SYS.
> Again, on my MSDOS 3.3 machine my CONFIG.SYS "DEVICE" lines all have
> the "=" immediately after the "DEVICE".  In fact, there are no spaces
> at all in the CONFIG.SYS file on this machine.
> 
> If he's seeing what he thinks he's seeing (I don't have FreeDOS on any
> of my machines to try), then it's a bug.  Or, at least, an
> "incompatibility." Their parser appears to be testing incorrectly for
> the terminator. 
> 
>     - Bill
> 
> 

Internal commands behave differently from physical programs.
Both your examples are internal.

[toc] | [prev] | [next] | [standalone]


#804

From"Auric__" <not.my.real@email.address>
Date2012-12-16 20:50 +0000
Message-ID<XnsA12B8CE9783CFauricauricauricauric@88.198.244.100>
In reply to#801
Sjouke Burry wrote:

> Internal commands behave differently from physical programs.

Not when it comes to switches at the prompt. Pick any program you like, and 
type 'appname/any_switch', e.g.:

  edit/b/h

DOS has never cared about spaces between switches, or a lack of them, as long 
as the switch character is '/'. (Of course, if the switch requires a space, 
e.g. '/o filename', that's different.)

-- 
It is sad that we should meet only thus at the ending.

[toc] | [prev] | [next] | [standalone]


#810

From"Bill Leary" <Bill_Leary@msn.com>
Date2012-12-16 20:42 -0500
Message-ID<SqmdnWKw9PcQ5VPNnZ2dnUVZ_judnZ2d@giganews.com>
In reply to#801
"Sjouke Burry"  wrote in message 
news:XnsA12BBA9152C6Csjoukeburrysoesterbe@213.75.12.10...
> "Bill Leary" <Bill_Leary@msn.com> wrote in
>> Only if what follows is alphanumeric (or an alphanumeric stand-in,
>> like * or ?).  For example, "DIR/W" displays a wide directory, just as
>> it should.  I just tried it on both my MSDOS 3.3 machine and in the
>> command prompt of Windows 7.  And "DIR *.EXE" works, but "DIR*.EXE"
>> doesn't because * is a wildcard for alphanumeric.
>>
>> However, that's not relevant here since he's talking about CONFIG.SYS.
>> Again, on my MSDOS 3.3 machine my CONFIG.SYS "DEVICE" lines all have
>> the "=" immediately after the "DEVICE".  In fact, there are no spaces
>> at all in the CONFIG.SYS file on this machine.
>>
>> If he's seeing what he thinks he's seeing (I don't have FreeDOS on any
>> of my machines to try), then it's a bug.  Or, at least, an
>> "incompatibility." Their parser appears to be testing incorrectly for
>> the terminator.
>
> Internal commands behave differently from physical programs.
> Both your examples are internal.

Have you actually tried this?

I *GAVE* examples that were easy to demonstrate.  I *TRIED* both.

For example, "CHKDSK/F" works exactly the the same way "CHKDSK /F" does.

And it's *STILL* irrelevant because he's talking about CONFIG.SYS, and he's 
correct* that FreeDOS does not work as MS-DOS does.

    - Bill
- - - -
* Assuming his examples are correct.  Again, I don't have FreeDOS and am 
unable to replicate his experience.

[toc] | [prev] | [next] | [standalone]


#808

From"Rod Pemberton" <do_not_have@notemailnotz.cnm>
Date2012-12-16 16:33 -0500
Message-ID<kaleef$u9m$1@speranza.aioe.org>
In reply to#800
"Bill Leary" <Bill_Leary@msn.com> wrote in message
news:JP-dnUvMTM5KPlDNnZ2dnVY3goydnZ2d@giganews.com...
> "Sjouke Burry"  wrote in message
> news:XnsA12B61C144Fsjoukeburrysoesterbe@213.75.12.10...
> > "Rod Pemberton" <do_not_have@notemailnotz.cnm> wrote:
...

> > > [snip]
> > [snip]
>
> If he's seeing what he thinks he's seeing (I don't have FreeDOS
> on any of my machines to try), then it's a bug.  Or, at least,
> an "incompatibility."  Their parser appears to be testing
> incorrectly for the terminator.
>

That's what I took the issue to be.  I'm assuming they're testing
only for a space.  I'd think they'd also test for EOL (CR LF), but
I didn't see that with my testing.  Auric__ said he saw that with
his testing using VMWare.


RP


[toc] | [prev] | [next] | [standalone]


#802

From"R.Wieser" <address@not.available>
Date2012-12-16 19:04 +0100
Message-ID<50ce0ccf$0$6855$e4fe514c@news2.news.xs4all.nl>
In reply to#798
Hello Rod,

> Unfortunately, the need for a space is required whether the
> DEVICE= line has parameters or not ...

If that is caused by the config.sys parser I would definitily call it buggy.

But have you already thought of the posibility that the HIMEMX program
itself is at fault here ?  That it does not understand the way it gets
executed from within the booting OS (as opposed from the command-line) ?

Regards,
Rudy Wieser


-- Origional mesage:
Rod Pemberton <do_not_have@notemailnotz.cnm> schreef in berichtnieuws
kaji80$5lg$1@speranza.aioe.org...
>
> I pasted this DEVICE= line from my MS-DOS CONFIG.SYS into
> FreeDOS' CONFIG.SYS (v1.1):
>
>   DEVICE=HIMEMX.EXE/MAX=2097152/NUMHANDLES=128/METHOD:PORT92
>
> It flagged the '=' sign with an error via a caret '^' on the next
> line.  What does that mean exactly?  What could be wrong with the
> '=' sign?  Nothing.  It happens there is no correlation between
> the indicated error and the problem ...  There is a bug in
> FreeDOS.
>
> So, next, I reduced the FreeDOS DEVICE= line to:
>
>   DEVICE=HIMEMX.EXE
>
> It still flagged the '=' sign as an error.
>
> After spending a half-hour trying every combination of upper- and
> lower-case "DEVICE=", "HIMEMX.EXE", and the path, I found that
> FreeDOS needs a space between HIMEMX.EXE and it's parameters.
>
> Unfortunately, the need for a space is required whether the
> DEVICE= line has parameters or not ...  I.e., the line above
> without parameters needs a space at the end!!!  Most DOS editors
> trim the final spaces from the end-of-line.  I'd think that anyone
> familiar with DOS would know that or should.
>
> If you're reading and are familiar with someone on the FreeDOS
> team, could you pass along this error report?
>
>
> Rod Pemberton


[toc] | [prev] | [next] | [standalone]


#806

From"Rod Pemberton" <do_not_have@notemailnotz.cnm>
Date2012-12-16 16:32 -0500
Message-ID<kalebq$u56$1@speranza.aioe.org>
In reply to#802
"R.Wieser" <address@not.available> wrote in message
news:50ce0ccf$0$6855$e4fe514c@news2.news.xs4all.nl...
> > "Rod Pemberton" <do_not_have@notemailnotz.cnm> wrote:...
...
> > Unfortunately, the need for a space is required whether the
> > DEVICE= line has parameters or not ...
>
> If that is caused by the config.sys parser I would definitily
> call it buggy.
>
> But have you already thought of the posibility that the HIMEMX
> program itself is at fault here ?  That it does not understand
> the way it gets executed from within the booting OS (as
> opposed from the command-line) ?
>

It could be.

However, the DEVICE= line works correctly for MS-DOS (v7.10).  To
me, that implies that FreeDOS is doing something different.  It
could be that difference is triggering a bug in HIMEMX too, e.g.,
perhaps they have an off-by-one error passing command line, or etc
speculation ...  Even if HIMEMX has a bug, I'd probably declare
that difference in FreeDOS to be a bug also.  If there was no
difference or bug in FreeDOS versus MS-DOS, then I'd think that a
bug in HIMEMX couldn't be triggered.  True?


Rod Pemberton



[toc] | [prev] | [next] | [standalone]


#809

From"R.Wieser" <address@not.available>
Date2012-12-17 00:00 +0100
Message-ID<50ce5202$0$6924$e4fe514c@news2.news.xs4all.nl>
In reply to#806
Hello Rod,

> If there was no difference or bug in FreeDOS versus MS-DOS,
> then I'd think that a bug in HIMEMX couldn't be triggered.  True?

Absolutily true, and also a very wrong stance at the same time. :-\

If FreeDos sticks to the (not too exactly defined) rules about executing
programs it retrieved from the config.sys, and the executed program only
regards a subset of those rules (as used by another OS) than who's to blame
?  Mind you, there are several possibilities I can think of to how such a
program could fail to sucessfully parse its own arguments.

I would suggest to check if more alike programs fail to successfully run,
and postpone your findings about who is to blame to when you have those
results.   Also a disassembly of the affected program might be in order, to
determine how-and-why it exactly fails.

Regards,
Rudy Wieser


-- Origional message:
Rod Pemberton <do_not_have@notemailnotz.cnm> schreef in berichtnieuws
kalebq$u56$1@speranza.aioe.org...
> "R.Wieser" <address@not.available> wrote in message
> news:50ce0ccf$0$6855$e4fe514c@news2.news.xs4all.nl...
> > > "Rod Pemberton" <do_not_have@notemailnotz.cnm> wrote:...
> ...
> > > Unfortunately, the need for a space is required whether the
> > > DEVICE= line has parameters or not ...
> >
> > If that is caused by the config.sys parser I would definitily
> > call it buggy.
> >
> > But have you already thought of the posibility that the HIMEMX
> > program itself is at fault here ?  That it does not understand
> > the way it gets executed from within the booting OS (as
> > opposed from the command-line) ?
> >
>
> It could be.
>
> However, the DEVICE= line works correctly for MS-DOS (v7.10).  To
> me, that implies that FreeDOS is doing something different.  It
> could be that difference is triggering a bug in HIMEMX too, e.g.,
> perhaps they have an off-by-one error passing command line, or etc
> speculation ...  Even if HIMEMX has a bug, I'd probably declare
> that difference in FreeDOS to be a bug also.  If there was no
> difference or bug in FreeDOS versus MS-DOS, then I'd think that a
> bug in HIMEMX couldn't be triggered.  True?
>
>
> Rod Pemberton
>
>
>
>

[toc] | [prev] | [next] | [standalone]


#811

Fromak621@chebucto.ns.ca (Richard Bonner)
Date2012-12-18 15:30 +0000
Message-ID<kaq27g$qah$2@Kil-nws-1.UCIS.Dal.Ca>
In reply to#806
Rod Pemberton (do_not_have@notemailnotz.cnm) wrote:
> "R.Wieser" <address@not.available> wrote in message
> news:50ce0ccf$0$6855$e4fe514c@news2.news.xs4all.nl...
> > > "Rod Pemberton" <do_not_have@notemailnotz.cnm> wrote:...
> ...
> > > Unfortunately, the need for a space is required whether the
> > > DEVICE= line has parameters or not ...
> >
> > If that is caused by the config.sys parser I would definitily
> > call it buggy.
> >
> > But have you already thought of the posibility that the HIMEMX
> > program itself is at fault here ?  That it does not understand
> > the way it gets executed from within the booting OS (as
> > opposed from the command-line) ?
> >

> It could be.

> However, the DEVICE= line works correctly for MS-DOS (v7.10).  To
> me, that implies that FreeDOS is doing something different.
> 
> Rod Pemberton

***   My experience with FreeDOS is that it does do things 
differently. 

   What about other DEVICE lines? Will FreeDOS load other drivers in the
configuration:

DEVICE=path\driver.exe

   In all my experience with MS and DR DOS CONFIG.sys versions, DEVICE
lines never required spaces except for switch parameters.

-- 
         Richard Bonner
http://www.chebucto.ca/~ak621/DOS/

[toc] | [prev] | [next] | [standalone]


#803

From"Auric__" <not.my.real@email.address>
Date2012-12-16 20:50 +0000
Message-ID<XnsA12B8CCB2F340auricauricauricauric@88.198.244.100>
In reply to#798
Rod Pemberton wrote:

> I pasted this DEVICE= line from my MS-DOS CONFIG.SYS into
> FreeDOS' CONFIG.SYS (v1.1):
>
>   DEVICE=HIMEMX.EXE/MAX=2097152/NUMHANDLES=128/METHOD:PORT92
>
> It flagged the '=' sign with an error via a caret '^' on the next
> line.  What does that mean exactly?  What could be wrong with the
> '=' sign?  Nothing.  It happens there is no correlation between
> the indicated error and the problem ...  There is a bug in
> FreeDOS.
>
> So, next, I reduced the FreeDOS DEVICE= line to:
>
>   DEVICE=HIMEMX.EXE
>
> It still flagged the '=' sign as an error.
>
> After spending a half-hour trying every combination of upper- and
> lower-case "DEVICE=", "HIMEMX.EXE", and the path, I found that
> FreeDOS needs a space between HIMEMX.EXE and it's parameters.
>
> Unfortunately, the need for a space is required whether the
> DEVICE= line has parameters or not ...  I.e., the line above
> without parameters needs a space at the end!!!  Most DOS editors
> trim the final spaces from the end-of-line.  I'd think that anyone
> familiar with DOS would know that or should.
>
> If you're reading and are familiar with someone on the FreeDOS
> team, could you pass along this error report?

Bearing in mind that I have roughly zero experience with FreeDOS...

Is HIMEMX.EXE in the root directory? (It should be in C:\FDOS\BIN, not C:\.) 
If it's not, then you should pass the full path, e.g.:

  DEVICE=C:\FDOS\BIN\HIMEMX.EXE /switches

In VMware, with the full path and *no* switches, I get no error. With it 
entered exactly as you have it, I get the same error, with or without the 
full path specified. With the full path specified and the switches spaced out 
as mentioned by Sjouke Burry:

  DEVICE=C:\FDOS\BIN\HIMEMX.EXE /MAX=2097152 /NUMHANDLES=128 /METHOD:PORT92

...it works fine.

-- 
You wanted to!

[toc] | [prev] | [next] | [standalone]


#807

From"Rod Pemberton" <do_not_have@notemailnotz.cnm>
Date2012-12-16 16:33 -0500
Message-ID<kaled0$u72$1@speranza.aioe.org>
In reply to#803
"Auric__" <not.my.real@email.address> wrote in message
news:XnsA12B8CCB2F340auricauricauricauric@88.198.244.100...
> Rod Pemberton wrote:
>
> > I pasted this DEVICE= line from my MS-DOS CONFIG.SYS into
> > FreeDOS' CONFIG.SYS (v1.1):
> >
> >  DEVICE=HIMEMX.EXE/MAX=2097152/NUMHANDLES=128/METHOD:PORT92
> >
> > [snip]
> >
> > It still flagged the '=' sign as an error.
> >
> > After spending a half-hour trying every combination of upper-
> > and lower-case "DEVICE=", "HIMEMX.EXE", and the path, I
> > found that FreeDOS needs a space between HIMEMX.EXE
> > and it's parameters.
> >
> > [snip]
>
> Bearing in mind that I have roughly zero experience with
> FreeDOS...
>
> Is HIMEMX.EXE in the root directory? (It should be in
> C:\FDOS\BIN, not C:\.)
> If it's not, then you should pass the full path, e.g.:
>

Yes.  The drive is blank, except for a handful of files.  There
are no directories.

I recently re-installed an old IDE HD (Hard Drive) as my primary
master.  My system normally boots from a secondary master via BIOS
settings which is a SATA SDD (Solid State Drive).  I
re-partitioned and re-formatted the old IDE. Then, I sys'd it and
copied files to it.  Next, I used the modern BBS menu (Bios Boot
Spec.) to select the primary master, the old IDE, to boot.  I did
this in order to test the configuration of files, CONFIG.SYS, and
AUTOEXEC.BAT, etc using the FreeDOS command.com and kernal, before
making a bootable floppy image.  Normally, I just create an boot
floppy using MS-DOS files, but I decided to see if there was
enough system files and utilities from FreeDOS and other sources
to make a boot disk with my set of preferred files.  Once I like
it, I'll format, sys, and copy the files to an actual floppy.
Finally, I'll use John Fine's partcopy to create a floppy image.
It's much easier to use than rawread/rawrite or Linux 'dd'
command.  Floppy disk drives are becoming more scarce.  At some
point, I should probably create a bootable DOS CD or learn how to
use a ramdisk or virtual disk for creating floppy boot images...

>   DEVICE=C:\FDOS\BIN\HIMEMX.EXE /switches
>
> In VMware, with the full path and *no* switches, I get no error.

Odd.  Ok.

> With it entered exactly as you have it, I get the same error,
> with or without the full path specified.

Good.

> With the full path specified and the switches spaced out
> as mentioned by Sjouke Burry:
>
>   DEVICE=C:\FDOS\BIN\HIMEMX.EXE /MAX=2097152
>              /NUMHANDLES=128 /METHOD:PORT92
>
> ...it works fine.

Yes.

However, I just needed one space at the end of HIMEMX.EXE.


Rod Pemberton


[toc] | [prev] | [next] | [standalone]


#805

FromJJ <jaejunks@nah.meh>
Date2012-12-16 21:17 +0000
Message-ID<XnsA12C2C7212016jj@0.0.0.15>
In reply to#798
"Rod Pemberton" <do_not_have@notemailnotz.cnm> wrote:
> I pasted this DEVICE= line from my MS-DOS CONFIG.SYS into
> FreeDOS' CONFIG.SYS (v1.1):
> 
>   DEVICE=HIMEMX.EXE/MAX=2097152/NUMHANDLES=128/METHOD:PORT92
> 
> It flagged the '=' sign with an error via a caret '^' on the next
> line.  What does that mean exactly?  What could be wrong with the
> '=' sign?  Nothing.  It happens there is no correlation between
> the indicated error and the problem ...  There is a bug in
> FreeDOS.
> 
> So, next, I reduced the FreeDOS DEVICE= line to:
> 
>   DEVICE=HIMEMX.EXE
> 
> It still flagged the '=' sign as an error.
> 
> After spending a half-hour trying every combination of upper- and
> lower-case "DEVICE=", "HIMEMX.EXE", and the path, I found that
> FreeDOS needs a space between HIMEMX.EXE and it's parameters.
> 
> Unfortunately, the need for a space is required whether the
> DEVICE= line has parameters or not ...  I.e., the line above
> without parameters needs a space at the end!!!  Most DOS editors
> trim the final spaces from the end-of-line.  I'd think that anyone
> familiar with DOS would know that or should.

I've encountered this confusing problem before (I'm still using kernel 
build 2036). It seems that KERNEL.SYS not just poorly parse the line, but 
also incorrectly report the line which causes the error.

> If you're reading and are familiar with someone on the FreeDOS
> team, could you pass along this error report?
> 
> 
> Rod Pemberton

One should wake them up first, cause they seem to be dormant. Last 2041 
build was on 2012-02-07. If you have older build (see your KERNEL's 
HISTORY.TXT), try the latest build (the ke2041_386f32.zip file) from:

http://sourceforge.net/projects/freedos/files/Kernel/2041/
http://tinyurl.com/bt5bwcv

or...

http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/kernel/2041/
http://tinyurl.com/ce2t5u7

[toc] | [prev] | [next] | [standalone]


#812

Fromak621@chebucto.ns.ca (Richard Bonner)
Date2012-12-18 15:35 +0000
Message-ID<kaq2g0$qah$3@Kil-nws-1.UCIS.Dal.Ca>
In reply to#798
Rod Pemberton (do_not_have@notemailnotz.cnm) wrote:
> Most DOS editorstrim the final spaces from the end-of-line.  I'd think
> that anyone familiar with DOS would know that or should.
>
> Rod Pemberton

***   I use MS-DOS EDIT (Version 2.0.026) for my configuration files and
it leaves a space at the end of a line if I include one.

-- 
         Richard Bonner
http://www.chebucto.ca/~ak621/DOS/

[toc] | [prev] | [standalone]


Back to top | Article view | comp.os.msdos.programmer


csiph-web