Proposed config file change

Andreas Mohr a.mohr at mailto.de
Sat Jul 21 18:37:03 CDT 2001


Hi all,

I've been thinking for a rather long while now that the config file
has a rather poor format.
Several settings are pretty misplaced, and it tends to get chaotic.

Let me just suggest something different:
[COMM\\ParallelPorts]
"Lpt1" = "..."
"ppdev_378" = "..."
[COMM\\SerialPorts]
[COMM\\RASAPI]
[COMM\\TAPI]
[COMM\\WININET]
[COMM\\WINSOCK]
[DLLs\\Overrides]
[File\\Drive x]
[File\\General]
"Windows" = "..."
"System" = "..."
"Temp" = "..."
"Path" = "..."
"ShowDirSymlinks" = "..."
[File\\Registry]
"LoadGlobalRegistryFiles" = "Y"
"LoadHomeRegistryFiles" = "Y"
"LoadWindowsRegistryFiles" = "Y"
"WritetoHomeRegistryFiles" = "Y"
"SaveOnlyUpdatedKeys" = "Y"
"Profile" = "c:\\windows\\Profiles\\Administrator"
[Graphics]
"GraphicsDriver" = "x11drv"
"WineLook" = "Win95"
[Graphics\\DirectX]
[Graphics\\Fonts]
;See a couple of examples for russian users below
"Resolution" = "96"
"Default" = "-adobe-helvetica-"
"DefaultFixed" = "fixed"
"DefaultSerif" = "-adobe-times-"
"DefaultSansSerif" = "-adobe-helvetica-"
[Graphics\\OpenGL]
[Graphics\\Printing\\afmdirs]
[Graphics\\Printing\\Spooler]
"FILE:" = "tmp.ps"
"LPT1:" = "|lpr"
"LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
"LPT3:" = "/dev/lp3"

[Graphics\\Screen\\ttydrv]
;"Drivers" = "tty"
;"XtermProg" = "nxterm"
;"InitialRows" = "25"
;"InitialColumns" = "80"
;"TerminalType" = "nxterm"
[Graphics\\Screen\\x11drv]
...
[Sound\\DSOUND]
"EmulatedDriver" = "..."
[Sound\\WinMM]
"Drivers" = "wineoss.drv"
"WaveMapper" = "msacm.drv"
"MidiMapper" = "midimap.drv"

[wine]
"ShellLinker" = "wineshelllink"
[wine\\Clipboard]
"ClearAllSelections" = "0"
"PersistentSelection" = "1"
[wine\\Ports]
;"read" = "0x779,0x379,0x280-0x2a0"
; "write" = "0x779,0x379,0x280-0x2a0"
[wine\\Spy]
"Exclude" = "WM_SIZE;WM_TIMER;"

This has the advantage that it has a very basic structure (COMM, DLLs, File,
Sound, Wine),
and you always know where to start searching.

I haven't spent much thought on whether it's really "right" and, most
importantly, extensible, though.

Comments ?

-- 
Andreas Mohr                        Stauferstr. 6, D-71272 Renningen, Germany
Tel. +49 7159 800604                http://home.nexgo.de/andi.mohr/




More information about the wine-devel mailing list