comparison src/console.c @ 120:cca96a509cfe r20-1b12

Import from CVS: tag r20-1b12
author cvs
date Mon, 13 Aug 2007 09:25:29 +0200
parents fe104dbd9147
children 59463afc5666
comparison
equal deleted inserted replaced
119:d101af7320b8 120:cca96a509cfe
254 #ifdef HAVE_X_WINDOWS 254 #ifdef HAVE_X_WINDOWS
255 if (CONSOLE_X_P (XCONSOLE (console))) 255 if (CONSOLE_X_P (XCONSOLE (console)))
256 Vwindow_system = Qx; 256 Vwindow_system = Qx;
257 else 257 else
258 #endif 258 #endif
259 #ifdef HAVE_NEXTSTEP
260 if (CONSOLE_NS_P (XCONSOLE (console)))
261 Vwindow_system = Qns;
262 else
263 #endif
264 Vwindow_system = Qnil; 259 Vwindow_system = Qnil;
265 } 260 }
266 261
267 DEFUN ("select-console", Fselect_console, 1, 1, 0, /* 262 DEFUN ("select-console", Fselect_console, 1, 1, 0, /*
268 Select the console CONSOLE. 263 Select the console CONSOLE.
313 308
314 DEFUN ("console-type", Fconsole_type, 0, 1, 0, /* 309 DEFUN ("console-type", Fconsole_type, 0, 1, 0, /*
315 Return the type of the specified console (e.g. `x' or `tty'). 310 Return the type of the specified console (e.g. `x' or `tty').
316 Value is `tty' for a tty console (a character-only terminal), 311 Value is `tty' for a tty console (a character-only terminal),
317 `x' for a console that is an X display, 312 `x' for a console that is an X display,
318 `ns' for a console that is a NeXTstep connection (not yet implemented),
319 `win32' for a console that is a Windows or Windows NT connection (not yet 313 `win32' for a console that is a Windows or Windows NT connection (not yet
320 implemented), 314 implemented),
321 `pc' for a console that is a direct-write MS-DOS connection (not yet 315 `pc' for a console that is a direct-write MS-DOS connection (not yet
322 implemented), 316 implemented),
323 `stream' for a stream console (which acts like a stdio stream), and 317 `stream' for a stream console (which acts like a stdio stream), and