synced with 1.44
[mplayer/greg.git] / cfg-mplayer.h
blob10ca937753f6386b267e2a28da272ce3f6bde4e7
1 /*
2 * config for cfgparser
3 */
5 #include "cfg-common.h"
7 extern int noconsolecontrols;
9 #if defined(HAVE_FBDEV)||defined(HAVE_VESA)
10 extern char *monitor_hfreq_str;
11 extern char *monitor_vfreq_str;
12 extern char *monitor_dotclock_str;
13 #endif
15 #ifdef HAVE_FBDEV
16 extern char *fb_mode_cfgfile;
17 extern char *fb_mode_name;
18 #endif
19 #ifdef HAVE_DIRECTFB
20 #if DIRECTFBVERSION > 912
21 extern char *dfb_params;
22 #endif
23 #endif
24 #ifdef USE_FAKE_MONO
25 extern int fakemono; // defined in dec_audio.c
26 #endif
28 extern int volstep;
30 #ifdef HAVE_LIRC
31 extern char *lirc_configfile;
32 #endif
34 extern int vo_doublebuffering;
35 extern int vo_vsync;
36 extern int vo_fsmode;
37 extern int vo_dbpp;
38 extern int vo_directrendering;
39 extern float vo_panscan;
40 extern float vo_panscanrange;
41 /* only used at startup (setting these values from configfile) */
42 extern int vo_gamma_brightness;
43 extern int vo_gamma_saturation;
44 extern int vo_gamma_contrast;
45 extern int vo_gamma_hue;
46 extern char *vo_geometry;
47 extern int vo_ontop;
48 extern int vo_border;
49 extern int vo_keepaspect;
50 extern int vo_rootwin;
52 extern int opt_screen_size_x;
53 extern int opt_screen_size_y;
54 extern int fullscreen;
55 extern int vidmode;
57 #ifdef USE_OSD
58 extern int osd_level;
59 #endif
61 extern char *ao_outputfilename;
62 extern int ao_pcm_waveheader;
64 #ifdef HAVE_X11
65 extern char *mDisplayName;
66 extern int fs_layer;
67 extern int stop_xscreensaver;
68 extern char **vo_fstype_list;
69 extern int vo_nomouse_input;
70 #endif
71 extern int WinID;
73 #ifdef HAVE_MENU
74 extern int menu_startup;
75 #endif
77 #ifdef HAVE_ZR
78 extern int vo_zr_parseoption(m_option_t* conf, char *opt, char * param);
79 extern void vo_zr_revertoption(m_option_t* opt,char* pram);
80 #endif
82 #ifdef HAVE_DXR2
83 extern m_option_t dxr2_opts[];
84 #endif
86 #ifdef STREAMING_LIVE555
87 extern int isSDPFile;
88 extern int rtspStreamOverTCP;
89 extern int rtsp_port;
90 #endif
92 #ifdef HAVE_NEW_GUI
93 extern char * skinName;
94 extern int enqueue;
95 extern int guiWinID;
96 #endif
98 #ifdef HAVE_ODIVX_POSTPROCESS
99 extern int use_old_pp;
100 #endif
102 #ifdef HAVE_XINERAMA
103 extern int xinerama_screen;
104 #endif
106 #ifdef HAVE_RTC
107 extern int nortc;
108 #endif
110 /* from libvo/aspect.c */
111 extern float monitor_aspect;
113 extern int sws_flags;
114 extern int readPPOpt(void *conf, char *arg);
115 extern void revertPPOpt(void *conf, char* opt);
116 extern char* pp_help;
118 m_option_t vd_conf[]={
119 {"help", "Use MPlayer with an appropriate video file instead of live partners to avoid vd.\n", CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
120 {NULL, NULL, 0, 0, 0, 0, NULL}
124 * CONF_TYPE_FUNC_FULL :
125 * allows own implementations for passing the params
127 * the function receives parameter name and argument (if it does not start with - )
128 * useful with a conf.name like 'aa*' to parse several parameters to a function
129 * return 0 =ok, but we didn't need the param (could be the filename)
130 * return 1 =ok, we accepted the param
131 * negative values: see cfgparser.h, ERR_XXX
133 * by Folke
136 m_option_t mplayer_opts[]={
137 /* name, pointer, type, flags, min, max */
139 //---------------------- libao/libvo options ------------------------
140 {"o", "Option -o has been renamed to -vo (video-out), use -vo.\n",
141 CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
142 {"vo", &video_driver_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
143 {"ao", &audio_driver_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
144 {"fixed-vo", &fixed_vo, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 1, NULL},
145 {"nofixed-vo", &fixed_vo, CONF_TYPE_FLAG,CONF_GLOBAL, 0, 0, NULL},
146 {"ontop", &vo_ontop, CONF_TYPE_FLAG, 0, 0, 1, NULL},
147 {"noontop", &vo_ontop, CONF_TYPE_FLAG, 0, 1, 0, NULL},
148 {"rootwin", &vo_rootwin, CONF_TYPE_FLAG, 0, 0, 1, NULL},
149 {"border", &vo_border, CONF_TYPE_FLAG, 0, 0, 1, NULL},
150 {"noborder", &vo_border, CONF_TYPE_FLAG, 0, 1, 0, NULL},
152 {"aop", "-aop is deprecated, use -af instead.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
153 {"dsp", "Use -ao oss:dsp_path.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
154 {"mixer", &mixer_device, CONF_TYPE_STRING, 0, 0, 0, NULL},
155 {"mixer-channel", &mixer_channel, CONF_TYPE_STRING, 0, 0, 0, NULL},
156 {"softvol", &soft_vol, CONF_TYPE_FLAG, 0, 0, 1, NULL},
157 {"nosoftvol", &soft_vol, CONF_TYPE_FLAG, 0, 1, 0, NULL},
158 {"softvol-max", &soft_vol_max, CONF_TYPE_FLOAT, CONF_RANGE, 10, 10000, NULL},
159 {"volstep", &volstep, CONF_TYPE_INT, CONF_RANGE, 0, 100, NULL},
160 {"master", "Option -master has been removed, use -af volume instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
161 // override audio buffer size (used only by -ao oss, anyway obsolete...)
162 {"abs", &ao_data.buffersize, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
164 // -ao pcm options:
165 {"aofile", "-aofile is deprecated. Use -ao pcm:file=<filename> instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
166 {"waveheader", "-waveheader is deprecated. Use -ao pcm:waveheader instead.\n", CONF_TYPE_PRINT, 0, 0, 1, NULL},
167 {"nowaveheader", "-nowaveheader is deprecated. Use -ao pcm:nowaveheader instead.\n", CONF_TYPE_PRINT, 0, 1, 0, NULL},
169 {"alsa", "-alsa has been removed. Remove it from your config file.\n",
170 CONF_TYPE_PRINT, 0, 0, 0, NULL},
171 {"noalsa", "-noalsa has been removed. Remove it from your config file.\n",
172 CONF_TYPE_PRINT, 0, 0, 0, NULL},
173 #ifdef USE_EDL
174 {"edlout", &edl_output_filename, CONF_TYPE_STRING, 0, 0, 0, NULL},
175 #else
176 {"edlout", "MPlayer was compiled without EDL support.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
177 #endif
179 #ifdef HAVE_X11
180 {"display", &mDisplayName, CONF_TYPE_STRING, 0, 0, 0, NULL},
181 #endif
183 // -vo png only:
184 #ifdef HAVE_PNG
185 {"z", "-z is replaced by -vo png:z=<0-9>\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
186 #endif
187 // -vo jpeg only:
188 #ifdef HAVE_JPEG
189 {"jpeg", "-jpeg is deprecated. Use -vo jpeg:options instead.\n",
190 CONF_TYPE_PRINT, 0, 0, 0, NULL},
191 #endif
192 // -vo sdl only:
193 {"sdl", "Use -vo sdl:driver=<driver> instead of -vo sdl -sdl driver.\n",
194 CONF_TYPE_PRINT, 0, 0, 0, NULL},
195 {"noxv", "-noxv is deprecated. Use -vo sdl:nohwaccel instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
196 {"forcexv", "-forcexv is deprecated. Use -vo sdl:forcexv instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
197 // -ao sdl only:
198 {"sdla", "Use -ao sdl:driver instead of -ao sdl -sdla driver.\n",
199 CONF_TYPE_PRINT, 0, 0, 0, NULL},
201 #if defined(HAVE_FBDEV)||defined(HAVE_VESA)
202 {"monitor-hfreq", &monitor_hfreq_str, CONF_TYPE_STRING, 0, 0, 0, NULL},
203 {"monitor-vfreq", &monitor_vfreq_str, CONF_TYPE_STRING, 0, 0, 0, NULL},
204 {"monitor-dotclock", &monitor_dotclock_str, CONF_TYPE_STRING, 0, 0, 0, NULL},
205 #endif
207 #ifdef HAVE_FBDEV
208 {"fbmode", &fb_mode_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
209 {"fbmodeconfig", &fb_mode_cfgfile, CONF_TYPE_STRING, 0, 0, 0, NULL},
210 #endif
211 #ifdef HAVE_DIRECTFB
212 #if DIRECTFBVERSION > 912
213 {"dfbopts", "-dfbopts is deprecated, use -vf directfb:dfbopts=... instead\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
214 #endif
215 #endif
217 // force window width/height or resolution (with -vm)
218 {"x", &opt_screen_size_x, CONF_TYPE_INT, CONF_RANGE, 0, 4096, NULL},
219 {"y", &opt_screen_size_y, CONF_TYPE_INT, CONF_RANGE, 0, 4096, NULL},
220 // set screen dimensions (when not detectable or virtual!=visible)
221 {"screenw", &vo_screenwidth, CONF_TYPE_INT, CONF_RANGE|CONF_OLD, 0, 4096, NULL},
222 {"screenh", &vo_screenheight, CONF_TYPE_INT, CONF_RANGE|CONF_OLD, 0, 4096, NULL},
223 // Geometry string
224 {"geometry", &vo_geometry, CONF_TYPE_STRING, 0, 0, 0, NULL},
225 // set aspect ratio of monitor - useful for 16:9 TVout
226 {"monitoraspect", &monitor_aspect, CONF_TYPE_FLOAT, CONF_RANGE, 0.2, 9.0, NULL},
227 // video mode switching: (x11,xv,dga)
228 {"vm", &vidmode, CONF_TYPE_FLAG, 0, 0, 1, NULL},
229 {"novm", &vidmode, CONF_TYPE_FLAG, 0, 1, 0, NULL},
230 // start in fullscreen mode:
231 {"fs", &fullscreen, CONF_TYPE_FLAG, 0, 0, 1, NULL},
232 {"nofs", &fullscreen, CONF_TYPE_FLAG, 0, 1, 0, NULL},
233 // set fullscreen switch method (workaround for buggy WMs)
234 {"fsmode", "-fsmode is obsolete, avoid it and use -fstype instead.\nIf you really want it, try -fsmode-dontuse, but don't report bugs!\n", CONF_TYPE_PRINT, CONF_RANGE, 0, 31, NULL},
235 {"fsmode-dontuse", &vo_fsmode, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL},
236 // set bpp (x11+vm, dga, fbdev, vesa, svga?)
237 {"bpp", &vo_dbpp, CONF_TYPE_INT, CONF_RANGE, 0, 32, NULL},
238 {"colorkey", &vo_colorkey, CONF_TYPE_INT, 0, 0, 0, NULL},
239 {"nocolorkey", &vo_colorkey, CONF_TYPE_FLAG, 0, 0, 0x1000000, NULL},
240 // double buffering: (mga/xmga, xv, vidix, vesa, fbdev)
241 {"double", &vo_doublebuffering, CONF_TYPE_FLAG, 0, 0, 1, NULL},
242 {"nodouble", &vo_doublebuffering, CONF_TYPE_FLAG, 0, 1, 0, NULL},
243 // wait for v-sync (vesa)
244 {"vsync", &vo_vsync, CONF_TYPE_FLAG, 0, 0, 1, NULL},
245 {"novsync", &vo_vsync, CONF_TYPE_FLAG, 0, 1, 0, NULL},
246 {"panscan", &vo_panscan, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 1.0, NULL},
247 {"panscanrange", &vo_panscanrange, CONF_TYPE_FLOAT, CONF_RANGE, -19.0, 99.0, NULL},
249 {"grabpointer", &vo_grabpointer, CONF_TYPE_FLAG, 0, 0, 1, NULL},
250 {"nograbpointer", &vo_grabpointer, CONF_TYPE_FLAG, 0, 1, 0, NULL},
252 {"adapter", &vo_adapter_num, CONF_TYPE_INT, CONF_RANGE, 0, 5, NULL},
253 {"refreshrate",&vo_refresh_rate,CONF_TYPE_INT,CONF_RANGE, 0,100, NULL},
254 {"wid", &WinID, CONF_TYPE_INT, 0, 0, 0, NULL},
255 #ifdef HAVE_X11
256 // x11,xv,xmga,xvidix
257 {"icelayer", "-icelayer is obsolete. Use -fstype layer:<number> instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
258 {"stop-xscreensaver", &stop_xscreensaver, CONF_TYPE_FLAG, 0, 0, 1, NULL},
259 {"nostop-xscreensaver", &stop_xscreensaver, CONF_TYPE_FLAG, 0, 1, 0, NULL},
260 {"stop_xscreensaver", "Use -stop-xscreensaver instead, options with _ have been obsoleted.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
261 {"fstype", &vo_fstype_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
262 {"nomouseinput", &vo_nomouse_input, CONF_TYPE_FLAG,0,0,-1,NULL},
263 #endif
265 #ifdef HAVE_XINERAMA
266 {"xineramascreen", &xinerama_screen, CONF_TYPE_INT, CONF_RANGE, 0, 32, NULL},
267 #endif
269 {"brightness",&vo_gamma_brightness, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
270 {"saturation",&vo_gamma_saturation, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
271 {"contrast",&vo_gamma_contrast, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
272 {"hue",&vo_gamma_hue, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
273 {"keepaspect", &vo_keepaspect, CONF_TYPE_FLAG, 0, 0, 1, NULL},
274 {"nokeepaspect", &vo_keepaspect, CONF_TYPE_FLAG, 0, 1, 0, NULL},
276 // direct rendering (decoding to video out buffer)
277 {"dr", &vo_directrendering, CONF_TYPE_FLAG, 0, 0, 1, NULL},
278 {"nodr", &vo_directrendering, CONF_TYPE_FLAG, 0, 1, 0, NULL},
279 {"vaa_dr", "-vaa_dr is obsolete, use -dr.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
280 {"vaa_nodr", "-vaa_nodr is obsolete, use -nodr.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
282 #ifdef HAVE_AA
283 // -vo aa
284 {"aa*", "-aa* is deprecated. Use -vo aa:suboption instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
285 #endif
287 #ifdef HAVE_ZR
288 // -vo zr
289 {"zr*", vo_zr_parseoption, CONF_TYPE_FUNC_FULL, 0, 0, 0, &vo_zr_revertoption },
290 #endif
292 #ifdef HAVE_DXR2
293 {"dxr2", &dxr2_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
294 #endif
296 #ifdef STREAMING_LIVE555
297 {"sdp", "-sdp is obsolete, use sdp://file instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
298 // -rtsp-stream-over-tcp option, specifying TCP streaming of RTP/RTCP
299 {"rtsp-stream-over-tcp", &rtspStreamOverTCP, CONF_TYPE_FLAG, 0, 0, 1, NULL},
300 {"rtsp-port", &rtsp_port, CONF_TYPE_INT, CONF_RANGE, -1, 65535, NULL},
301 #else
302 {"rtsp-stream-over-tcp", "RTSP support requires the \"LIVE555 Streaming Media\" libraries.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
303 {"rtsp-port", "RTSP support requires the \"LIVE555 Streaming Media\" libraries.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
304 #endif
306 //---------------------- mplayer-only options ------------------------
308 #ifdef CRASH_DEBUG
309 {"crash-debug", &crash_debug, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
310 {"nocrash-debug", &crash_debug, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
311 #endif
312 {"osdlevel", &osd_level, CONF_TYPE_INT, CONF_RANGE, 0, 3, NULL},
313 {"osd-duration", &osd_duration, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
314 #ifdef HAVE_MENU
315 {"menu", &use_menu, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
316 {"nomenu", &use_menu, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
317 {"menu-root", &menu_root, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
318 {"menu-cfg", &menu_cfg, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
319 {"menu-startup", &menu_startup, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
320 #else
321 {"menu", "OSD menu support was not compiled in.\n", CONF_TYPE_PRINT,0, 0, 0, NULL},
322 #endif
324 // these should be moved to -common, and supported in MEncoder
325 {"vobsub", &vobsub_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
326 {"vobsubid", &vobsub_id, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL},
328 {"sstep", &step_sec, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
330 {"framedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 0, 1, NULL},
331 {"hardframedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 0, 2, NULL},
332 {"noframedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 1, 0, NULL},
334 {"autoq", &auto_quality, CONF_TYPE_INT, CONF_RANGE, 0, 100, NULL},
336 {"benchmark", &benchmark, CONF_TYPE_FLAG, 0, 0, 1, NULL},
338 // dump some stream out instead of playing the file
339 // this really should be in MEncoder instead of MPlayer... -> TODO
340 {"dumpfile", &stream_dump_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
341 {"dumpaudio", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 1, NULL},
342 {"dumpvideo", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 2, NULL},
343 {"dumpsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 3, NULL},
344 {"dumpmpsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 4, NULL},
345 {"dumpstream", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 5, NULL},
346 {"dumpsrtsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 6, NULL},
347 {"dumpmicrodvdsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 7, NULL},
348 {"dumpjacosub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 8, NULL},
349 {"dumpsami", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 9, NULL},
351 #ifdef HAVE_LIRC
352 {"lircconf", &lirc_configfile, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
353 #endif
355 {"gui", "Please remove gui=yes from your config file. Run gmplayer if you want the GUI.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
356 // {"gui", &use_gui, CONF_TYPE_FLAG, CONF_GLOBAL|CONF_NOCMD, 0, 1, NULL},
357 // {"nogui", &use_gui, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
359 #ifdef HAVE_NEW_GUI
360 {"skin", &skinName, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
361 {"enqueue", &enqueue, CONF_TYPE_FLAG, 0, 0, 1, NULL},
362 {"noenqueue", &enqueue, CONF_TYPE_FLAG, 0, 0, 0, NULL},
363 {"guiwid", &guiWinID, CONF_TYPE_INT, 0, 0, 0, NULL},
364 #endif
366 {"noloop", &loop_times, CONF_TYPE_FLAG, 0, 0, -1, NULL},
367 {"loop", &loop_times, CONF_TYPE_INT, CONF_RANGE, -1, 10000, NULL},
368 {"playlist", NULL, CONF_TYPE_STRING, 0, 0, 0, NULL},
370 // a-v sync stuff:
371 {"noautosync", &autosync, CONF_TYPE_FLAG, 0, 0, -1, NULL},
372 {"autosync", &autosync, CONF_TYPE_INT, CONF_RANGE, 0, 10000, NULL},
373 // {"dapsync", &dapsync, CONF_TYPE_FLAG, 0, 0, 1, NULL},
374 // {"nodapsync", &dapsync, CONF_TYPE_FLAG, 0, 1, 0, NULL},
376 {"softsleep", &softsleep, CONF_TYPE_FLAG, 0, 0, 1, NULL},
377 #ifdef HAVE_RTC
378 {"nortc", &nortc, CONF_TYPE_FLAG, 0, 0, 1, NULL},
379 {"rtc", &nortc, CONF_TYPE_FLAG, 0, 0, 0, NULL},
380 {"rtc-device", &rtc_device, CONF_TYPE_STRING, 0, 0, 0, NULL},
381 #endif
383 {"term-osd", &term_osd, CONF_TYPE_FLAG, 0, 0, 1, NULL},
384 {"noterm-osd", &term_osd, CONF_TYPE_FLAG, 0, 0, 0, NULL},
385 {"term-osd-esc", &term_osd_esc, CONF_TYPE_STRING, 0, 0, 1, NULL},
387 {"slave", &slave_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 1, NULL},
388 {"idle", &player_idle_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 1, NULL},
389 {"noidle", &player_idle_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 0, NULL},
390 {"use-stdin", "-use-stdin has been renamed to -noconsolecontrols, use that instead.", CONF_TYPE_PRINT, 0, 0, 0, NULL},
391 {"key-fifo-size", &key_fifo_size, CONF_TYPE_INT, CONF_RANGE, 2, 65000, NULL},
392 {"noconsolecontrols", &noconsolecontrols, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
393 {"consolecontrols", &noconsolecontrols, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 0, NULL},
395 #define MAIN_CONF
396 #include "cfg-common.h"
397 #undef MAIN_CONF
399 {"identify", &identify, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
400 {"-help", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
401 {"help", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
402 {"h", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
404 {"vd", vd_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
405 {NULL, NULL, 0, 0, 0, 0, NULL}