aboutsummaryrefslogtreecommitdiffstats
path: root/src/termcap.c
diff options
context:
space:
mode:
authorDan Nicolaescu2008-07-31 05:33:56 +0000
committerDan Nicolaescu2008-07-31 05:33:56 +0000
commit7c2fb837ec2f0e0a509f22ccc35f9b43476a6119 (patch)
tree7ec796ef1f109e43c8be2cc8cfb8dc579cfa8033 /src/termcap.c
parent69ab3201ca6f6ef1414d678fd9cb13dd4d6f6b95 (diff)
downloademacs-7c2fb837ec2f0e0a509f22ccc35f9b43476a6119.tar.gz
emacs-7c2fb837ec2f0e0a509f22ccc35f9b43476a6119.zip
* 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/termcap.c')
-rw-r--r--src/termcap.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/src/termcap.c b/src/termcap.c
index 291857697d8..2ad31d7b96a 100644
--- a/src/termcap.c
+++ b/src/termcap.c
@@ -349,13 +349,8 @@ char PC;
349 349
350static int speeds[] = 350static int speeds[] =
351 { 351 {
352#ifdef VMS
353 0, 50, 75, 110, 134, 150, -3, -6, -12, -18,
354 -20, -24, -36, -48, -72, -96, -192
355#else /* not VMS */
356 0, 50, 75, 110, 135, 150, -2, -3, -6, -12, 352 0, 50, 75, 110, 135, 150, -2, -3, -6, -12,
357 -18, -24, -48, -96, -192, -288, -384, -576, -1152 353 -18, -24, -48, -96, -192, -288, -384, -576, -1152
358#endif /* not VMS */
359 }; 354 };
360 355
361#endif /* not emacs */ 356#endif /* not emacs */
@@ -441,34 +436,6 @@ static char *gobble_line ();
441static int compare_contin (); 436static int compare_contin ();
442static int name_match (); 437static int name_match ();
443 438
444#ifdef VMS
445
446#include <rmsdef.h>
447#include <fab.h>
448#include <nam.h>
449#include <starlet.h>
450
451static int
452valid_filename_p (fn)
453 char *fn;
454{
455 struct FAB fab = cc$rms_fab;
456 struct NAM nam = cc$rms_nam;
457 char esa[NAM$C_MAXRSS];
458
459 fab.fab$l_fna = fn;
460 fab.fab$b_fns = strlen(fn);
461 fab.fab$l_nam = &nam;
462 fab.fab$l_fop = FAB$M_NAM;
463
464 nam.nam$l_esa = esa;
465 nam.nam$b_ess = sizeof esa;
466
467 return SYS$PARSE(&fab, 0, 0) == RMS$_NORMAL;
468}
469
470#else /* !VMS */
471
472#ifdef MSDOS /* MW, May 1993 */ 439#ifdef MSDOS /* MW, May 1993 */
473static int 440static int
474valid_filename_p (fn) 441valid_filename_p (fn)
@@ -480,8 +447,6 @@ valid_filename_p (fn)
480#define valid_filename_p(fn) (*(fn) == '/') 447#define valid_filename_p(fn) (*(fn) == '/')
481#endif 448#endif
482 449
483#endif /* !VMS */
484
485/* Find the termcap entry data for terminal type NAME 450/* Find the termcap entry data for terminal type NAME
486 and store it in the block that BP points to. 451 and store it in the block that BP points to.
487 Record its address for future use. 452 Record its address for future use.