comparison src/gpmevent.c @ 3025:facf3239ba30

[xemacs-hg @ 2005-10-25 11:16:19 by ben] rename new->new_, convert 'foo to `foo' EmacsFrame.c, ExternalClient.c, ExternalShell.c, chartab.c, cmdloop.c, compiler.h, console.c, database.c, device-msw.c, device-x.c, device.c, doc.c, dragdrop.c, eval.c, event-msw.c, event-stream.c, events.c, extents.c, file-coding.c, fns.c, frame-tty.c, frame.c, gpmevent.c, gutter.c, hash.c, imgproc.c, indent.c, keymap.c, lisp-union.h, macros.c, malloc.c, marker.c, menubar-x.c, menubar.c, mule-charset.c, number.c, process.c, profile.h, ralloc.c, redisplay.c, select-common.h, select.c, syntax.c, sysfile.h, sysproc.h, systime.h, syswindows.h, toolbar.c, tooltalk.c, tparam.c, unexaix.c, unexalpha.c, unexconvex.c, unexec.c, unexhp9k800.c, unexmips.c, unicode.c, window.c: new -> new_. 'foo -> `foo'. lwlib-internal.h: redo assert macros to follow lisp.h and not trigger warnings. lwlib.c, xlwtabs.c: new -> new_.
author ben
date Tue, 25 Oct 2005 11:16:49 +0000
parents 172fb92bd156
children 304aebb79cd3
comparison
equal deleted inserted replaced
3024:b7f26b2f78bd 3025:facf3239ba30
560 ** descriptor, or it can get the wrong terminal sizes, etc. 560 ** descriptor, or it can get the wrong terminal sizes, etc.
561 */ 561 */
562 gpm_consolefd = fd; 562 gpm_consolefd = fd;
563 563
564 /* We have to pass the virtual console manually, otherwise if you 564 /* We have to pass the virtual console manually, otherwise if you
565 ** use 'gnuclient -nw' to connect to an XEmacs that is running in 565 ** use `gnuclient -nw' to connect to an XEmacs that is running in
566 ** X, Gpm_Open() tries to use ttyname(0 | 1 | 2) to find out which 566 ** X, Gpm_Open() tries to use ttyname(0 | 1 | 2) to find out which
567 ** console you are using, which is of course not correct for the 567 ** console you are using, which is of course not correct for the
568 ** new tty device. 568 ** new tty device.
569 */ 569 */
570 if (strncmp (console_name, "/dev/tty", 8) || !isdigit (console_name[8])) 570 if (strncmp (console_name, "/dev/tty", 8) || !isdigit (console_name[8]))