Skip to contentSkip to conversation

line 496 parse error

DISCUSSION Stas Sergeev 4 participants 5 messages Dec 22, 2002 – Dec 30, 2002

lore
Share & tools
lore
#0 lore raw

Hello.

Quoted 1 line · Grigory Batalov

I get strange error while starting dosemu in console:

What does you dosemu.conf look like? The tricky part now (when everything is intended to be commented out) is that when you uncomment some option, you have to uncomment also all the related options.
I.e. if you, say, uncomment $_sound, you are forced to uncomment also all the $_sb_xxx options, otherwise parse error.
This is logical only partially, I think this must be changed (non-trivial).

#1 lore raw
Quoted 3 lines · On Sun, 22 Dec 2002 23:44:31 +0300 Stas Sergeev <[email protected]> wrote:
Quoted 1 line

I get strange error while starting dosemu in console:

What does you dosemu.conf look like?

~/.dosemurc applied,
/etc/dosemu.{conf,users} are absent.

Quoted 11 lines

The tricky part now (when everything is intended to be commented out) is that when you uncomment some option, you have to uncomment also all the related options.
I.e. if you, say, uncomment $_sound, you are forced to uncomment also all the $_sb_xxx options, otherwise parse error.
This is logical only partially, I think this must be changed (non-trivial).

I tought there is default options that
can be overwritten with dosemu.conf or
~/.dosemurc ?

Also some diagnostics:
- When started under Midnight Commander
(in console), dosemu works!
- I use FreeDOS kernel 1.1.28.
Versions are:

C:\>ver /r

FreeCom version 0.83 Beta 54 [Nov 13 2002 22:21:04] DOS version 5.0
FreeDOS kernel version 1.1.28

Signature · 1 line
 Grigory Batalov.
#2 lore raw
Quoted 3 lines · Grigory Batalov

I tought there is default options that
can be overwritten with dosemu.conf or
~/.dosemurc ?

yes, that's the intent and the relevant bugs that exist now will be solved (as much as possible in 1.1.4.1).

Quoted 3 lines

Also some diagnostics:
- When started under Midnight Commander
(in console), dosemu works!

well as Reinhard Karcher reported, uncomment $_video = (off). if you run DOSEMU from mc, an xterm, or in an ssh session, then it thinks that it does not run on the Linux console and the bug you mention (line 496 in the built-in global.conf) does not apply.

Bart

#3 lore raw

On Fri, Dec 27, 2002 at 11:15:28AM -0500, Bart Oldeman wrote

Quoted 5 lines

well as Reinhard Karcher reported, uncomment $_video = (off). if you run DOSEMU from mc, an xterm, or in an ssh session, then it thinks that it does not run on the Linux console and the bug you mention (line 496 in the built-in global.conf) does not apply.

Just one more observation: Don't use plainvga with $_video, you get the same error. I suppose that the option plainvga does not apply to $_video but only to $_chipset. Thus I suggest to remove plainvga from the $_video line.

Reinhard

#4 lore raw
Quoted 2 lines · Reinhard Karcher

On Fri, Dec 27, 2002 at 11:15:28AM -0500, Bart Oldeman wrote

Quoted 1 line

well as Reinhard Karcher reported, uncomment $_video = (off).

hmm, should be $_video = "vga"

Quoted 7 lines
Quoted 4 lines

if you run DOSEMU from mc, an xterm, or in an ssh session, then it thinks that it does not run on the Linux console and the bug you mention (line 496 in the built-in global.conf) does not apply.

Just one more observation: Don't use plainvga with $_video, you get the same error. I suppose that the option plainvga does not apply to $_video but only to $_chipset. Thus I suggest to remove plainvga from the $_video line.

yes. And as far as I can see this isn't a new bug. "plainvga" was also invalid (not recognized by the parser) for $_video in older dosemu's. "none" is a valid option, however.

Bart