[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#126176: marked as done (Console support to be phased out in favour of X)



Your message dated Thu, 9 Feb 2006 23:34:50 +0100
with message-id <20060209223450.GA16790@localhost>
and subject line cannot reproduce - old bug - closing
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: dosemu
Version: 1.0.2.1-2
Severity: normal

As 0.66.7 stopped working with 2.4, I finally upgraded.

Problem 1: dosemu no longer restores the videomode correctly upon switching to another vc. 

Problem 2: dosemu stops when switching to another vc.

Both are absolutely crippling bugs for me.

Current config file:
##############################################################################
# This file is /etc/dosemu.conf, included by <DOSEMU_LIB_DIR>/global.conf
#
# Linux DOSEMU configuration  for parser versions >= 3 (dosemu-0.97.0.1)
#
# ./doc/README.txt (chapter 2.) contains a description of the syntax
# and the usage of dosemu.conf.
#
#
# Access rights are defined in
#
#      /etc/dosemu.users
#
##############################################################################



# Notes for editing this section:
#
#   In    $_xxx = (n)    n is a numerical or boolean value
#                  =     =
#   In    $_zzz = "s"    s is a string
#
# Please edit only beteen the brakets and quotes and keep the rest intact.
#        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^

$_debug = "-a"		# same format as -D commandline option
			# (but without the -D in front)
$_features= ""		# list of temporary hacks, see release notes in
			# the file ChangeLog. e.g "0:1 2:0", which means
			# to set feature_0 to 1 and feature_2 to 0.
$_mapping= ""		# prefered mapping driver, one of:
			# auto, mapself, mapfile, mapshm
$_timint = (on)		# emulate INT08 type timer interrupts
$_mathco = (on)		# or off
$_cpu = "80386"		# CPU showing to DOS, valid values:  "80[345]86"
			# or "emulated" for non-native CPU (386 in this case)

$_rdtsc = (on)		# if possible use Pentium cycle counter
$_cpuspeed = (0)	# 0 = calibrated by dosemu, else given (e.g.166.666)
$_pci = (off)

$_xms = (99999)		# in Kbyte
$_ems = (99999)		# in Kbyte
$_ems_frame = (0xe000)
$_dpmi = (off)		# in Kbyte
$_dosmem = (640)	# in Kbyte, < 640
$_hardware_ram = ""	# list of segment values/ranges such as
			# "0xc8000 range 0xcc000,0xcffff"

$_secure ="ngd"		# secure for: n (normal users), g (guest), d (dexe)
			# empty string: depending on 'restricted'
			# "0": always insecure (not recommended)
$_odd_hosts = ""	# black list such as "lucifer.hell.com billy.the.cat"
$_diskless_hosts=""	# black list such as "hacker1 newbee gateway1"

$_emusys = ""		# empty or 3 char., config.sys   -> config.XXX
$_emubat = ""		# empty or 3 char., autoexec.bat -> autoexec.XXX 
$_emuini = ""		# empty or 3 char., system.ini   -> system.XXX

$_hogthreshold = (1)	# 0 == all CPU power to DOSEMU
$_irqpassing = ""	# list of IRQ number (2-15) to pass to DOS such as
			# "3 8 10"
$_speaker = ""		# or "native" or "emulated"


$_term_char_set = ""	# Global code page and character set selection.
			# "" == automatic, else: ibm, latin, latin1, latin2

$_term_color = (on)	# terminal with color support
$_term_updfreq = (4)	# time between refreshs (units: 20 == 1 second)
$_escchar = (30)	# 30 == Ctrl-^, special-sequence prefix

$_rawkeyboard = (0)	# bypass normal keyboard input, maybe dangerous
$_layout = "auto"	# one of: finnish(-latin1), de(-latin1), be, it, us
			# uk, dk(-latin1), keyb-no, no-latin1, dvorak, po
			# sg(-latin1), fr(-latin1), sf(-latin1), es(-latin1)
			# sw, hu(-latin2), hu-cwi, keyb-user
			# hr-cp852, hr-latin2, cz-qwerty, cz-qwertz.
			# Or 'auto' (which tries to generate the table from
			# the current Linux console settings)
$_keybint = (on)	# emulate PCish keyboard interrupt


$_X_updfreq = (5)	# time between refreshs (units: 20 == 1 second)
$_X_title = "DOS in a BOX"	# Title in the top bar of the window
$_X_icon_name = "xdos"	# Text for icon, when minimized
$_X_keycode = (auto) 	# on == translate keybord via dosemu keytables
			# or 'off' or 'auto'
$_X_blinkrate = (8)	# blink rate for the cursor
$_X_font = ""		# basename from /usr/X11R6/lib/X11/fonts/misc/*
			# (without extension) e.g. "vga"
$_X_mitshm = (on)	# Use shared memory extensions
$_X_sharecmap = (off)	# share the colormap with other applications
$_X_fixed_aspect = (on)	# Set fixed aspect for resize the graphics window
$_X_aspect_43 = (on)	# Always use an aspect ratio of 4:3 for graphics
$_X_lin_filt = (off)	# Use linear filtering for >15 bpp interpolation
$_X_bilin_filt = (off)	# Use bi-linear filtering for >15 bpp interpolation
$_X_mode13fact = (2)	# initial size factor for video mode 0x13 (320x200)
$_X_winsize = ""	# "x,y" of initial windows size (defaults to float)
$_X_gamma = (1.0)	# gamma correction
$_X_vgaemu_memsize = (1024) # size (in Kbytes) of the frame buffer for emulated vga
$_X_lfb = (on)	# use linear frame buffer in VESA modes
$_X_pm_interface = (on)	# use protected mode interface for VESA modes
$_X_mgrab_key = "Home"	# KeySym name to activate mouse grab, empty == off
$_X_vesamode = ""	# "xres,yres ... xres,yres"
			# List of vesamodes to add. The list has to contain
			# SPACE separated "xres,yres" pairs



$_video = "vga"		# one of: plainvga, vga, ega, mda, mga, cga
$_console = (1)		# use 'console' video
$_graphics = (1)	# use the cards BIOS to set graphics
$_videoportaccess = (1)	# allow videoportaccess when 'graphics' enabled
$_vbios_seg = (0xc000)	# set the address of your VBIOS (e.g. 0xe000)
$_vbios_size = (0x10000)# set the size of your BIOS (e.g. 0x8000)
$_vmemsize = (1024)	# size of regen buffer
$_chipset = "s3"		# one of: plainvga, trident, et4000, diamond, avance
			# cirrus, matrox, wdvga, paradise, ati, s3, sis
$_dualmon = (0)		# if you have one vga _plus_ one hgc (2 monitors)


$_vbootfloppy = ""	# if you want to boot from a virtual floppy:
			# file name of the floppy image under DOSEMU_LIB_DIR
			# e.g. "floppyimage" disables $_hdimage
			#      "floppyimage +hd" does _not_ disable $_hdimage
$_floppy_a ="threeinch"	# or "fiveinch" or "atapi" or empty, if not existing
			# optionally the device may be appended such as
			# "threeinch:/dev/fd0"
$_floppy_b = ""		# dito for B:

$_hdimage = "hdimage.opendos hdimage.dosj freedos:ro"# list of hdimages under DOSEMU_LIB_DIR
			# assigned in this order such as
			# "hdimage_c hdimage_d hdimage_e"
			# If the name begins with '/dev/', then partion
			# access is done instead of virtual hdimage such as
			# "/dev/hda1" or "/dev/hda1:ro" for readonly
			# Currently mounted devices and swap are refused.
			# Hdimages and devices may be mixed such as
			# "hdimage_c /dev/hda1 /dev/hda3:ro"
			# Note: 'wholedisk' is _not_ supported.
$_hdimage_r = $_hdimage	# hdimages for 'restricted access (if different)

$_aspi = ""		# list of generic SCSI devices to make available
			# for the builtin aspi driver (format of an entry
			# is 'device:type:mappedtarget' such as
			# "sg2:WORM sg3:Sequential-Access:6 sg4:CD-ROM" or
			# "sg2:4 sg3:1:6 sg4:5" (which are equal)

$_com1 = ""		# e.g. "/dev/mouse" or "/dev/ttyS0"
$_com2 = ""		# e.g. "/dev/modem" or "/dev/ttyS1"
$_com3 = ""		# dito                 "/dev/ttyS2"
$_com4 = ""		# dito                 "/dev/ttyS3"
			# Note: all "/dev/ttyXX" may be suffixed by the IRQ
			# used (instead of the default one), such as
			# "/dev/ttyS2 irq 5" or "/dev/ttyS3 irq 9"

$_ttylocks = ""		# Lock directory (e.g. "/var/lock")
			# default ("") is /var/lock

$_mouse = "mousesystems"		# one of: microsoft, mousesystems, logitech, mmseries
			# mouseman, hitachi, busmouse, ps2, imps2
$_mouse_dev = "/dev/ttyS0"	# one of: com1, com2, com3, com4 or /dev/mouse
$_mouse_flags = "cleardtr"	# list of none or one or more of:
			# "emulate3buttons cleardtr"
$_mouse_baud = (0)	# baudrate, 0 == don't set

$_printer = "lp"	# list of (/etc/printcap) printer names to appear as
			# LPT1, LPT2, LPT3 (not all are needed, empty for none)
$_printer_timeout = (20)# idle time in seconds before spooling out

$_ports = ""		# list of portnumbers such as "0x1ce 0x1cf 0x238"
			# or "0x1ce range 0x280,0x29f 310"
			# or "range 0x1a0,(0x1a0+15)"

$_ipxsupport = (off)	# or on
$_novell_hack = (off)
$_vnet = (off)		# 'on' for packet-multi (used by dosnet)

$_sound = (on)		# sound support on/off
$_sb_base = (0x220)
$_sb_irq = (5)
$_sb_dma = (1)
$_sb_dsp = "/dev/dsp"
$_sb_mixer = "/dev/mixer"
$_mpu_base = "0x330"

Old config file:
#--------------------------------------------------------------------------
# Linux dosemu 0.66 configuration file.
#
# This is an example file for
#      /etc/dosemu.conf  ( system wide configuration file )
#      .dosrc            ( user configuration file )
#      option -I         ( configuration via commandline, see man/dose.1 )
#
# Access rights are defined in
#
#      /etc/dosemu.users
#
# A detailed description of all configuration items can be found
# in the file  ./doc/README.config
#              ===================
# BIG FAT NOTE:^^^^^^^^^^^^^^^^^^^
#
# NOTICE:
#    - For more detailed information you should refer to the documentation in
#      the "doc" subdirectory of the DOSEMU distribution, wherever possible.
#    - This configuration file is designed to be used as a base to make
#       it easier for you to set up DOSEMU for your specific system.
#    - Configuration options between lace brackets { } can be split onto
#       multiple lines.
#    - Comments start with # (or ; in column 1. (beginning of a line) )
#    - If you have problems installing DOSEMU and think it might be useful
#       to mail or post your /etc/dosemu.conf, please consider to do:
#
#--------------------------------------------------------------------------
#
# Following the standard dosemu configuration, possible alternatives
# below are all starting at 1st <TAB> and are commented out.
# Real comments have _two_ ##, to make better clear, what ist meant.


## comment out the below line, if you want to boot from a virtual floppy
#define vbootfloppy


##
## common configuration part, without relation to security
##

debug { off }
dosbanner on
timint on
terminal { charset latin  updatefreq 4  color on }
	#terminal { charset ibm  color on }
	#terminal { charset latin  color on }
	#terminal { charset ibm  color on }
X { updatefreq 8 title "DOS in a BOX" icon_name "xdos" }
	#X { updatefreq 5 title "DOS in a BOX" icon_name "xdos" sharecmap }
mathco on           ## Math coprocessor valid values:  on  off
cpu 80386           ## CPU emulation valid values:  80[345]86
xms 99999		## XMS size in K,  or "off"
ems 99999		## EMS size in K,  or "off"
	#ems { ems_size 2048 ems_frame 0xd000 }
	#dosmem 640		## Maximum conventional RAM to show apps
	#EmuSys EMU
	#EmuBat EMU

##
## special configuration part, conditional handling of security issues
##

## host-allowed checking, see ./doc/README.config for details !!
ifdef h_oddhost.hell.com
  abort "this host is not allowed to use dosemu"
endif


ifdef guest
  ## /etc/dosemu.users defined 'guest' for this login
  define restricted      ## force restricted setting
  define c_dexeonly  ## forbid any other use than DEXE execution
  keyboard {  layout us  keybint on  rawkeyboard off  }
						##^^
  HogThreshold 1
  video { vga }
  sound_emu off
else
  ## other then guest
  keyboard {  layout us  keybint on  rawkeyboard off  }
						##^^ may be 'on'
	#keyboard {  layout de-latin1  keybint on  rawkeyboard on  }
  HogThreshold 1
	#keystroke "\F8;"

#	serial { com 2  device /dev/ttyS1 }
#	serial { com 1  device /dev/ttyI0 }
	#serial { com 1  device /dev/modem }
	#serial { com 4  device /dev/modem }
	#serial { com 3  base 0x03E8  irq 5  device /dev/ttyS2 }
	#serial { mouse  com 1  device /dev/ttyS0 }
	#mouse { microsoft } ## logitech, mmseries, mouseman, hitachi, mousesystems
	mouse { mousesystems device /dev/ttyS0 internaldriver cleardtr } ## logitech, mmseries, mouseman, hitachi, mousesystems
	#mouse { busmouse }
	#mouse { ps2  device /dev/mouse internaldriver emulate3buttons }
	#mouse { mousesystems device /dev/mouse internaldriver cleardtr }
	#ttylocks { directory /var/lock }
	#ttylocks { directory /var/lock namestub LCK.. }
	#ttylocks { directory /var/lock namestub LCK.. binary }

#  video { vga }          ## Use this line, if you are using VGA
	#video { cga  console }          ## Use this line, if you are using CGA
	#video { ega  console }          ## Use this line, if you are using EGA
	#video { mda  console }          ## Use this line, if you are using MDA
	#allowvideoportaccess on
	#video { vga  console  graphics }
	#video { vga  console  graphics  vbios_seg 0xe000 }
	#video { vga  console  graphics  chipset trident  memsize 1024 }
	#video { vga  console  graphics  chipset diamond }
	#video { vga  console  graphics  chipset cirrus }
	#video { vga  console  graphics  chipset et4000  memsize 1024 }
	#video { vga  console  graphics  chipset et4000  memsize 1024 vbios_size 0x8000 }
	video { vga  console  graphics  chipset s3  memsize 1024 }
	#video { vga  console  graphics  chipset avance }
  ifndef restricted
	#ports { 0x1ce 0x1cf 0x238 0x23b 0x23c 0x23f 0x9ae8 0x9ae9 0x9aee 0x9aef }
  endif
  #sound_emu off
	sound_emu { sb_base 0x220 sb_irq 5 sb_dma 1 sb_dsp /dev/dsp sb_mixer /dev/mixer mpu_base 0x330 }
endif ## guest


ifdef restricted
  ## /etc/dosemu.users defined 'restricted' for this login
  define c_normal
  secure on
  dexe { secure }
  ifndef guest
    ifndef c_dexerun
      disk { image "/var/lib/dosemu/hdimage.first" }
    endif
  endif
  dpmi off
  speaker emulated
  ipxsupport off
  printer { options "%s"  command "lpr"  timeout 20 }
else
  ## /etc/dosemu.users does allow full access for this login
  secure off
  dexe { allowdisk }
  ifndef vbootfloppy
    bootC               ## Startup drive valid values:  bootA  bootC
    ifndef c_dexerun
#      disk { image "/var/lib/dosemu/hdimage.first" }   ## use diskimage file.
     ifdef u_j
      disk { image "/var/lib/dosemu/hdimage.dosj" }   ## use diskimage file.
     else
      disk { image "/var/lib/dosemu/hdimage.opendos" }   ## use diskimage file.
     endif
#      disk { image "/var/lib/dosemu/newhd" }   ## use diskimage file.
    endif
  endif
	#disk { partition "/dev/hda1" readonly }       ## 1st partition on 1st IDE.
	#disk { partition "/dev/hda1" bootfile "/var/lib/bootsect.dos" }
	#disk { partition "/dev/hda6" readonly }       ## 6th logical partition.
	#disk { wholedisk "/dev/hda" }                 ## DANGER: Entire disk drive unit
	#bootdisk { heads 2 sectors 18 tracks 80 threeinch file /var/lib/dosemu/bdisk }
  ifndef vbootfloppy
    floppy { device /dev/fd0 threeinch }
  else
    bootA
    floppy { heads 2  sectors 18  tracks 80 threeinch  file /var/lib/dosemu/diskimage }
  endif
	#floppy { device /dev/fd1 fiveinch }
	#FastFloppy 8
  dpmi 999999               ## DPMI size in K, or "off"
	#hardware_ram { 0xc8000 range 0xcc000 0xcffff }
  irqpassing off    ## this disables IRQ monitoring
	#irqpassing { use_sigio 15 }
  #be carefull with port settings !!!
	#ports { 0x388 0x389 }  ## for SimEarth
  speaker native         ## or "off" or "emulated"
  ipxsupport off
	#pktdriver novell_hack
  printer { options "%s"  command "lpr"  timeout 20 }
	#printer { options "-p %s"  command "lpr"  timeout 10 }    ## pr format it
	#printer { file "lpt3" }
	#printer { options "%s"  command "lpr"  base 0x3bc }
	#ports { device /dev/lp0 0x3bc 0x3bd 0x3be }
  ##debugging aids
	#dosemumap /var/lib/dosemu/dosemu.map  ## for dosdebug to find the map
	#logbufsize 0x20000                    ## set buffersize for logging
endif


## define the allowed classes for subsequent .dosrc and -I parsing

ifdef restricted
  undef c_all
  ifdef guest
    undef c_normal
    define c_dexe
    define c_nice
    define c_x
  endif
endif

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux khms.westfalen.de 2.4.16+kai.49 #1 Sam Dez 22 11:43:25 CET 2001 i586
Locale: LANG=de_DE, LC_CTYPE=de_DE

Versions of packages dosemu depends on:
ii  debconf                       1.0.21     Debian configuration management sy
ii  libc6                         2.2.4-5    GNU C Library: Shared libraries an
ii  slang1                        1.4.4-6    The S-Lang programming library - r
ii  xbase-clients                 4.1.0-9    miscellaneous X clients
ii  xlibs                         4.1.0-9    X Window System client libraries
ii  xutils                        4.1.0-9    X Window System utility programs



--- End Message ---
--- Begin Message ---
I cannot reproduce the bug with dosemu 1.2.2-1, and there has been no
addition on the bug report between 2001 and today (2006).  I'm closing
this bug because it seems it's related to an old version of dosemu (and
maybe also only one setup).  Feel free to reopen and explain why.


--- End Message ---

Reply to: