diff options
author | Dan Nicolaescu <dann@ics.uci.edu> | 2008-07-31 05:33:56 +0000 |
---|---|---|
committer | Dan Nicolaescu <dann@ics.uci.edu> | 2008-07-31 05:33:56 +0000 |
commit | 7c2fb837ec2f0e0a509f22ccc35f9b43476a6119 (patch) | |
tree | 7ec796ef1f109e43c8be2cc8cfb8dc579cfa8033 /src/keyboard.c | |
parent | 69ab3201ca6f6ef1414d678fd9cb13dd4d6f6b95 (diff) | |
download | emacs-7c2fb837ec2f0e0a509f22ccc35f9b43476a6119.tar.gz |
* bitmaps/README:
* xfns.c:
* termcap.c:
* term.c:
* syswait.h:
* systty.h:
* systime.h:
* syssignal.h:
* sysdep.c:
* process.h:
* process.c:
* print.c:
* ndir.h:
* lread.c:
* keyboard.c:
* getpagesize.h:
* floatfns.c:
* fileio.c:
* emacs.c:
* doc.c:
* dispnew.c:
* dired.c:
* data.c:
* callproc.c:
* buffer.c:
* README:
* Makefile.in:
* s/template.h:
* s/msdos.h:
* m/vax.h: Remove VMS support.
* s/vms.h:
* vlimit.h:
* uaf.h:
* temacs.opt:
* param.h:
* ioctl.h: Remove file.
* descrip.mms:
* compile.com: Remove file.
* Create.c: Remove VMS support.
* message.el (Module):
* gnus-start.el (Module):
* gnus-registry.el (Module):
* textmodes/texinfmt.el:
* nxml/nxml-enc.el:
* mail/feedmail.el:
* international/mule.el:
* international/latexenc.el:
* emulation/viper-util.el:
* emulation/viper-init.el:
* emulation/viper-ex.el:
* emacs-lisp/bytecomp.el:
* version.el:
* subr.el:
* startup.el:
* sort.el:
* shadowfile.el:
* recentf.el:
* printing.el:
* paths.el:
* minibuffer.el:
* ls-lisp.el:
* loadup.el:
* hippie-exp.el:
* finder.el:
* files.el:
* ediff-util.el:
* ediff-ptch.el:
* ediff-init.el:
* ediff-diff.el:
* dired.el:
* dired-aux.el:
* cus-edit.el:
* bindings.el:
* arc-mode.el:
* add-log.el: Remove VMS support.
* obsolete/vmsproc.el:
* obsolete/vms-pmail.el:
* obsolete/vms-patch.el: Remove file.
* etags.c:
* emacsclient.c: Remove VMS support.
* termcap.src: Remove file.
* README:
* PROBLEMS:
* MACHINES: Remove VMS info.
* ediff.texi: Remove VMS support.
* os.texi:
* intro.texi:
* files.texi: Remove VMS support.
* emacs.texi: Remove VMS support.
* make-dist:
* README: Remove VMS support.
* vms: Remove directory.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r-- | src/keyboard.c | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index a61eb836f26..51e228b37b0 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -51,9 +51,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ #include "msdos.h" #include <time.h> #else /* not MSDOS */ -#ifndef VMS #include <sys/ioctl.h> -#endif #endif /* not MSDOS */ #include "syssignal.h" @@ -4015,9 +4013,6 @@ kbd_buffer_get_event (kbp, used_mouse_menu, end_time) /* One way or another, wait until input is available; then, if interrupt handlers have not read it, read it now. */ -#ifdef OLDVMS - wait_for_kbd_input (); -#else /* Note SIGIO has been undef'd if FIONREAD is missing. */ #ifdef SIGIO gobble_input (0); @@ -4048,7 +4043,6 @@ kbd_buffer_get_event (kbp, used_mouse_menu, end_time) if (!interrupt_input && kbd_fetch_ptr == kbd_store_ptr) /* Pass 1 for EXPECT since we just waited to have input. */ read_avail_input (1); -#endif /* not VMS */ } if (CONSP (Vunread_command_events)) @@ -6907,7 +6901,6 @@ gobble_input (expected) xd_read_queued_messages (); #endif /* HAVE_DBUS */ -#ifndef VMS #ifdef SIGIO if (interrupt_input) { @@ -6930,7 +6923,6 @@ gobble_input (expected) } else #endif -#endif read_avail_input (expected); #endif } @@ -6980,17 +6972,11 @@ record_asynch_buffer_change () } } -#ifndef VMS - /* Read any terminal input already buffered up by the system into the kbd_buffer, but do not wait. EXPECTED should be nonzero if the caller knows there is some input. - Except on VMS, all input is read by this function. - If interrupt_input is nonzero, this function MUST be called - only when SIGIO is blocked. - Returns the number of keyboard chars read, or -1 meaning this is a bad time to try to read input. */ @@ -7238,7 +7224,6 @@ tty_read_avail_input (struct terminal *terminal, return nread; } -#endif /* not VMS */ void handle_async_input () @@ -11011,19 +10996,11 @@ handle_interrupt () */ sys_suspend (); #else -#ifdef VMS - if (sys_suspend () == -1) - { - printf ("Not running as a subprocess;\n"); - printf ("you can continue or abort.\n"); - } -#else /* not VMS */ /* Perhaps should really fork an inferior shell? But that would not provide any way to get back to the original shell, ever. */ printf ("No support for stopping a process on this operating system;\n"); printf ("you can continue or abort.\n"); -#endif /* not VMS */ #endif /* not SIGTSTP */ #ifdef MSDOS /* We must remain inside the screen area when the internal terminal @@ -11062,11 +11039,7 @@ handle_interrupt () #ifdef MSDOS printf ("\r\nAbort? (y or n) "); #else /* not MSDOS */ -#ifdef VMS - printf ("Abort (and enter debugger)? (y or n) "); -#else /* not VMS */ printf ("Abort (and dump core)? (y or n) "); -#endif /* not VMS */ #endif /* not MSDOS */ fflush (stdout); if (((c = getchar ()) & ~040) == 'Y') @@ -11169,11 +11142,6 @@ See also `current-input-mode'. */) new_interrupt_input = 0; #endif /* not SIGIO */ -/* Our VMS input only works by interrupts, as of now. */ -#ifdef VMS - new_interrupt_input = 1; -#endif - if (new_interrupt_input != interrupt_input) { #ifdef POLL_FOR_INPUT @@ -11589,11 +11557,6 @@ init_keyboard () interrupt_input = 0; #endif -/* Our VMS input only works by interrupts, as of now. */ -#ifdef VMS - interrupt_input = 1; -#endif - sigfree (); dribble = 0; |