Package: dosemu
Version: 1.4.0-2
Severity: normal

I just upgraded dosemu and now get parse errors in global.conf.  I've
attached the errors and the output of dosemu -h1.

I have customized some of my settings.  In particular,
/etc/dosemu/dosemu.conf has
$_X_winsize = "800,600"
(which it had before and worked before).

The error appears to be from /etc/dosemu/global.conf, but that file
says this at the top:
# WARNING: THIS FILE IS NOT USED BY DEFAULT. ADJUST dosemu.users OR USE -F.

However, man dosemu.bin says "global.conf is included in dosemu.bin by
default" (parenthetical remark in the files section).

There is nothing in my doesmu.users that seems to refer to
global.conf.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (50, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dosemu depends on:
ii  libasound2                    1.0.13-2   ALSA library
ii  libc6                         2.5-9+b1   GNU C Library: Shared libraries
ii  libgpmg1                      1.19.6-25  General Purpose Mouse - shared lib
ii  libsdl1.2debian               1.2.11-8   Simple DirectMedia Layer
ii  libslang2                     2.0.7-1    The S-Lang programming library - r
ii  libsndfile1                   1.0.17-1   Library for reading/writing audio 
ii  libx11-6                      2:1.0.3-7  X11 client-side library
ii  libxext6                      1:1.0.3-2  X11 miscellaneous extension librar
ii  libxxf86vm1                   1:1.0.1-2  X11 XFree86 video mode extension l

dosemu recommends no packages.

-- no debconf information
In file included from built-in global.conf:321
Error in : (line 321) syntax error
Error in : (line 321) unrecognized command 'X_winsize'
Error in : (line 321) unrecognized command '' winsize (800) , (600)''
Error in : (line 321) unrecognized command '"Home"'
4 error(s) detected while parsing the configuration-file
ERROR: $_dosmem = (768) not allowed for X and VGA console graphics, restricting 
to 640K

-------------------------------------------------------------
------dumping the runtime configuration _after_ parsing -----
Version: dosemu-1.4.0.0 versioncode = 0x01040000

Running Kernel Version: linux-2.6.18
cpu 586
realcpu 586
CPUclock 3000.33MHz
cpu_spd 0x15d7cc
cpu_tick_spd 0x1a1008
pci 0
rdtsc 0
mathco 1
smp 0
cpuspeed 3000
cpuemu 0
mappingdriver Posix SHM mapping
hdiskboot 1
mem_size 640
ext_mem 8192
ems_size 0x400
ems_frame 0xe400
xms_size 0x0
max_umb 0x0
dpmi 0x5000
dpmi_base 0xffffffff
pm_dos_api 1
ignore_djgpp_null_derefs 0
mapped_bios 0
vbios_file 
vbios_copy 0
vbios_seg 0xc000
vbios_size 0x10000
console_keyb 0
console_video 0
kbd_tty 0
exitearly 1
fdisks 0
hdisks 2
bootdisk 0
term_esc_char 0x1e
term_color 1
term_updatefreq 4
X_updatelines 25
X_updatefreq 5
xterm_title
X_display ""
X_title "DOS in a BOX"
X_icon_name "xdosemu"
X_title_show_appname 1
X_blinkrate 12
X_sharecmap 0
X_mitshm 1
X_fixed_aspect 1
X_aspect_43 0
X_lin_filt 0
X_bilin_filt 0
X_mode13fact 2
X_winsize_x 0
X_winsize_y 0
X_gamma 100
X_fullscreen 0
vgaemu_memsize 0x1000
vesamode_list (nil)
X_lfb 1
X_pm_interface 1
X_keycode 2
X_font "vga11x19"
X_mgrab_key "(null)"
X_background_pause 0
config.X 1
hogthreshold 5
chipset "plainvga"
cardtype "VGA"
pci_video 1
fullrestore 0
gfxmemsize 256
vga 0
dualmon 0
force_vt_switch 0
speaker "emulated"
update 54925
freq 18
tty_lockdir "/var/lock"
tty_lockfile "LCK.."
config.tty_lockbinary 0
num_ser 0
num_lpt 2
fastfloppy 1
full_file_locks 0
emusys ""
emuini ""
dosbanner 1
vbios_post 0
detach 0
debugout ""
debug_flags 
"-#-A-C-D-E-I-M-P-Q-R-S-T-W-X-Z-a+c-d-e-g-h-i-j-k-m-n-p-q-r-s-u-v+w-x"
keytable not setup yet
pre_stroke ""
irqpassing= none
hardware_ram: no
ipxsup 0
vnet 2
pktflags 0x0
LPT1 command "lpr -l"  timeout 20  device ""  baseport 0x378
LPT2 command "lpr -l -P lpt2"  timeout 20  device ""  baseport 0x278
feature_0 0
feature_1 0
feature_2 0
feature_3 0
feature_4 0
feature_5 0
feature_6 0
feature_7 0
feature_8 0
feature_9 0
feature_10 0
feature_11 0
feature_12 0
feature_13 0
feature_14 0
feature_15 0

SOUND:
sb_base 0x0
sb_dma 0
sb_hdma 0
sb_irq 0
mpu401_base 0x0
sb_dsp "(null)"
sb_mixer "(null)"
sound_driver "(null)"

SOUND_OSS:
oss_min_frags 0x0
oss_max_frags 0x0
oss_stalled_frags 0x0
oss_do_post 0
oss_min_extra_frags 0x0
oss_dac_freq 0

cli_timeout 10

pic_watchdog 50

JOYSTICK:
joy_device0 "/dev/js0"
joy_device1 "/dev/js1"
joy_dos_min 1
joy_dos_max 150
joy_granularity 1
joy_latency 1

--------------end of runtime configuration dump -------------
-------------------------------------------------------------

dosemu-1.4.0.0

USAGE:
  xdosemu [options] [ [-E] linux path or dos command ]

    -2,3,4,5,6 choose 286, 386, 486 or 586 or 686 CPU
    -A boot from first defined floppy disk (A)
    -B boot from second defined floppy disk (B) (#)
    -C boot from first defined hard disk (C)
    -c use PC console video (!%)
    -d detach console
    -X run in X Window (#)
    -S run in SDL (#)
    -D set debug-msg mask to flags {+-}{0-9}{#ACDEIMPQRSTWXZacdeghijkmnpqrsuvwx}
       #=default int                       A=ASPI                             
       C=CDROM                             D=dos int 21h                      
       E=EMS                               I=IPC                              
       M=DPMI                              P=Packet driver                    
       Q=Mapping driver                    R=disk READ                        
       S=SOUND                             T=I/O trace                        
       W=disk WRITE                        X=X support                        
       Z=PCI                               a=Set all levels                   
       c=configuration                     d=disk msgs                        
       e=cpu-emu                           g=general messages                 
       h=hardware                          i=i/o instructions (in/out)        
       j=joystick                          k=keyboard                         
       m=mouse                             n=IPX network                      
       p=printer                           q=DMA                              
       r=PIC request                       s=serial                           
       u=Unicode translation               v=video                            
       w=warnings                          x=XMS                              
    -E STRING pass DOS command on command line (but don't exit afterwards)
    -e SIZE enable SIZE K EMS RAM
    -F use File as global config-file
    -f use dosrcFile as user config-file
    --Fusers bypass /etc/dosemu.users (^^)
    --Flibdir change keymap and FreeDOS location
    --Fimagedir bypass systemwide boot path
    -n bypass the system configuration file (^^)
    -L load and execute DEXE File
    -I insert config statements (on commandline)
    -i[bootdir] (re-)install a DOS from bootdir or interactively
    -h dump configuration to stderr and exit (sets -D+c)
       0=no parser debug, 1=loop debug, 2=+if_else debug
    -H wait for dosdebug terminal at startup and pass dflags
    -k use PC console keyboard (!)
    -M set memory size to SIZE kilobytes (!)
    -m toggle internal mouse driver
    -N No boot of DOS
    -O write debug messages to stderr
    -o FILE put debug messages in file
    -P copy debugging output to FILE
    -s enable direct hardware access (full feature) (!%)
    -t use terminal (S-Lang) mode
    -u set user configuration variable 'confvar' prefixed by 'u_'.
    -V use BIOS-VGA video modes (!#%)
    -v NUM force video card type
    -w toggle windowed/fullscreen mode in X
    -x SIZE enable SIZE K XMS RAM
    -U PIPES calls init_uhook(PIPES) (???)

    (!) BE CAREFUL! READ THE DOCS FIRST!
    (%) require DOSEMU be run as root (i.e. suid)
    (^^) require DOSEMU not be run as root (i.e. not suid)
    (#) options do not fully work yet

  xdosemu --help
  xdosemu --version    print version of dosemu (and show this help)

Reply via email to