1913 lines
64 KiB
Plaintext
1913 lines
64 KiB
Plaintext
|
--- .pkgextract
|
|||
|
+++ .pkgextract 2003-07-23 18:08:55.000000000 +0200
|
|||
|
@@ -0,0 +1,21 @@
|
|||
|
+patch -s -p0 --suffix=.axp < ../emacs-21.1-linkscr.patch
|
|||
|
+patch -s -p0 --suffix=.ppc < ../emacs-21.1-ppc.patch
|
|||
|
+patch -s -p0 --suffix=.s390 < ../emacs-21.1-s390x.patch
|
|||
|
+patch -s -p0 --suffix=.glibc < ../emacs-21.1-glibc.patch
|
|||
|
+patch -s -p0 --suffix=.decl < ../emacs-21.1-decl.dif
|
|||
|
+patch -s -p0 --suffix=.dired < ../emacs-21.3-asian-dired.patch
|
|||
|
+patch -s -p0 --suffix=.print < ../emacs-21.1-asian-print.patch
|
|||
|
+patch -s -p0 --suffix=.psbdf < ../emacs-21.1-ps-bdf.patch
|
|||
|
+patch -s -p0 --suffix=.conf < ../emacs-21.3-config.dif
|
|||
|
+patch -s -p0 --suffix=.amd64 < ../emacs-21.2-x86_64.patch
|
|||
|
+patch -s -p0 --suffix=.ppc64 < ../emacs-21.3-ppc64.patch
|
|||
|
+patch -s -p0 --suffix=.term < ../emacs-21.3-term.patch
|
|||
|
+patch -s -p0 --suffix=.psmu < ../emacs-21.3-ps-mule.patch
|
|||
|
+patch -s -p0 --suffix=.nvoid < ../emacs-21.3-nonvoid.patch
|
|||
|
+patch -s -p0 --suffix=.snd < ../emacs-21.3-sendmail-path.patch
|
|||
|
+patch -s -p0 --suffix=.lvl3 < ../emacs-21.3-level3.patch
|
|||
|
+patch -s -p1 --suffix=.mvm < ../emacs-21.3-movemail.patch
|
|||
|
+patch -s -p0 --suffix=.gcc4 < ../emacs-21.3-sentinel.patch
|
|||
|
+patch -s -p0 --suffix=.xim < ../emacs-21.3-xim.patch
|
|||
|
+rm -f leim/Makefile.in
|
|||
|
+tar xkfj ../leim-21.3.tar.bz2 -C ../
|
|||
|
--- Makefile.in
|
|||
|
+++ Makefile.in 2003-07-23 18:08:55.000000000 +0200
|
|||
|
@@ -328,10 +328,8 @@
|
|||
|
exec_prefix=${exec_prefix} bindir=${bindir} \
|
|||
|
libexecdir=${libexecdir} archlibdir=${archlibdir} \
|
|||
|
INSTALL_STRIP=${INSTALL_STRIP})
|
|||
|
- ${INSTALL_PROGRAM} $(INSTALL_STRIP) src/emacs ${bindir}/emacs-${version}
|
|||
|
- -chmod 1755 ${bindir}/emacs-${version}
|
|||
|
- rm -f ${bindir}/$(EMACS)
|
|||
|
- -ln ${bindir}/emacs-${version} ${bindir}/$(EMACS)
|
|||
|
+ ${INSTALL_PROGRAM} $(INSTALL_STRIP) src/emacs ${bindir}/emacs
|
|||
|
+ -chmod 1755 ${bindir}/emacs
|
|||
|
-unset CDPATH; \
|
|||
|
for f in `cd lib-src && echo fns-*.el`; do \
|
|||
|
if test -r lib-src/$$f ; then \
|
|||
|
@@ -443,15 +441,19 @@
|
|||
|
for f in ada-mode autotype ccmode cl dired-x ebrowse ediff efaq emacs emacs-mime eshell eudc forms gnus idlwave info message mh-e pcl-cvs reftex sc speedbar vip viper widget woman; do \
|
|||
|
(cd $${thisdir}; \
|
|||
|
${INSTALL_INFO} --info-dir=${infodir} ${infodir}/$$f); \
|
|||
|
+ chmod a+r ${infodir}/$$f; \
|
|||
|
+ gzip -f9 ${infodir}/$$f; \
|
|||
|
done; \
|
|||
|
else true; fi
|
|||
|
-chmod -R a+r ${datadir}/emacs ${COPYDESTS} ${infodir}
|
|||
|
thisdir=`/bin/pwd`; \
|
|||
|
cd ${srcdir}/etc; \
|
|||
|
- for page in emacs etags ctags gfdl ; do \
|
|||
|
+ cp ctags.1 gnuctags.1; \
|
|||
|
+ for page in emacs gfdl ; do \
|
|||
|
(cd $${thisdir}; \
|
|||
|
${INSTALL_DATA} ${srcdir}/etc/$${page}.1 ${man1dir}/$${page}${manext}; \
|
|||
|
chmod a+r ${man1dir}/$${page}${manext}); \
|
|||
|
+ gzip -f9 ${man1dir}/$${page}${manext}; \
|
|||
|
done
|
|||
|
|
|||
|
### Install LEIM files. Although they are machine-independent, we
|
|||
|
@@ -507,8 +509,8 @@
|
|||
|
(cd ${archlibdir} && rm -f fns-*)
|
|||
|
-rm -rf ${libexecdir}/emacs/${version}
|
|||
|
(cd ${infodir} && rm -f cl* ada-mode* autotype* ccmode* ebrowse* efaq* eshell* eudc* idlwave* message* pcl-cvs* reftex* speedbar* widget* woman* dired-x* ediff* emacs* forms* gnus* info* mh-e* sc* vip*)
|
|||
|
- (cd ${man1dir} && rm -f emacs.1 etags.1 ctags.1)
|
|||
|
- (cd ${bindir} && rm -f emacs-${version} $(EMACS))
|
|||
|
+ (cd ${man1dir} && rm -f emacs.1* )
|
|||
|
+ (cd ${bindir} && rm -f emacs $(EMACS))
|
|||
|
|
|||
|
|
|||
|
FRC:
|
|||
|
--- aclocal.m4
|
|||
|
+++ aclocal.m4 2003-07-23 18:08:55.000000000 +0200
|
|||
|
@@ -20,369 +20,6 @@
|
|||
|
|
|||
|
ifelse(_AC_VERSION_COMPARE(AC_ACVERSION, [2.14]), -1,
|
|||
|
|
|||
|
-# AC_PROG_CC_STDC
|
|||
|
-# ---------------
|
|||
|
-# If the C compiler in not in ANSI C mode by default, try to add an
|
|||
|
-# option to output variable @code{CC} to make it so. This macro tries
|
|||
|
-# various options that select ANSI C on some system or another. It
|
|||
|
-# considers the compiler to be in ANSI C mode if it handles function
|
|||
|
-# prototypes correctly.
|
|||
|
-AC_DEFUN(AC_PROG_CC_STDC,
|
|||
|
-[AC_REQUIRE([AC_PROG_CC])dnl
|
|||
|
-AC_BEFORE([$0], [AC_C_INLINE])dnl
|
|||
|
-AC_BEFORE([$0], [AC_C_CONST])dnl
|
|||
|
-dnl Force this before AC_PROG_CPP. Some cpp's, eg on HPUX, require
|
|||
|
-dnl a magic option to avoid problems with ANSI preprocessor commands
|
|||
|
-dnl like #elif.
|
|||
|
-dnl FIXME: can't do this because then AC_AIX won't work due to a
|
|||
|
-dnl circular dependency.
|
|||
|
-dnl AC_BEFORE([$0], [AC_PROG_CPP])
|
|||
|
-AC_MSG_CHECKING(for ${CC-cc} option to accept ANSI C)
|
|||
|
-AC_CACHE_VAL(ac_cv_prog_cc_stdc,
|
|||
|
-[ac_cv_prog_cc_stdc=no
|
|||
|
-ac_save_CC="$CC"
|
|||
|
-# Don't try gcc -ansi; that turns off useful extensions and
|
|||
|
-# breaks some systems' header files.
|
|||
|
-# AIX -qlanglvl=ansi
|
|||
|
-# Ultrix and OSF/1 -std1
|
|||
|
-# HP-UX 10.20 and later -Ae
|
|||
|
-# HP-UX older versions -Aa -D_HPUX_SOURCE
|
|||
|
-# SVR4 -Xc -D__EXTENSIONS__
|
|||
|
-for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
|||
|
-do
|
|||
|
- CC="$ac_save_CC $ac_arg"
|
|||
|
- AC_TRY_COMPILE(
|
|||
|
-[#include <stdarg.h>
|
|||
|
-#include <stdio.h>
|
|||
|
-#include <sys/types.h>
|
|||
|
-#include <sys/stat.h>
|
|||
|
-/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
|||
|
-struct buf { int x; };
|
|||
|
-FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
|||
|
-static char *e (p, i)
|
|||
|
- char **p;
|
|||
|
- int i;
|
|||
|
-{
|
|||
|
- return p[i];
|
|||
|
-}
|
|||
|
-static char *f (char * (*g) (char **, int), char **p, ...)
|
|||
|
-{
|
|||
|
- char *s;
|
|||
|
- va_list v;
|
|||
|
- va_start (v,p);
|
|||
|
- s = g (p, va_arg (v,int));
|
|||
|
- va_end (v);
|
|||
|
- return s;
|
|||
|
-}
|
|||
|
-int test (int i, double x);
|
|||
|
-struct s1 {int (*f) (int a);};
|
|||
|
-struct s2 {int (*f) (double a);};
|
|||
|
-int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
|||
|
-int argc;
|
|||
|
-char **argv;],
|
|||
|
-[return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];],
|
|||
|
-[ac_cv_prog_cc_stdc="$ac_arg"; break])
|
|||
|
-done
|
|||
|
-CC="$ac_save_CC"
|
|||
|
-])
|
|||
|
-case "x$ac_cv_prog_cc_stdc" in
|
|||
|
- x|xno)
|
|||
|
- AC_MSG_RESULT([none needed]) ;;
|
|||
|
- *)
|
|||
|
- AC_MSG_RESULT($ac_cv_prog_cc_stdc)
|
|||
|
- CC="$CC $ac_cv_prog_cc_stdc" ;;
|
|||
|
-esac
|
|||
|
-])# AC_PROG_CC_STDC
|
|||
|
-
|
|||
|
-# AC_FUNC_MKTIME
|
|||
|
-# --------------
|
|||
|
-AC_DEFUN(AC_FUNC_MKTIME,
|
|||
|
-[AC_REQUIRE([AC_HEADER_TIME])dnl
|
|||
|
-AC_CHECK_HEADERS(sys/time.h unistd.h)
|
|||
|
-AC_CHECK_FUNCS(alarm)
|
|||
|
-AC_CACHE_CHECK([for working mktime], ac_cv_func_working_mktime,
|
|||
|
-[AC_TRY_RUN(
|
|||
|
-[/* Test program from Paul Eggert (eggert@twinsun.com)
|
|||
|
- and Tony Leneis (tony@plaza.ds.adp.com). */
|
|||
|
-#if TIME_WITH_SYS_TIME
|
|||
|
-# include <sys/time.h>
|
|||
|
-# include <time.h>
|
|||
|
-#else
|
|||
|
-# if HAVE_SYS_TIME_H
|
|||
|
-# include <sys/time.h>
|
|||
|
-# else
|
|||
|
-# include <time.h>
|
|||
|
-# endif
|
|||
|
-#endif
|
|||
|
-
|
|||
|
-#if HAVE_UNISTD_H
|
|||
|
-# include <unistd.h>
|
|||
|
-#endif
|
|||
|
-
|
|||
|
-#if !HAVE_ALARM
|
|||
|
-# define alarm(X) /* empty */
|
|||
|
-#endif
|
|||
|
-
|
|||
|
-/* Work around redefinition to rpl_putenv by other config tests. */
|
|||
|
-#undef putenv
|
|||
|
-
|
|||
|
-static time_t time_t_max;
|
|||
|
-
|
|||
|
-/* Values we'll use to set the TZ environment variable. */
|
|||
|
-static const char *const tz_strings[] = {
|
|||
|
- (const char *) 0, "TZ=GMT0", "TZ=JST-9",
|
|||
|
- "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
|
|||
|
-};
|
|||
|
-#define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
|
|||
|
-
|
|||
|
-/* Fail if mktime fails to convert a date in the spring-forward gap.
|
|||
|
- Based on a problem report from Andreas Jaeger. */
|
|||
|
-static void
|
|||
|
-spring_forward_gap ()
|
|||
|
-{
|
|||
|
- /* glibc (up to about 1998-10-07) failed this test) */
|
|||
|
- struct tm tm;
|
|||
|
-
|
|||
|
- /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
|
|||
|
- instead of "TZ=America/Vancouver" in order to detect the bug even
|
|||
|
- on systems that don't support the Olson extension, or don't have the
|
|||
|
- full zoneinfo tables installed. */
|
|||
|
- putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
|
|||
|
-
|
|||
|
- tm.tm_year = 98;
|
|||
|
- tm.tm_mon = 3;
|
|||
|
- tm.tm_mday = 5;
|
|||
|
- tm.tm_hour = 2;
|
|||
|
- tm.tm_min = 0;
|
|||
|
- tm.tm_sec = 0;
|
|||
|
- tm.tm_isdst = -1;
|
|||
|
- if (mktime (&tm) == (time_t)-1)
|
|||
|
- exit (1);
|
|||
|
-}
|
|||
|
-
|
|||
|
-static void
|
|||
|
-mktime_test (now)
|
|||
|
- time_t now;
|
|||
|
-{
|
|||
|
- struct tm *lt;
|
|||
|
- if ((lt = localtime (&now)) && mktime (lt) != now)
|
|||
|
- exit (1);
|
|||
|
- now = time_t_max - now;
|
|||
|
- if ((lt = localtime (&now)) && mktime (lt) != now)
|
|||
|
- exit (1);
|
|||
|
-}
|
|||
|
-
|
|||
|
-static void
|
|||
|
-irix_6_4_bug ()
|
|||
|
-{
|
|||
|
- /* Based on code from Ariel Faigon. */
|
|||
|
- struct tm tm;
|
|||
|
- tm.tm_year = 96;
|
|||
|
- tm.tm_mon = 3;
|
|||
|
- tm.tm_mday = 0;
|
|||
|
- tm.tm_hour = 0;
|
|||
|
- tm.tm_min = 0;
|
|||
|
- tm.tm_sec = 0;
|
|||
|
- tm.tm_isdst = -1;
|
|||
|
- mktime (&tm);
|
|||
|
- if (tm.tm_mon != 2 || tm.tm_mday != 31)
|
|||
|
- exit (1);
|
|||
|
-}
|
|||
|
-
|
|||
|
-static void
|
|||
|
-bigtime_test (j)
|
|||
|
- int j;
|
|||
|
-{
|
|||
|
- struct tm tm;
|
|||
|
- time_t now;
|
|||
|
- tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
|
|||
|
- now = mktime (&tm);
|
|||
|
- if (now != (time_t) -1)
|
|||
|
- {
|
|||
|
- struct tm *lt = localtime (&now);
|
|||
|
- if (! (lt
|
|||
|
- && lt->tm_year == tm.tm_year
|
|||
|
- && lt->tm_mon == tm.tm_mon
|
|||
|
- && lt->tm_mday == tm.tm_mday
|
|||
|
- && lt->tm_hour == tm.tm_hour
|
|||
|
- && lt->tm_min == tm.tm_min
|
|||
|
- && lt->tm_sec == tm.tm_sec
|
|||
|
- && lt->tm_yday == tm.tm_yday
|
|||
|
- && lt->tm_wday == tm.tm_wday
|
|||
|
- && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
|
|||
|
- == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
|
|||
|
- exit (1);
|
|||
|
- }
|
|||
|
-}
|
|||
|
-
|
|||
|
-int
|
|||
|
-main ()
|
|||
|
-{
|
|||
|
- time_t t, delta;
|
|||
|
- int i, j;
|
|||
|
-
|
|||
|
- /* This test makes some buggy mktime implementations loop.
|
|||
|
- Give up after 60 seconds; a mktime slower than that
|
|||
|
- isn't worth using anyway. */
|
|||
|
- alarm (60);
|
|||
|
-
|
|||
|
- for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
|
|||
|
- continue;
|
|||
|
- time_t_max--;
|
|||
|
- delta = time_t_max / 997; /* a suitable prime number */
|
|||
|
- for (i = 0; i < N_STRINGS; i++)
|
|||
|
- {
|
|||
|
- if (tz_strings[i])
|
|||
|
- putenv (tz_strings[i]);
|
|||
|
-
|
|||
|
- for (t = 0; t <= time_t_max - delta; t += delta)
|
|||
|
- mktime_test (t);
|
|||
|
- mktime_test ((time_t) 60 * 60);
|
|||
|
- mktime_test ((time_t) 60 * 60 * 24);
|
|||
|
-
|
|||
|
- for (j = 1; 0 < j; j *= 2)
|
|||
|
- bigtime_test (j);
|
|||
|
- bigtime_test (j - 1);
|
|||
|
- }
|
|||
|
- irix_6_4_bug ();
|
|||
|
- spring_forward_gap ();
|
|||
|
- exit (0);
|
|||
|
-}],
|
|||
|
-ac_cv_func_working_mktime=yes, ac_cv_func_working_mktime=no,
|
|||
|
-ac_cv_func_working_mktime=no)])
|
|||
|
-if test $ac_cv_func_working_mktime = no; then
|
|||
|
- LIBOBJS="$LIBOBJS mktime.${ac_objext}"
|
|||
|
-fi
|
|||
|
-AC_SUBST(LIBOBJS)dnl
|
|||
|
-])# AC_FUNC_MKTIME
|
|||
|
-
|
|||
|
-# AC_C_VOLATILE
|
|||
|
-# -------------
|
|||
|
-# Note that, unlike const, #defining volatile to be the empty string can
|
|||
|
-# actually turn a correct program into an incorrect one, since removing
|
|||
|
-# uses of volatile actually grants the compiler permission to perform
|
|||
|
-# optimizations that could break the user's code. So, do not #define
|
|||
|
-# volatile away unless it is really necessary to allow the user's code
|
|||
|
-# to compile cleanly. Benign compiler failures should be tolerated.
|
|||
|
-AC_DEFUN(AC_C_VOLATILE,
|
|||
|
-[AC_REQUIRE([AC_PROG_CC_STDC])dnl
|
|||
|
-AC_CACHE_CHECK([for working volatile], ac_cv_c_volatile,
|
|||
|
-[AC_TRY_COMPILE(,[
|
|||
|
-volatile int x;
|
|||
|
-int * volatile y;],
|
|||
|
-ac_cv_c_volatile=yes, ac_cv_c_volatile=no)])
|
|||
|
-if test $ac_cv_c_volatile = no; then
|
|||
|
- AC_DEFINE(volatile,,
|
|||
|
- [Define to empty if the keyword `volatile' does not work.
|
|||
|
- Warning: valid code using `volatile' can become incorrect
|
|||
|
- without. Disable with care.])
|
|||
|
-fi
|
|||
|
-])
|
|||
|
-
|
|||
|
-# AC_C_PROTOTYPES
|
|||
|
-# ---------------
|
|||
|
-# Check if the C compiler supports prototypes, included if it needs
|
|||
|
-# options.
|
|||
|
-AC_DEFUN(AC_C_PROTOTYPES,
|
|||
|
-[AC_REQUIRE([AC_PROG_CC_STDC])dnl
|
|||
|
-AC_REQUIRE([AC_PROG_CPP])dnl
|
|||
|
-AC_MSG_CHECKING([for function prototypes])
|
|||
|
-if test "$ac_cv_prog_cc_stdc" != no; then
|
|||
|
- AC_MSG_RESULT(yes)
|
|||
|
- AC_DEFINE(PROTOTYPES, 1,
|
|||
|
- [Define if the compiler supports function prototypes.])
|
|||
|
-else
|
|||
|
- AC_MSG_RESULT(no)
|
|||
|
-fi
|
|||
|
-])# AC_C_PROTOTYPES
|
|||
|
-
|
|||
|
-dnl The following is a bit different from the prerelease autoconf at
|
|||
|
-dnl this time since that requires extra definitions.
|
|||
|
-
|
|||
|
-dnl By default, many hosts won't let programs access large files;
|
|||
|
-dnl one must use special compiler options to get large-file access to work.
|
|||
|
-dnl For more details about this brain damage please see:
|
|||
|
-dnl http://www.sas.com/standards/large.file/x_open.20Mar96.html
|
|||
|
-
|
|||
|
-dnl Written by Paul Eggert <eggert@twinsun.com>.
|
|||
|
-
|
|||
|
-dnl Internal subroutine of AC_SYS_LARGEFILE.
|
|||
|
-dnl AC_SYS_LARGEFILE_TEST_INCLUDES
|
|||
|
-AC_DEFUN(AC_SYS_LARGEFILE_TEST_INCLUDES,
|
|||
|
- [[#include <sys/types.h>
|
|||
|
- int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
|
|||
|
- ]])
|
|||
|
-
|
|||
|
-dnl Internal subroutine of AC_SYS_LARGEFILE.
|
|||
|
-dnl AC_SYS_LARGEFILE_MACRO_VALUE(C-MACRO, VALUE, CACHE-VAR, COMMENT, INCLUDES, FUNCTION-BODY)
|
|||
|
-AC_DEFUN(AC_SYS_LARGEFILE_MACRO_VALUE,
|
|||
|
- [AC_CACHE_CHECK([for $1 value needed for large files], $3,
|
|||
|
- [$3=no
|
|||
|
- AC_TRY_COMPILE([$5],
|
|||
|
- [$6],
|
|||
|
- ,
|
|||
|
- [AC_TRY_COMPILE([#define $1 $2]
|
|||
|
-[$5]
|
|||
|
- ,
|
|||
|
- [$6],
|
|||
|
- [$3=$2])])])
|
|||
|
- if test "[$]$3" != no; then
|
|||
|
- AC_DEFINE_UNQUOTED([$1], [$]$3, [$4])
|
|||
|
- fi])
|
|||
|
-
|
|||
|
-AC_DEFUN(AC_SYS_LARGEFILE,
|
|||
|
- [AC_REQUIRE([AC_PROG_CC])
|
|||
|
- AC_ARG_ENABLE(largefile,
|
|||
|
- [ --disable-largefile omit support for large files])
|
|||
|
- if test "$enable_largefile" != no; then
|
|||
|
-
|
|||
|
- AC_CACHE_CHECK([for special C compiler options needed for large files],
|
|||
|
- ac_cv_sys_largefile_CC,
|
|||
|
- [ac_cv_sys_largefile_CC=no
|
|||
|
- if test "$GCC" != yes; then
|
|||
|
- # IRIX 6.2 and later do not support large files by default,
|
|||
|
- # so use the C compiler's -n32 option if that helps.
|
|||
|
- AC_TRY_COMPILE(AC_SYS_LARGEFILE_TEST_INCLUDES, , ,
|
|||
|
- [ac_save_CC="$CC"
|
|||
|
- CC="$CC -n32"
|
|||
|
- AC_TRY_COMPILE(AC_SYS_LARGEFILE_TEST_INCLUDES, ,
|
|||
|
- ac_cv_sys_largefile_CC=' -n32')
|
|||
|
- CC="$ac_save_CC"])
|
|||
|
- fi])
|
|||
|
- if test "$ac_cv_sys_largefile_CC" != no; then
|
|||
|
- CC="$CC$ac_cv_sys_largefile_CC"
|
|||
|
- fi
|
|||
|
-
|
|||
|
- AC_SYS_LARGEFILE_MACRO_VALUE(_FILE_OFFSET_BITS, 64,
|
|||
|
- ac_cv_sys_file_offset_bits,
|
|||
|
- [Number of bits in a file offset, on hosts where this is settable.],
|
|||
|
- AC_SYS_LARGEFILE_TEST_INCLUDES)
|
|||
|
- AC_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES, 1,
|
|||
|
- ac_cv_sys_large_files,
|
|||
|
- [Define for large files, on AIX-style hosts.]
|
|||
|
- AC_SYS_LARGEFILE_TEST_INCLUDES)
|
|||
|
- fi
|
|||
|
- ])
|
|||
|
-
|
|||
|
-AC_DEFUN(AC_FUNC_FSEEKO,
|
|||
|
- [AC_SYS_LARGEFILE_MACRO_VALUE(_LARGEFILE_SOURCE, 1,
|
|||
|
- ac_cv_sys_largefile_source,
|
|||
|
- [Define to make fseeko visible on some hosts (e.g. glibc 2.2).],
|
|||
|
- [#include <stdio.h>], [return !fseeko;])
|
|||
|
- # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
|
|||
|
- # in glibc 2.1.3, but that breaks too many other things.
|
|||
|
- # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
|
|||
|
-
|
|||
|
- AC_CACHE_CHECK([for fseeko], ac_cv_func_fseeko,
|
|||
|
- [ac_cv_func_fseeko=no
|
|||
|
- AC_TRY_LINK([#include <stdio.h>],
|
|||
|
- [return fseeko && fseeko (stdin, 0, 0);],
|
|||
|
- [ac_cv_func_fseeko=yes])])
|
|||
|
- if test $ac_cv_func_fseeko != no; then
|
|||
|
- AC_DEFINE(HAVE_FSEEKO, 1,
|
|||
|
- [Define if fseeko (and presumably ftello) exists and is declared.])
|
|||
|
- fi])
|
|||
|
-
|
|||
|
undefine([AC_FUNC_MMAP])dnl
|
|||
|
dnl The autoconf 2.13 version loses on OSF, at least,
|
|||
|
dnl by messing up the declaration of malloc.
|
|||
|
--- configure.in
|
|||
|
+++ configure.in 2003-07-23 18:08:55.000000000 +0200
|
|||
|
@@ -270,15 +270,15 @@
|
|||
|
esac
|
|||
|
;;
|
|||
|
|
|||
|
- alpha*-*-linux-gnu* )
|
|||
|
+ alpha*-*-linux* )
|
|||
|
machine=alpha opsys=gnu-linux
|
|||
|
;;
|
|||
|
|
|||
|
- arm*-*-linux-gnu* )
|
|||
|
+ arm*-*-linux* )
|
|||
|
machine=arm opsys=gnu-linux
|
|||
|
;;
|
|||
|
|
|||
|
- ppc-*-linux | \
|
|||
|
+ ppc-*-linux* | \
|
|||
|
powerpc-*-linux* )
|
|||
|
machine=macppc opsys=gnu-linux
|
|||
|
;;
|
|||
|
@@ -553,6 +553,11 @@
|
|||
|
machine=hp800 opsys=nextstep
|
|||
|
;;
|
|||
|
|
|||
|
+ ## HP 9000 series 700 and 800, running Linux
|
|||
|
+ hppa*-*-linux* )
|
|||
|
+ machine=hp800 opsys=gnu-linux
|
|||
|
+ ;;
|
|||
|
+
|
|||
|
## Orion machines
|
|||
|
orion-orion-bsd* )
|
|||
|
machine=orion opsys=bsd4-2
|
|||
|
@@ -571,7 +576,7 @@
|
|||
|
i370-ibm-aix*)
|
|||
|
machine=ibm370aix opsys=usg5-3
|
|||
|
;;
|
|||
|
- s390-*-linux-gnu)
|
|||
|
+ s390-*-linux*)
|
|||
|
machine=ibms390 opsys=gnu-linux
|
|||
|
;;
|
|||
|
rs6000-ibm-aix3.1* | powerpc-ibm-aix3.1* )
|
|||
|
@@ -680,7 +685,7 @@
|
|||
|
;;
|
|||
|
|
|||
|
## Macintosh PowerPC
|
|||
|
- powerpc*-*-linux-gnu* )
|
|||
|
+ powerpc*-*-linux* )
|
|||
|
machine=macppc opsys=gnu-linux
|
|||
|
;;
|
|||
|
|
|||
|
@@ -856,7 +861,7 @@
|
|||
|
;;
|
|||
|
|
|||
|
## Suns
|
|||
|
- sparc-*-linux-gnu* | sparc64-*-linux-gnu* )
|
|||
|
+ sparc-*-linux* | sparc64-*-linux* )
|
|||
|
machine=sparc opsys=gnu-linux
|
|||
|
;;
|
|||
|
|
|||
|
@@ -1028,7 +1033,7 @@
|
|||
|
*-esix5* ) opsys=esix5r4; NON_GNU_CPP=/usr/lib/cpp ;;
|
|||
|
*-esix* ) opsys=esix ;;
|
|||
|
*-xenix* ) opsys=xenix ;;
|
|||
|
- *-linux-gnu* ) opsys=gnu-linux ;;
|
|||
|
+ *-linux* ) opsys=gnu-linux ;;
|
|||
|
*-sco3.2v4* ) opsys=sco4 ; NON_GNU_CPP=/lib/cpp ;;
|
|||
|
*-sco3.2v5* ) opsys=sco5
|
|||
|
NON_GNU_CPP=/lib/cpp
|
|||
|
@@ -1045,12 +1050,12 @@
|
|||
|
;;
|
|||
|
|
|||
|
## m68k Linux-based GNU system
|
|||
|
- m68k-*-linux-gnu* )
|
|||
|
+ m68k-*-linux* )
|
|||
|
machine=m68k opsys=gnu-linux
|
|||
|
;;
|
|||
|
|
|||
|
## Mips Linux-based GNU system
|
|||
|
- mips-*-linux-gnu* | mipsel-*-linux-gnu* )
|
|||
|
+ mips-*-linux* | mipsel-*-linux* )
|
|||
|
machine=mips opsys=gnu-linux
|
|||
|
;;
|
|||
|
|
|||
|
--- etc/MACHINES
|
|||
|
+++ etc/MACHINES 2003-07-23 18:08:55.000000000 +0200
|
|||
|
@@ -68,7 +68,7 @@
|
|||
|
|
|||
|
Known to work with 19.26 and OS version 2.2, compiler version 1.3.
|
|||
|
|
|||
|
-Alpha (DEC) running OSF/1 or GNU/Linux (alpha-dec-osf1, alpha-dec-linux-gnu)
|
|||
|
+Alpha (DEC) running OSF/1 or Linux (alpha-dec-osf1, alpha-dec-linux)
|
|||
|
|
|||
|
For OSF/1 (aka Digital Unix) version 4.0, update 386,
|
|||
|
it is reported that you need to run configure this way:
|
|||
|
@@ -635,7 +635,7 @@
|
|||
|
indicates the Umax operating system).
|
|||
|
|
|||
|
Intel 386 (i386-*-isc, i386-*-esix, i386-*-bsdi2,
|
|||
|
- i386-*-xenix, i386-*-freebsd, i386-*-linux-gnu,
|
|||
|
+ i386-*-xenix, i386-*-freebsd, i386-*-linux,
|
|||
|
i386-*-sol2.4, i386-*-sysv3, i386-intsys-sysv,
|
|||
|
i386-*-sysv4, i386-*-sysv4.2,
|
|||
|
i386-*-sysv5.3, i386-*-bsd4.2,
|
|||
|
@@ -651,7 +651,7 @@
|
|||
|
version number - for example, if you're running ISC 3.0, use
|
|||
|
i386-unknown-isc3.0 as your configuration name.
|
|||
|
Use i386-*-esix for Esix; Emacs runs as of version 19.6.
|
|||
|
- Use i386-*-linux-gnu for GNU/Linux systems; Emacs runs as of version 19.26.
|
|||
|
+ Use i386-*-linux for GNU/Linux systems; Emacs runs as of version 19.26.
|
|||
|
Use i386-intsys-sysv for Integrated Solutions 386 machines.
|
|||
|
It may also be correct for Microport systems.
|
|||
|
Use i386-*-sco3.2v4 for SCO 3.2v4; Emacs runs as of version 19.26.
|
|||
|
--- etc/TUTORIAL.pl
|
|||
|
+++ etc/TUTORIAL.pl 2003-07-23 18:08:55.000000000 +0200
|
|||
|
@@ -1183,6 +1183,6 @@
|
|||
|
oprogramowaniem.
|
|||
|
|
|||
|
;;; Local Variables:
|
|||
|
-;;; mode: fundamental
|
|||
|
-;;; coding: latin-2
|
|||
|
+;;; mode: fundamental
|
|||
|
+;;; coding: latin-2
|
|||
|
;;; End:
|
|||
|
--- etc/etags.1
|
|||
|
+++ etc/etags.1 2003-07-23 18:08:55.000000000 +0200
|
|||
|
@@ -8,7 +8,7 @@
|
|||
|
..
|
|||
|
|
|||
|
.SH NAME
|
|||
|
-etags, ctags \- generate tag file for Emacs, vi
|
|||
|
+etags, gnuctags \- generate tag file for Emacs, vi
|
|||
|
.SH SYNOPSIS
|
|||
|
.hy 0
|
|||
|
.na
|
|||
|
@@ -25,7 +25,7 @@
|
|||
|
[\|\-\-help\|] [\|\-\-version\|]
|
|||
|
\fIfile\fP .\|.\|.
|
|||
|
|
|||
|
-\fBctags\fP [\|\-aCdgImRVh\|] [\|\-BtTuvwx\|] [\|\-l \fIlanguage\fP\|]
|
|||
|
+\fBgnuctags\fP [\|\-aCdgImRVh\|] [\|\-BtTuvwx\|] [\|\-l \fIlanguage\fP\|]
|
|||
|
.if n .br
|
|||
|
[\|\-o \fItagfile\fP\|] [\|\-r \fIregexp\fP\|]
|
|||
|
.br
|
|||
|
@@ -45,7 +45,7 @@
|
|||
|
The \|\fBetags\fP\| program is used to create a tag table file, in a format
|
|||
|
understood by
|
|||
|
.BR emacs ( 1 )\c
|
|||
|
-\&; the \|\fBctags\fP\| program is used to create a similar table in a
|
|||
|
+\&; the \|\fBgnuctags\fP\| program is used to create a similar table in a
|
|||
|
format understood by
|
|||
|
.BR vi ( 1 )\c
|
|||
|
\&. Both forms of the program understand
|
|||
|
@@ -55,7 +55,7 @@
|
|||
|
most assembler\-like syntaxes.
|
|||
|
Both forms read the files specified on the command line, and write a tag
|
|||
|
table (defaults: \fBTAGS\fP for \fBetags\fP, \fBtags\fP for
|
|||
|
-\fBctags\fP) in the current working directory.
|
|||
|
+\fBgnuctags\fP) in the current working directory.
|
|||
|
Files specified with relative file names will be recorded in the tag
|
|||
|
table with file names relative to the directory where the tag table
|
|||
|
resides. Files specified with absolute file names will be recorded
|
|||
|
@@ -66,7 +66,7 @@
|
|||
|
language, overriding guesses based on filename extensions.
|
|||
|
.SH OPTIONS
|
|||
|
Some options make sense only for the \fBvi\fP style tag files produced
|
|||
|
-by ctags;
|
|||
|
+by gnuctags;
|
|||
|
\fBetags\fP does not recognize them.
|
|||
|
The programs accept unambiguous abbreviations for long option names.
|
|||
|
.TP
|
|||
|
@@ -80,7 +80,7 @@
|
|||
|
the delimiter `\|\fB?\fP\|', to search \fIbackwards\fP through files.
|
|||
|
The default is to use the delimiter `\|\fB/\fP\|', to search \fIforwards\fP
|
|||
|
through files.
|
|||
|
-Only \fBctags\fP accepts this option.
|
|||
|
+Only \fBgnuctags\fP accepts this option.
|
|||
|
.TP
|
|||
|
.B \-\-declarations
|
|||
|
In C and derived languages, create tags for function declarations,
|
|||
|
@@ -95,7 +95,7 @@
|
|||
|
Do not create tag entries for C preprocessor constant definitions
|
|||
|
and enum constants.
|
|||
|
This may make the tags file much smaller if many header files are tagged.
|
|||
|
-This is the default behavior for \fBctags\fP.
|
|||
|
+This is the default behavior for \fBgnuctags\fP.
|
|||
|
.TP
|
|||
|
.B \-g, \-\-globals
|
|||
|
Create tag entries for global variables in C, C++, Objective C, Java,
|
|||
|
@@ -104,7 +104,7 @@
|
|||
|
.TP
|
|||
|
.B \-G, \-\-no\-globals
|
|||
|
Do not tag global variables. Typically this reduces the file size by
|
|||
|
-one fourth. This is the default behavior for \fBctags\fP.
|
|||
|
+one fourth. This is the default behavior for \fBgnuctags\fP.
|
|||
|
.TP
|
|||
|
\fB\-i\fP \fIfile\fP, \fB\-\-include=\fIfile\fP
|
|||
|
Include a note in the tag file indicating that, when searching for a
|
|||
|
@@ -157,7 +157,7 @@
|
|||
|
It should not match useless characters. If the match is
|
|||
|
such that more characters than needed are unavoidably matched by
|
|||
|
\fItagregexp\fP, it may be useful to add a \fInameregexp\fP, to
|
|||
|
-narrow down the tag scope. \fBctags\fP ignores regexps without a
|
|||
|
+narrow down the tag scope. \fBgnuctags\fP ignores regexps without a
|
|||
|
\fInameregexp\fP. The syntax of regexps is the same as in emacs,
|
|||
|
augmented with intervals of the form \\{m,n\\}, as in \fBed\fP or
|
|||
|
\fBgrep\fP.
|
|||
|
@@ -205,12 +205,12 @@
|
|||
|
.TP
|
|||
|
.B \-t, \-\-typedefs
|
|||
|
Record typedefs in C code as tags. Since this is the default behaviour
|
|||
|
-of \fBetags\fP, only \fBctags\fP accepts this option.
|
|||
|
+of \fBetags\fP, only \fBgnuctags\fP accepts this option.
|
|||
|
.TP
|
|||
|
.B \-T, \-\-typedefs\-and\-c++
|
|||
|
Generate tag entries for typedefs, struct, enum, and union tags, and
|
|||
|
C++ member functions. Since this is the default behaviour
|
|||
|
-of \fBetags\fP, only \fBctags\fP accepts this option.
|
|||
|
+of \fBetags\fP, only \fBgnuctags\fP accepts this option.
|
|||
|
.TP
|
|||
|
.B \-u, \-\-update
|
|||
|
Update tag entries for \fIfiles\fP specified on command line, leaving
|
|||
|
@@ -218,11 +218,11 @@
|
|||
|
by deleting the existing entries for the given files and then
|
|||
|
rewriting the new entries at the end of the tags file. It is often
|
|||
|
faster to simply rebuild the entire tag file than to use this.
|
|||
|
-Only \fBctags\fP accepts this option.
|
|||
|
+Only \fBgnuctags\fP accepts this option.
|
|||
|
.TP
|
|||
|
.B \-v, \-\-vgrind
|
|||
|
Instead of generating a tag file, write index (in \fBvgrind\fP format)
|
|||
|
-to standard output. Only \fBctags\fP accepts this option.
|
|||
|
+to standard output. Only \fBgnuctags\fP accepts this option.
|
|||
|
.TP
|
|||
|
.B \-w, \-\-no\-warn
|
|||
|
Suppress warning messages about duplicate entries. The \fBetags\fP
|
|||
|
@@ -231,7 +231,7 @@
|
|||
|
.TP
|
|||
|
.B \-x, \-\-cxref
|
|||
|
Instead of generating a tag file, write a cross reference (in
|
|||
|
-\fBcxref\fP format) to standard output. Only \fBctags\fP accepts this option.
|
|||
|
+\fBcxref\fP format) to standard output. Only \fBgnuctags\fP accepts this option.
|
|||
|
.TP
|
|||
|
.B \-h, \-H, \-\-help
|
|||
|
Print usage information.
|
|||
|
--- lib-src/Makefile.in
|
|||
|
+++ lib-src/Makefile.in 2003-07-23 18:08:55.000000000 +0200
|
|||
|
@@ -92,7 +92,7 @@
|
|||
|
|
|||
|
# Things that a user might actually run,
|
|||
|
# which should be installed in bindir.
|
|||
|
-INSTALLABLES = etags ctags emacsclient b2m ebrowse
|
|||
|
+INSTALLABLES = emacsclient b2m ebrowse
|
|||
|
INSTALLABLE_SCRIPTS = rcs-checkin grep-changelog
|
|||
|
|
|||
|
# Things that Emacs runs internally, or during the build process,
|
|||
|
@@ -384,8 +384,8 @@
|
|||
|
|
|||
|
/* We depend on etags to assure that parallel makes don't write two
|
|||
|
etags.o files on top of each other. */
|
|||
|
-ctags: etags
|
|||
|
- $(CC) ${ETAGS_CFLAGS} -DCTAGS -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXPOBJ) $(LOADLIBES) -o ctags
|
|||
|
+gnuctags: etags
|
|||
|
+ $(CC) ${ETAGS_CFLAGS} -DCTAGS -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXPOBJ) $(LOADLIBES) -o gnuctags
|
|||
|
|
|||
|
profile: ${srcdir}/profile.c ../src/config.h
|
|||
|
$(CC) ${ALL_CFLAGS} ${srcdir}/profile.c $(LOADLIBES) -o profile
|
|||
|
--- lib-src/vcdiff
|
|||
|
+++ lib-src/vcdiff 2003-07-23 18:08:55.000000000 +0200
|
|||
|
@@ -76,6 +76,17 @@
|
|||
|
|
|||
|
|
|||
|
rev1= rev2= status=0
|
|||
|
+rev1=/tmp/geta$$
|
|||
|
+rev2=/tmp/getb$$
|
|||
|
+rm -f $rev1 $rev2
|
|||
|
+if test -e $rev1 -o -e $rev2 ; then
|
|||
|
+ echo "$0: temporaray files exists." 1>&2
|
|||
|
+ exit 1
|
|||
|
+fi
|
|||
|
+if test -n "`type -p mktemp`" ; then
|
|||
|
+ rev1="`mktemp ${rev1}.XXXXXX`" || exit 1
|
|||
|
+ rev2="`mktemp ${rev2}.XXXXXX`" || exit 1
|
|||
|
+fi
|
|||
|
trap 'status=2; exit' 1 2 13 15
|
|||
|
trap 'rm -f $rev1 $rev2 || status=2; exit $status' 0
|
|||
|
|
|||
|
@@ -86,14 +97,12 @@
|
|||
|
case $f in
|
|||
|
s.* | */s.*)
|
|||
|
if
|
|||
|
- rev1=/tmp/geta$$
|
|||
|
get -s -p -k $sid1 "$f" > $rev1 &&
|
|||
|
case $sid2 in
|
|||
|
'')
|
|||
|
workfile=`expr " /$f" : '.*/s.\(.*\)'`
|
|||
|
;;
|
|||
|
*)
|
|||
|
- rev2=/tmp/getb$$
|
|||
|
get -s -p -k $sid2 "$f" > $rev2
|
|||
|
workfile=$rev2
|
|||
|
esac
|
|||
|
--- lisp/bookmark.el
|
|||
|
+++ lisp/bookmark.el 2003-07-23 18:08:55.000000000 +0200
|
|||
|
@@ -1878,7 +1878,10 @@
|
|||
|
(defun bookmark-bmenu-other-window ()
|
|||
|
"Select this line's bookmark in other window, leaving bookmark menu visible."
|
|||
|
(interactive)
|
|||
|
- (let ((bookmark (bookmark-bmenu-bookmark)))
|
|||
|
+ (let ((bookmark (bookmark-bmenu-bookmark))
|
|||
|
+ (pop-up-windows t)
|
|||
|
+ same-window-buffer-names
|
|||
|
+ same-window-regexps)
|
|||
|
(if (bookmark-bmenu-check-position)
|
|||
|
(let* ((pair (bookmark-jump-noselect bookmark))
|
|||
|
(buff (car pair))
|
|||
|
--- lisp/cmuscheme.el
|
|||
|
+++ lisp/cmuscheme.el 2003-07-23 18:08:55.000000000 +0200
|
|||
|
@@ -244,7 +244,8 @@
|
|||
|
(read-string "Run Scheme: " scheme-program-name)
|
|||
|
scheme-program-name)))
|
|||
|
(if (not (comint-check-proc "*scheme*"))
|
|||
|
- (let ((cmdlist (scheme-args-to-list cmd)))
|
|||
|
+ (let ((cmdlist (scheme-args-to-list cmd))
|
|||
|
+ process-connection-type)
|
|||
|
(set-buffer (apply 'make-comint "scheme" (car cmdlist)
|
|||
|
nil (cdr cmdlist)))
|
|||
|
(inferior-scheme-mode)))
|
|||
|
--- lisp/dired.el
|
|||
|
+++ lisp/dired.el 2003-07-23 18:08:55.000000000 +0200
|
|||
|
@@ -62,7 +62,7 @@
|
|||
|
|
|||
|
;;;###autoload
|
|||
|
(defvar dired-chown-program
|
|||
|
- (if (memq system-type '(hpux dgux usg-unix-v irix linux gnu/linux))
|
|||
|
+ (if (memq system-type '(hpux dgux usg-unix-v irix gnu/linux linux lignux))
|
|||
|
"chown"
|
|||
|
(if (file-exists-p "/usr/sbin/chown")
|
|||
|
"/usr/sbin/chown"
|
|||
|
--- lisp/help.el
|
|||
|
+++ lisp/help.el 2003-07-23 18:08:55.000000000 +0200
|
|||
|
@@ -35,6 +35,9 @@
|
|||
|
(eval-when-compile (require 'help-macro))
|
|||
|
(eval-when-compile (require 'view))
|
|||
|
|
|||
|
+(defvar help-mode-hook nil
|
|||
|
+ "Normal hook run when entering Help mode.")
|
|||
|
+
|
|||
|
(defvar help-map (make-sparse-keymap)
|
|||
|
"Keymap for characters following the Help key.")
|
|||
|
|
|||
|
--- lisp/loaddefs.el
|
|||
|
+++ lisp/loaddefs.el 2003-07-23 18:08:55.000000000 +0200
|
|||
|
@@ -4712,7 +4712,7 @@
|
|||
|
may contain even `F', `b', `i' and `s'. See also the variable
|
|||
|
`dired-ls-F-marks-symlinks' concerning the `F' switch.")
|
|||
|
|
|||
|
-(defvar dired-chown-program (if (memq system-type (quote (hpux dgux usg-unix-v irix linux gnu/linux))) "chown" (if (file-exists-p "/usr/sbin/chown") "/usr/sbin/chown" "/etc/chown")) "\
|
|||
|
+(defvar dired-chown-program (if (memq system-type (quote (hpux dgux usg-unix-v irix gnu/linux linux lignux))) "chown" (if (file-exists-p "/usr/sbin/chown") "/usr/sbin/chown" "/etc/chown")) "\
|
|||
|
Name of chown command (usually `chown' or `/etc/chown').")
|
|||
|
|
|||
|
(defvar dired-ls-F-marks-symlinks nil "\
|
|||
|
--- lisp/ps-print.el
|
|||
|
+++ lisp/ps-print.el 2003-07-23 18:08:55.000000000 +0200
|
|||
|
@@ -3601,7 +3601,8 @@
|
|||
|
(t 'emacs)))
|
|||
|
|
|||
|
(if (memq ps-print-emacs-type '(lucid xemacs))
|
|||
|
- (if (< emacs-minor-version 12)
|
|||
|
+ (if (and (= emacs-major-version 19)
|
|||
|
+ (< emacs-minor-version 12))
|
|||
|
(setq ps-print-color-p nil))
|
|||
|
(require 'faces)) ; face-font, face-underline-p,
|
|||
|
; x-font-regexp
|
|||
|
@@ -3611,7 +3612,8 @@
|
|||
|
;; can handle colors.
|
|||
|
;; This function is not yet implemented for GNU emacs.
|
|||
|
(cond ((and (eq ps-print-emacs-type 'xemacs)
|
|||
|
- (>= emacs-minor-version 12)) ; xemacs
|
|||
|
+ (or (> emacs-major-version 19)
|
|||
|
+ (>= emacs-minor-version 12))) ; xemacs
|
|||
|
(defun ps-color-device ()
|
|||
|
(eq (ps-x-device-class) 'color)))
|
|||
|
|
|||
|
--- lisp/server.el
|
|||
|
+++ lisp/server.el 2003-07-23 18:08:56.000000000 +0200
|
|||
|
@@ -441,7 +441,8 @@
|
|||
|
buffer-file-name
|
|||
|
(y-or-n-p (concat "Save file " buffer-file-name "? ")))
|
|||
|
(save-buffer buffer)))
|
|||
|
- (server-buffer-done buffer)))))
|
|||
|
+ (server-buffer-done buffer (server-temp-file-p buffer))))))
|
|||
|
+
|
|||
|
|
|||
|
;; Ask before killing a server buffer.
|
|||
|
;; It was suggested to release its client instead,
|
|||
|
--- lisp/site-load.el
|
|||
|
+++ lisp/site-load.el 2003-07-23 18:08:56.000000000 +0200
|
|||
|
@@ -0,0 +1,79 @@
|
|||
|
+;;;;
|
|||
|
+;;; emacs20.xx/lisp/site-load.el
|
|||
|
+;;; Copyright (c) 1995,96,98,99 SuSE Gmbh Nuernberg, Germany. All rights reserved.
|
|||
|
+;;;
|
|||
|
+;;; Autor: Werner Fink <werner@suse.de>, No warranty of any kind
|
|||
|
+;;;;
|
|||
|
+;; CONFIGURATION (under bash):
|
|||
|
+;; (export CC=gcc; \
|
|||
|
+;; export CFLAGS="-O2 $(arch dependent flags) -pipe \
|
|||
|
+;; -DSYSTEM_PURESIZE_EXTRA=25000 -DSITELOAD_PURESIZE_EXTRA=10000" ; \
|
|||
|
+;; ./configure $(arch)-suse-linux --with-x --with-x-toolkit=lucid \
|
|||
|
+;; --with-gcc --with-pop --with-system-malloc --prefix=/usr \
|
|||
|
+;; --exec-prefix=/usr \
|
|||
|
+;; --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib )
|
|||
|
+;;
|
|||
|
+;; include bug fixes you have
|
|||
|
+;;
|
|||
|
+;; MAKE:
|
|||
|
+;; make LDFLAGS=-s CC=gcc CFLAGS="-O2 $(arch dependent flags) -pipe \
|
|||
|
+;; -DSYSTEM_PURESIZE_EXTRA=25000 -DSITELOAD_PURESIZE_EXTRA=10000"
|
|||
|
+;;
|
|||
|
+;; DOC:
|
|||
|
+;; lisp/emacs-lisp/backquote.elc lisp/disp-table.elc lisp/delsel.elc
|
|||
|
+;; lisp/lpr.elc added to src/Makefile.in for DOCumentation
|
|||
|
+;;
|
|||
|
+;;;;
|
|||
|
+(garbage-collect)
|
|||
|
+
|
|||
|
+(if (fboundp 'delete-frame)
|
|||
|
+ (progn
|
|||
|
+ (garbage-collect) ; Erg"anzt
|
|||
|
+ (load "emacs-lisp/backquote"); Erg"anzt
|
|||
|
+ ))
|
|||
|
+
|
|||
|
+(garbage-collect)
|
|||
|
+
|
|||
|
+(load "delsel") ; Erg"anzt
|
|||
|
+(garbage-collect) ; Erg"anzt
|
|||
|
+(load "disp-table"); Erg"anzt
|
|||
|
+(garbage-collect) ; Erg"anzt
|
|||
|
+(load "lpr") ; Erg"anzt
|
|||
|
+; Apsfilter setzt den Kopf, apsfilter is setting the header
|
|||
|
+(setq lpr-headers-switches (list "-h"))
|
|||
|
+(setq lpr-add-switches t)
|
|||
|
+
|
|||
|
+;; Scrollbar was always on the `right' side
|
|||
|
+(custom-set-variables '(scroll-bar-mode (quote right)))
|
|||
|
+
|
|||
|
+(garbage-collect)
|
|||
|
+;; Nur innerhalb von term/funct-keys.el im `site-lisp'-Pfad
|
|||
|
+;; voll wirksam
|
|||
|
+;(standard-display-european 1)
|
|||
|
+;(set-input-mode (car (current-input-mode))
|
|||
|
+; (nth 1 (current-input-mode))
|
|||
|
+; 0
|
|||
|
+; (nth 3 (current-input-mode)))
|
|||
|
+;
|
|||
|
+(garbage-collect)
|
|||
|
+
|
|||
|
+(transient-mark-mode 1)
|
|||
|
+;; Overwrite `load delsel'
|
|||
|
+;; Choose `t' in your ~/.emacs
|
|||
|
+(delete-selection-mode nil)
|
|||
|
+(custom-set-variables '(delete-selection-mode nil))
|
|||
|
+(setq mark-even-if-inactive t)
|
|||
|
+
|
|||
|
+(garbage-collect)
|
|||
|
+
|
|||
|
+(setq news-inews-program "/usr/lib/news/inews")
|
|||
|
+(setq gnus-default-nntp-server "news")
|
|||
|
+(defvar gnus-local-domain nil)
|
|||
|
+
|
|||
|
+(garbage-collect)
|
|||
|
+(garbage-collect)
|
|||
|
+(garbage-collect)
|
|||
|
+(garbage-collect)
|
|||
|
+(garbage-collect)
|
|||
|
+
|
|||
|
+;;; site-load.el ends here
|
|||
|
--- lisp/speedbar.el
|
|||
|
+++ lisp/speedbar.el 2003-07-23 18:08:56.000000000 +0200
|
|||
|
@@ -785,6 +785,7 @@
|
|||
|
|
|||
|
;; navigation
|
|||
|
(define-key speedbar-key-map "n" 'speedbar-next)
|
|||
|
+ (define-key speedbar-key-map [tab] 'speedbar-next)
|
|||
|
(define-key speedbar-key-map "p" 'speedbar-prev)
|
|||
|
(define-key speedbar-key-map "\M-n" 'speedbar-restricted-next)
|
|||
|
(define-key speedbar-key-map "\M-p" 'speedbar-restricted-prev)
|
|||
|
--- lisp/international/mule-cmds.el
|
|||
|
+++ lisp/international/mule-cmds.el 2003-07-23 18:08:56.000000000 +0200
|
|||
|
@@ -37,6 +37,7 @@
|
|||
|
;; Keep "C-x C-m ..." for mule specific commands.
|
|||
|
(define-key ctl-x-map "\C-m" mule-keymap)
|
|||
|
|
|||
|
+(define-key mule-keymap "m" 'toggle-enable-multibyte-characters)
|
|||
|
(define-key mule-keymap "f" 'set-buffer-file-coding-system)
|
|||
|
(define-key mule-keymap "t" 'set-terminal-coding-system)
|
|||
|
(define-key mule-keymap "k" 'set-keyboard-coding-system)
|
|||
|
--- lisp/mail/rmailsum.el
|
|||
|
+++ lisp/mail/rmailsum.el 2003-07-23 18:08:56.000000000 +0200
|
|||
|
@@ -363,6 +363,10 @@
|
|||
|
:group 'rmail-retrieve
|
|||
|
:version "21.1")
|
|||
|
|
|||
|
+(defvar rmail-summary-full-name nil
|
|||
|
+ "*If non-nil, use full names instead of addresses in the Rmail summary.")
|
|||
|
+
|
|||
|
+
|
|||
|
(defun rmail-make-basic-summary-line ()
|
|||
|
(goto-char (point-min))
|
|||
|
(concat (save-excursion
|
|||
|
@@ -398,19 +402,39 @@
|
|||
|
(save-excursion
|
|||
|
(if (not (re-search-forward "^From:[ \t]*" nil t))
|
|||
|
" "
|
|||
|
- (let* ((from (mail-strip-quoted-names
|
|||
|
- (buffer-substring
|
|||
|
- (1- (point))
|
|||
|
- ;; Get all the lines of the From field
|
|||
|
- ;; so that we get a whole comment if there is one,
|
|||
|
- ;; so that mail-strip-quoted-names can discard it.
|
|||
|
- (let ((opoint (point)))
|
|||
|
- (while (progn (forward-line 1)
|
|||
|
- (looking-at "[ \t]")))
|
|||
|
- ;; Back up over newline, then trailing spaces or tabs
|
|||
|
- (forward-char -1)
|
|||
|
- (skip-chars-backward " \t")
|
|||
|
- (point)))))
|
|||
|
+;; (let* ((from (mail-strip-quoted-names
|
|||
|
+;; (buffer-substring
|
|||
|
+;; (1- (point))
|
|||
|
+;; ;; Get all the lines of the From field
|
|||
|
+;; ;; so that we get a whole comment if there is one,
|
|||
|
+;; ;; so that mail-strip-quoted-names can discard it.
|
|||
|
+;; (let ((opoint (point)))
|
|||
|
+;; (while (progn (forward-line 1)
|
|||
|
+;; (looking-at "[ \t]")))
|
|||
|
+;; ;; Back up over newline, then trailing spaces or tabs
|
|||
|
+;; (forward-char -1)
|
|||
|
+;; (skip-chars-backward " \t")
|
|||
|
+;; (point)))))
|
|||
|
+ (let* ((from (buffer-substring
|
|||
|
+ (1- (point))
|
|||
|
+ ;; Get all the lines of the From field
|
|||
|
+ ;; so that we get a whole comment if there is one,
|
|||
|
+ ;; so that mail-strip-quoted-names can discard it.
|
|||
|
+ (let ((opoint (point)))
|
|||
|
+ (while (progn (forward-line 1)
|
|||
|
+ (looking-at "[ \t]")))
|
|||
|
+ ;; Back up over newline, then trailing spaces or tabs
|
|||
|
+ (forward-char -1)
|
|||
|
+ (skip-chars-backward " \t")
|
|||
|
+ (point))))
|
|||
|
+ (components (if rmail-summary-full-name
|
|||
|
+ (mail-extract-address-components from)))
|
|||
|
+ (address (if components
|
|||
|
+ (car (cdr components))
|
|||
|
+ (mail-strip-quoted-names from)))
|
|||
|
+ (full-name (if components
|
|||
|
+ (car components)))
|
|||
|
+ (sender (or full-name address))
|
|||
|
len mch lo)
|
|||
|
(if (string-match
|
|||
|
(or rmail-user-mail-address-regexp
|
|||
|
--- lisp/mail/supercite.el
|
|||
|
+++ lisp/mail/supercite.el 2003-07-23 18:08:56.000000000 +0200
|
|||
|
@@ -1266,8 +1266,10 @@
|
|||
|
(setq attribution attrib
|
|||
|
attriblist nil))
|
|||
|
((listp attrib)
|
|||
|
- (setq attribution (eval attrib)
|
|||
|
- attriblist nil))
|
|||
|
+ (setq attribution (eval attrib))
|
|||
|
+ (if attribution
|
|||
|
+ (setq attriblist nil)
|
|||
|
+ (setq attriblist (cdr attriblist))))
|
|||
|
(t (error "%s did not evaluate to a string or list!"
|
|||
|
"sc-attrib-selection-list"))
|
|||
|
)))
|
|||
|
--- lisp/net/ange-ftp.el
|
|||
|
+++ lisp/net/ange-ftp.el 2003-07-23 18:08:56.000000000 +0200
|
|||
|
@@ -4759,7 +4759,7 @@
|
|||
|
; "If a host matches this regexp then it is assumed to be running VOS.")
|
|||
|
;
|
|||
|
;(defun ange-ftp-vos-host (host)
|
|||
|
-; (and ange-ftp-vos-host-regexp
|
|||
|
+; (and host ange-ftp-vos-host-regexp
|
|||
|
; (save-match-data
|
|||
|
; (string-match ange-ftp-vos-host-regexp host))))
|
|||
|
;
|
|||
|
@@ -4877,7 +4877,7 @@
|
|||
|
|
|||
|
;; Return non-nil if HOST is running VMS.
|
|||
|
(defun ange-ftp-vms-host (host)
|
|||
|
- (and ange-ftp-vms-host-regexp
|
|||
|
+ (and host ange-ftp-vms-host-regexp
|
|||
|
(save-match-data
|
|||
|
(string-match ange-ftp-vms-host-regexp host))))
|
|||
|
|
|||
|
@@ -5404,7 +5404,7 @@
|
|||
|
|
|||
|
;; Return non-nil if HOST is running MTS.
|
|||
|
(defun ange-ftp-mts-host (host)
|
|||
|
- (and ange-ftp-mts-host-regexp
|
|||
|
+ (and host ange-ftp-mts-host-regexp
|
|||
|
(save-match-data
|
|||
|
(string-match ange-ftp-mts-host-regexp host))))
|
|||
|
|
|||
|
@@ -5607,7 +5607,7 @@
|
|||
|
|
|||
|
;; Return non-nil if HOST is running CMS.
|
|||
|
(defun ange-ftp-cms-host (host)
|
|||
|
- (and ange-ftp-cms-host-regexp
|
|||
|
+ (and host ange-ftp-cms-host-regexp
|
|||
|
(save-match-data
|
|||
|
(string-match ange-ftp-cms-host-regexp host))))
|
|||
|
|
|||
|
--- lisp/obsolete/uncompress.el
|
|||
|
+++ lisp/obsolete/uncompress.el 2003-07-23 18:08:56.000000000 +0200
|
|||
|
@@ -73,12 +73,7 @@
|
|||
|
(set-visited-file-name
|
|||
|
(concat (substring buffer-file-name 0 (match-beginning 0)) ".tar")))))
|
|||
|
(message "Uncompressing...")
|
|||
|
- (let ((buffer-read-only nil)
|
|||
|
- (coding-system-for-write 'no-conversion)
|
|||
|
- (coding-system-for-read
|
|||
|
- (car (find-operation-coding-system
|
|||
|
- 'insert-file-contents
|
|||
|
- buffer-file-name t))))
|
|||
|
+ (let ((buffer-read-only nil))
|
|||
|
(shell-command-on-region (point-min) (point-max) uncompress-program t))
|
|||
|
(goto-char (point-min))
|
|||
|
(message "Uncompressing...done")
|
|||
|
@@ -105,9 +100,7 @@
|
|||
|
(progn
|
|||
|
(insert-file-contents buffer-file-name t)
|
|||
|
(goto-char (point-min))
|
|||
|
- ;; No need for this, because error won't be set to t
|
|||
|
- ;; if this function returns t.
|
|||
|
- ;; (setq error nil)
|
|||
|
+ (setq error nil)
|
|||
|
t))))
|
|||
|
|
|||
|
(provide 'uncompress)
|
|||
|
--- lisp/textmodes/ispell.el
|
|||
|
+++ lisp/textmodes/ispell.el 2003-07-23 18:08:56.000000000 +0200
|
|||
|
@@ -494,7 +494,7 @@
|
|||
|
|
|||
|
;;; First part of dictionary, shortened for loaddefs.el
|
|||
|
;;;###autoload
|
|||
|
-(setq
|
|||
|
+(defvar
|
|||
|
ispell-dictionary-alist-1
|
|||
|
'((nil ; default (English.aff)
|
|||
|
"[A-Za-z]" "[^A-Za-z]" "[']" nil ("-B") nil iso-8859-1)
|
|||
|
@@ -518,7 +518,7 @@
|
|||
|
|
|||
|
;;; Second part of dictionary, shortened for loaddefs.el
|
|||
|
;;;###autoload
|
|||
|
-(setq
|
|||
|
+(defvar
|
|||
|
ispell-dictionary-alist-2
|
|||
|
'(("czech"
|
|||
|
"[A-Za-z\301\311\314\315\323\332\331\335\256\251\310\330\317\253\322\341\351\354\355\363\372\371\375\276\271\350\370\357\273\362]"
|
|||
|
@@ -539,7 +539,7 @@
|
|||
|
|
|||
|
;;; Third part of dictionary, shortened for loaddefs.el
|
|||
|
;;;###autoload
|
|||
|
-(setq
|
|||
|
+(defvar
|
|||
|
ispell-dictionary-alist-3
|
|||
|
'(("esperanto"
|
|||
|
"[A-Za-z\246\254\266\274\306\330\335\336\346\370\375\376]"
|
|||
|
@@ -558,7 +558,7 @@
|
|||
|
|
|||
|
;;; Fourth part of dictionary, shortened for loaddefs.el
|
|||
|
;;;###autoload
|
|||
|
-(setq
|
|||
|
+(defvar
|
|||
|
ispell-dictionary-alist-4
|
|||
|
'(("francais-tex" ; Francais.aff
|
|||
|
"[A-Za-z\300\302\306\307\310\311\312\313\316\317\324\331\333\334\340\342\347\350\351\352\353\356\357\364\371\373\374\\]"
|
|||
|
@@ -578,7 +578,7 @@
|
|||
|
|
|||
|
;;; Fifth part of dictionary, shortened for loaddefs.el
|
|||
|
;;;###autoload
|
|||
|
-(setq
|
|||
|
+(defvar
|
|||
|
ispell-dictionary-alist-5
|
|||
|
'(("nederlands" ; Nederlands.aff
|
|||
|
"[A-Za-z\300-\305\307\310-\317\322-\326\331-\334\340-\345\347\350-\357\361\362-\366\371-\374]"
|
|||
|
@@ -599,7 +599,7 @@
|
|||
|
|
|||
|
;;; Sixth part of dictionary, shortened for loaddefs.el
|
|||
|
;;;###autoload
|
|||
|
-(setq
|
|||
|
+(defvar
|
|||
|
ispell-dictionary-alist-6
|
|||
|
;; include Russian iso character set too?
|
|||
|
;; "[']" t ("-d" "russian") "~latin1" iso-8859-1
|
|||
|
@@ -696,13 +696,6 @@
|
|||
|
(const koi8-r))))
|
|||
|
:group 'ispell)
|
|||
|
|
|||
|
-;;; update the dictionaries at load time
|
|||
|
-(setq ispell-dictionary-alist
|
|||
|
- (append ispell-local-dictionary-alist ; dictionary customizations
|
|||
|
- ispell-dictionary-alist-1 ispell-dictionary-alist-2
|
|||
|
- ispell-dictionary-alist-3 ispell-dictionary-alist-4
|
|||
|
- ispell-dictionary-alist-5 ispell-dictionary-alist-6))
|
|||
|
-
|
|||
|
|
|||
|
|
|||
|
|
|||
|
--- site-lisp/term/func-keys.el
|
|||
|
+++ site-lisp/term/func-keys.el 2003-07-23 18:08:56.000000000 +0200
|
|||
|
@@ -0,0 +1,31 @@
|
|||
|
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|||
|
+;;; term/func-keys.el for site-lisp path
|
|||
|
+;;; Copyright (c) 1996-2001 SuSE Gmbh Nuernberg, Germany.
|
|||
|
+;;;
|
|||
|
+;;; Author: Werner Fink <werner@suse.de>, No warranty of any kind
|
|||
|
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|||
|
+;; num block
|
|||
|
+;; kp_f1 .. kp_f4 and kp_tab not found on MF-102
|
|||
|
+ (global-set-key [kp-f1] esc-map) ; Escape
|
|||
|
+ (global-set-key [kp-f2] 'undo) ; Undo
|
|||
|
+ (global-set-key [kp-f3] 'isearch-forward) ; Search
|
|||
|
+ (global-set-key [kp-f4] 'kill-line) ; Kill-Line
|
|||
|
+;;
|
|||
|
+;; Backspace, Delete and any thing else
|
|||
|
+;;
|
|||
|
+(if (not window-system)
|
|||
|
+ ; Do nothing within terminals because they know about
|
|||
|
+ nil
|
|||
|
+ (if (fboundp 'normal-erase-is-backspace-mode)
|
|||
|
+ (normal-erase-is-backspace-mode 1)
|
|||
|
+ (global-set-key [delete] 'delete-char))
|
|||
|
+ ;(global-set-key [delete] '[127])
|
|||
|
+ ;(global-unset-key [backspace])
|
|||
|
+ ;(global-set-key [backspace] '[127])
|
|||
|
+)
|
|||
|
+;;
|
|||
|
+;; Wheel mouse support
|
|||
|
+;;
|
|||
|
+(mouse-wheel-mode 1)
|
|||
|
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|||
|
+;; Ende von func-keys.el
|
|||
|
--- site-lisp/term/gnome.el
|
|||
|
+++ site-lisp/term/gnome.el 2003-07-23 18:08:56.000000000 +0200
|
|||
|
@@ -0,0 +1,97 @@
|
|||
|
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|||
|
+;;; term/gnomw.el for site-lisp path
|
|||
|
+;;; Copyright (c) 2000 SuSE Gmbh Nuernberg, Germany. All rights reserved.
|
|||
|
+;;;
|
|||
|
+;;; Author: Werner Fink <werner@suse.de>, No warranty of any kind
|
|||
|
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|||
|
+; (define-key function-key-map "\e[1~" [find])
|
|||
|
+; (define-key function-key-map "\eOH" [home])
|
|||
|
+ (define-key function-key-map "\e[1~" [home])
|
|||
|
+ (define-key function-key-map "\e[2~" [insertchar])
|
|||
|
+ (define-key function-key-map "\e[3~" [deletechar])
|
|||
|
+; (define-key function-key-map "\e[4~" [select])
|
|||
|
+; (define-key function-key-map "\eOF" [end])
|
|||
|
+ (define-key function-key-map "\e[4~" [end])
|
|||
|
+ (define-key function-key-map "\e[5~" [prior])
|
|||
|
+ (define-key function-key-map "\e[6~" [next])
|
|||
|
+ (define-key function-key-map "\e[OP" [f1])
|
|||
|
+ (define-key function-key-map "\e[OQ" [f2])
|
|||
|
+ (define-key function-key-map "\e[OR" [f3])
|
|||
|
+ (define-key function-key-map "\e[OS" [f4])
|
|||
|
+ (define-key function-key-map "\e[15~" [f5])
|
|||
|
+ (define-key function-key-map "\e[17~" [f6])
|
|||
|
+ (define-key function-key-map "\e[18~" [f7])
|
|||
|
+ (define-key function-key-map "\e[19~" [f8])
|
|||
|
+ (define-key function-key-map "\e[20~" [f9])
|
|||
|
+ (define-key function-key-map "\e[21~" [f10])
|
|||
|
+ (define-key function-key-map "\e[23~" [f11])
|
|||
|
+ (define-key function-key-map "\e[24~" [f12])
|
|||
|
+ (define-key function-key-map "\e[25~" [f13])
|
|||
|
+ (define-key function-key-map "\e[26~" [f14])
|
|||
|
+ (define-key function-key-map "\e[28~" [help])
|
|||
|
+ (define-key function-key-map "\e[29~" [menu])
|
|||
|
+ (define-key function-key-map "\e?\e[28~" [M-help])
|
|||
|
+ (define-key function-key-map "\e?\e[29~" [M-menu])
|
|||
|
+ (define-key function-key-map "\e[31~" [f17])
|
|||
|
+ (define-key function-key-map "\e[32~" [f18])
|
|||
|
+ (define-key function-key-map "\e[33~" [f19])
|
|||
|
+ (define-key function-key-map "\e[34~" [f20])
|
|||
|
+;;
|
|||
|
+;; num block
|
|||
|
+;; [home] and [end] found in num block
|
|||
|
+; (define-key function-key-map "\eOH" [home])
|
|||
|
+; (define-key function-key-map "\eOF" [end])
|
|||
|
+ (define-key function-key-map "\e[1~" [home])
|
|||
|
+ (define-key function-key-map "\e[4~" [end])
|
|||
|
+;;
|
|||
|
+;; Locked num block
|
|||
|
+ (define-key function-key-map "\eOI" [kp-tab])
|
|||
|
+ (define-key function-key-map "\eOj" [kp-multiply])
|
|||
|
+ (define-key function-key-map "\eOk" [kp-add])
|
|||
|
+ (define-key function-key-map "\eOl" [kp-separator])
|
|||
|
+ (define-key function-key-map "\eOM" [kp-enter])
|
|||
|
+ (define-key function-key-map "\eOm" [kp-subtract])
|
|||
|
+ (define-key function-key-map "\eOn" [kp-decimal])
|
|||
|
+; (define-key function-key-map "\eOn" [kp-period]) ; [kp-decimal]
|
|||
|
+ (define-key function-key-map "\eOo" [kp-divide])
|
|||
|
+ (define-key function-key-map "\eOp" [kp-0])
|
|||
|
+ (define-key function-key-map "\eOq" [kp-1])
|
|||
|
+ (define-key function-key-map "\eOr" [kp-2])
|
|||
|
+ (define-key function-key-map "\eOs" [kp-3])
|
|||
|
+ (define-key function-key-map "\eOt" [kp-4])
|
|||
|
+ (define-key function-key-map "\eOu" [kp-5])
|
|||
|
+ (define-key function-key-map "\eOv" [kp-6])
|
|||
|
+ (define-key function-key-map "\eOw" [kp-7])
|
|||
|
+ (define-key function-key-map "\eOx" [kp-8])
|
|||
|
+ (define-key function-key-map "\eOy" [kp-9])
|
|||
|
+;;
|
|||
|
+;; Undefine some ESC ESC behavior --- for later use
|
|||
|
+ (global-unset-key "\e\e")
|
|||
|
+ (define-key esc-map "\e" nil)
|
|||
|
+;;
|
|||
|
+ (define-key function-key-map "\eOD" [left])
|
|||
|
+ (define-key function-key-map "\eOC" [right])
|
|||
|
+ (define-key function-key-map "\eOA" [up])
|
|||
|
+ (define-key function-key-map "\eOB" [down])
|
|||
|
+;;
|
|||
|
+ (define-key function-key-map "\e\eOD" [M-left])
|
|||
|
+ (define-key function-key-map "\e\eOC" [M-right])
|
|||
|
+ (define-key function-key-map "\e\eOA" [M-up])
|
|||
|
+ (define-key function-key-map "\e\eOB" [M-down])
|
|||
|
+;;
|
|||
|
+;; Not in Use?
|
|||
|
+ (define-key function-key-map "\C-?\eOD" [C-left])
|
|||
|
+ (define-key function-key-map "\C-?\eOC" [C-right])
|
|||
|
+ (define-key function-key-map "\C-?\eOA" [C-up])
|
|||
|
+ (define-key function-key-map "\C-?\eOB" [C-down])
|
|||
|
+;;
|
|||
|
+;; Backspace, Delete and any thing else
|
|||
|
+;;
|
|||
|
+ (global-unset-key [insertchar])
|
|||
|
+ (global-set-key [insertchar] 'overwrite-mode)
|
|||
|
+ (global-unset-key [deletechar])
|
|||
|
+ (global-set-key [deletechar] 'delete-char)
|
|||
|
+;;
|
|||
|
+(load "term/func-keys" nil t)
|
|||
|
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|||
|
+;; Ende von gnomw.el
|
|||
|
--- site-lisp/term/kvt.el
|
|||
|
+++ site-lisp/term/kvt.el 2003-07-23 18:08:56.000000000 +0200
|
|||
|
@@ -0,0 +1,97 @@
|
|||
|
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|||
|
+;;; term/kvt.el for site-lisp path
|
|||
|
+;;; Copyright (c) 2000 SuSE Gmbh Nuernberg, Germany. All rights reserved.
|
|||
|
+;;;
|
|||
|
+;;; Author: Werner Fink <werner@suse.de>, No warranty of any kind
|
|||
|
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|||
|
+ (define-key function-key-map "\e[1~" [find])
|
|||
|
+ (define-key function-key-map "\eOH" [home])
|
|||
|
+ (define-key function-key-map "\e[2~" [insertchar])
|
|||
|
+ (define-key function-key-map "\e[3~" [deletechar])
|
|||
|
+ (define-key function-key-map "\e[4~" [select])
|
|||
|
+ (define-key function-key-map "\eOF" [end])
|
|||
|
+ (define-key function-key-map "\e[5~" [prior])
|
|||
|
+ (define-key function-key-map "\e[6~" [next])
|
|||
|
+ (define-key function-key-map "\e[11~" [f1])
|
|||
|
+ (define-key function-key-map "\e[12~" [f2])
|
|||
|
+ (define-key function-key-map "\e[13~" [f3])
|
|||
|
+ (define-key function-key-map "\e[14~" [f4])
|
|||
|
+ (define-key function-key-map "\e[15~" [f5])
|
|||
|
+ (define-key function-key-map "\e[17~" [f6])
|
|||
|
+ (define-key function-key-map "\e[18~" [f7])
|
|||
|
+ (define-key function-key-map "\e[19~" [f8])
|
|||
|
+ (define-key function-key-map "\e[20~" [f9])
|
|||
|
+ (define-key function-key-map "\e[21~" [f10])
|
|||
|
+ (define-key function-key-map "\e[23~" [f11])
|
|||
|
+ (define-key function-key-map "\e[24~" [f12])
|
|||
|
+ (define-key function-key-map "\e[25~" [f13])
|
|||
|
+ (define-key function-key-map "\e[26~" [f14])
|
|||
|
+ (define-key function-key-map "\e[28~" [help])
|
|||
|
+ (define-key function-key-map "\e[29~" [menu])
|
|||
|
+ (define-key function-key-map "\e?\e[28~" [M-help])
|
|||
|
+ (define-key function-key-map "\e?\e[29~" [M-menu])
|
|||
|
+ (define-key function-key-map "\e[31~" [f17])
|
|||
|
+ (define-key function-key-map "\e[32~" [f18])
|
|||
|
+ (define-key function-key-map "\e[33~" [f19])
|
|||
|
+ (define-key function-key-map "\e[34~" [f20])
|
|||
|
+;;
|
|||
|
+;; num block
|
|||
|
+;; [home] and [end] found in num block
|
|||
|
+ (define-key function-key-map "\eOH" [home])
|
|||
|
+ (define-key function-key-map "\eOF" [end])
|
|||
|
+;;
|
|||
|
+;; Locked num block
|
|||
|
+ (define-key function-key-map "\eOP" [kp-f1])
|
|||
|
+ (define-key function-key-map "\eOQ" [kp-f2])
|
|||
|
+ (define-key function-key-map "\eOR" [kp-f3])
|
|||
|
+ (define-key function-key-map "\eOS" [kp-f4])
|
|||
|
+ (define-key function-key-map "\eOI" [kp-tab])
|
|||
|
+ (define-key function-key-map "\eOj" [kp-multiply])
|
|||
|
+ (define-key function-key-map "\eOk" [kp-add])
|
|||
|
+ (define-key function-key-map "\eOl" [kp-separator])
|
|||
|
+ (define-key function-key-map "\eOM" [kp-enter])
|
|||
|
+ (define-key function-key-map "\eOm" [kp-subtract])
|
|||
|
+ (define-key function-key-map "\eOn" [kp-decimal])
|
|||
|
+; (define-key function-key-map "\eOn" [kp-period]) ; [kp-decimal]
|
|||
|
+ (define-key function-key-map "\eOo" [kp-divide])
|
|||
|
+ (define-key function-key-map "\eOp" [kp-0])
|
|||
|
+ (define-key function-key-map "\eOq" [kp-1])
|
|||
|
+ (define-key function-key-map "\eOr" [kp-2])
|
|||
|
+ (define-key function-key-map "\eOs" [kp-3])
|
|||
|
+ (define-key function-key-map "\eOt" [kp-4])
|
|||
|
+ (define-key function-key-map "\eOu" [kp-5])
|
|||
|
+ (define-key function-key-map "\eOv" [kp-6])
|
|||
|
+ (define-key function-key-map "\eOw" [kp-7])
|
|||
|
+ (define-key function-key-map "\eOx" [kp-8])
|
|||
|
+ (define-key function-key-map "\eOy" [kp-9])
|
|||
|
+;;
|
|||
|
+;; Undefine some ESC ESC behavior --- for later use
|
|||
|
+ (global-unset-key "\e\e")
|
|||
|
+ (define-key esc-map "\e" nil)
|
|||
|
+;;
|
|||
|
+ (define-key function-key-map "\eOD" [left])
|
|||
|
+ (define-key function-key-map "\eOC" [right])
|
|||
|
+ (define-key function-key-map "\eOA" [up])
|
|||
|
+ (define-key function-key-map "\eOB" [down])
|
|||
|
+;;
|
|||
|
+ (define-key function-key-map "\e\eOD" [M-left])
|
|||
|
+ (define-key function-key-map "\e\eOC" [M-right])
|
|||
|
+ (define-key function-key-map "\e\eOA" [M-up])
|
|||
|
+ (define-key function-key-map "\e\eOB" [M-down])
|
|||
|
+;;
|
|||
|
+;; Not in Use?
|
|||
|
+ (define-key function-key-map "\C-?\eOD" [C-left])
|
|||
|
+ (define-key function-key-map "\C-?\eOC" [C-right])
|
|||
|
+ (define-key function-key-map "\C-?\eOA" [C-up])
|
|||
|
+ (define-key function-key-map "\C-?\eOB" [C-down])
|
|||
|
+;;
|
|||
|
+;; Backspace, Delete and any thing else
|
|||
|
+;;
|
|||
|
+ (global-unset-key [insertchar])
|
|||
|
+ (global-set-key [insertchar] 'overwrite-mode)
|
|||
|
+ (global-unset-key [deletechar])
|
|||
|
+ (global-set-key [deletechar] 'delete-char)
|
|||
|
+;;
|
|||
|
+(load "term/func-keys" nil t)
|
|||
|
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|||
|
+;; Ende von kvt.el
|
|||
|
--- site-lisp/term/linux.el
|
|||
|
+++ site-lisp/term/linux.el 2003-07-23 18:08:56.000000000 +0200
|
|||
|
@@ -0,0 +1,79 @@
|
|||
|
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|||
|
+;;; term/linux.el for site-lisp path
|
|||
|
+;;; Copyright (c) 1996 SuSE Gmbh Nuernberg, Germany. All rights reserved.
|
|||
|
+;;;
|
|||
|
+;;; Author: Werner Fink <werner@suse.de>, No warranty of any kind
|
|||
|
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|||
|
+ (define-key function-key-map "\e[1~" [home])
|
|||
|
+ (define-key function-key-map "\e[2~" [insertchar])
|
|||
|
+ (define-key function-key-map "\e[3~" [deletechar])
|
|||
|
+ (define-key function-key-map "\e[4~" [end])
|
|||
|
+ (define-key function-key-map "\e[5~" [prior])
|
|||
|
+ (define-key function-key-map "\e[6~" [next])
|
|||
|
+ (define-key function-key-map "\e[[A" [f1])
|
|||
|
+ (define-key function-key-map "\e[[B" [f2])
|
|||
|
+ (define-key function-key-map "\e[[C" [f3])
|
|||
|
+ (define-key function-key-map "\e[[D" [f4])
|
|||
|
+ (define-key function-key-map "\e[[E" [f5])
|
|||
|
+ (define-key function-key-map "\e[17~" [f6])
|
|||
|
+ (define-key function-key-map "\e[18~" [f7])
|
|||
|
+ (define-key function-key-map "\e[19~" [f8])
|
|||
|
+ (define-key function-key-map "\e[20~" [f9])
|
|||
|
+ (define-key function-key-map "\e[21~" [f10])
|
|||
|
+ (define-key function-key-map "\e[23~" [f11])
|
|||
|
+ (define-key function-key-map "\e[24~" [f12])
|
|||
|
+ (define-key function-key-map "\e[25~" [f13])
|
|||
|
+ (define-key function-key-map "\e[26~" [f14])
|
|||
|
+ (define-key function-key-map "\e[28~" [help])
|
|||
|
+ (define-key function-key-map "\e[29~" [menu])
|
|||
|
+ (define-key function-key-map "\e?\e[28~" [M-help])
|
|||
|
+ (define-key function-key-map "\e?\e[29~" [M-menu])
|
|||
|
+ (define-key function-key-map "\e[31~" [f17])
|
|||
|
+ (define-key function-key-map "\e[32~" [f18])
|
|||
|
+ (define-key function-key-map "\e[33~" [f19])
|
|||
|
+ (define-key function-key-map "\e[34~" [f20])
|
|||
|
+;;
|
|||
|
+;; Not in Use?
|
|||
|
+;; ----------------------------------
|
|||
|
+;; Console-Setting for Linux ???
|
|||
|
+ (define-key function-key-map "\e[H" [M-up])
|
|||
|
+ (define-key function-key-map "\e[Y" [M-down])
|
|||
|
+ (define-key function-key-map "\e[M" [menu])
|
|||
|
+ (define-key function-key-map "\e?\e[M" [M-menu])
|
|||
|
+ (define-key function-key-map "\e[P" [pause])
|
|||
|
+;;
|
|||
|
+;; num block
|
|||
|
+ (define-key function-key-map "\e[G" [begin])
|
|||
|
+;;
|
|||
|
+;; Locked num block Nothing to do :-)
|
|||
|
+;;
|
|||
|
+;; Undefine some ESC ESC behavior --- for later use
|
|||
|
+ (global-unset-key "\e\e")
|
|||
|
+ (define-key esc-map "\e" nil)
|
|||
|
+;;
|
|||
|
+ (define-key function-key-map "\e[D" [left])
|
|||
|
+ (define-key function-key-map "\e[C" [right])
|
|||
|
+ (define-key function-key-map "\e[A" [up])
|
|||
|
+ (define-key function-key-map "\e[B" [down])
|
|||
|
+;;
|
|||
|
+ (define-key function-key-map "\e\e[D" [M-left])
|
|||
|
+ (define-key function-key-map "\e\e[C" [M-right])
|
|||
|
+ (define-key function-key-map "\e\e[A" [M-up])
|
|||
|
+ (define-key function-key-map "\e\e[B" [M-down])
|
|||
|
+;;
|
|||
|
+;; Not in Use?
|
|||
|
+ (define-key function-key-map "\C-?\e[D" [C-left])
|
|||
|
+ (define-key function-key-map "\C-?\e[C" [C-right])
|
|||
|
+ (define-key function-key-map "\C-?\e[A" [C-up])
|
|||
|
+ (define-key function-key-map "\C-?\e[B" [C-down])
|
|||
|
+;;
|
|||
|
+;; Backspace, Delete and any thing else
|
|||
|
+;;
|
|||
|
+ (global-unset-key [insertchar])
|
|||
|
+ (global-set-key [insertchar] 'overwrite-mode)
|
|||
|
+ (global-unset-key [deletechar])
|
|||
|
+ (global-set-key [deletechar] 'delete-char)
|
|||
|
+;;
|
|||
|
+(load "term/func-keys" nil t)
|
|||
|
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|||
|
+;; Ende von linux.el
|
|||
|
--- site-lisp/term/locale.el
|
|||
|
+++ site-lisp/term/locale.el 2003-07-23 18:08:56.000000000 +0200
|
|||
|
@@ -0,0 +1,33 @@
|
|||
|
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|||
|
+;;; term/locale.el for site-lisp path
|
|||
|
+;;; Copyright (c) 1996-2003 SuSE Linux AG Nuernberg, Germany.
|
|||
|
+;;;
|
|||
|
+;;; Author: Werner Fink <werner@suse.de>, No warranty of any kind
|
|||
|
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|||
|
+;;
|
|||
|
+;; Umlaute
|
|||
|
+;; -------
|
|||
|
+
|
|||
|
+(let* ((tmp (shell-command-to-string "locale charmap"))
|
|||
|
+ (tmp (substring tmp 0 (string-match "\[ \t\n\]" tmp)))
|
|||
|
+ (tmp (downcase tmp)))
|
|||
|
+ (when (coding-system-p (intern tmp))
|
|||
|
+ (set-keyboard-coding-system (intern tmp))
|
|||
|
+ (set-terminal-coding-system (intern tmp))
|
|||
|
+ (set-default-coding-systems (intern tmp))))
|
|||
|
+;; Set this only if no default is given
|
|||
|
+(unless (terminal-coding-system)
|
|||
|
+ (set-terminal-coding-system 'iso-latin-9))
|
|||
|
+;; Set input mode
|
|||
|
+(let ((value (current-input-mode)))
|
|||
|
+ (set-input-mode (nth 0 value)
|
|||
|
+ (nth 1 value)
|
|||
|
+ (terminal-coding-system)
|
|||
|
+ ;; This quit value is optional
|
|||
|
+ (nth 3 value)))
|
|||
|
+
|
|||
|
+(add-hook 'term-setup-hook (function (lambda ()
|
|||
|
+ (load "term/func-keys" t t))))
|
|||
|
+;;
|
|||
|
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|||
|
+;; Ende von locale.el
|
|||
|
--- site-lisp/term/xterm.el
|
|||
|
+++ site-lisp/term/xterm.el 2003-07-23 18:08:56.000000000 +0200
|
|||
|
@@ -0,0 +1,120 @@
|
|||
|
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|||
|
+;;; term/xterm.el for site-lisp path
|
|||
|
+;;; Copyright (c) 1996 SuSE Gmbh Nuernberg, Germany. All rights reserved.
|
|||
|
+;;;
|
|||
|
+;;; Author: Werner Fink <werner@suse.de>, No warranty of any kind
|
|||
|
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|||
|
+;; MF-102: on linux console \033[1~ is not [find] but [home]
|
|||
|
+;; in xterm [home] is \033[H (app-keypad off) or \033OH (app-keypad on)
|
|||
|
+;; and [find] is \033[1~
|
|||
|
+;; Note: this must be consistent with app-defaults of xterm,
|
|||
|
+;; terminfo/termcap, and all of inputrc, csh.cshrc, exrc
|
|||
|
+ (define-key function-key-map "\e[1~" [find])
|
|||
|
+ (define-key function-key-map "\e[H" [home])
|
|||
|
+ (define-key function-key-map "\eOH" [home])
|
|||
|
+ (define-key function-key-map "\e[2~" [insertchar])
|
|||
|
+ (define-key function-key-map "\e[3~" [deletechar])
|
|||
|
+;; MF-102: on linux console \033[4~ is not [select] but [end]
|
|||
|
+;; in xterm [end] should be \033[F (app-keypad off) or \033OF (app-keypad on)
|
|||
|
+;; and [select] is \033[4~
|
|||
|
+;; Note: this must be consistent with app-defaults of xterm,
|
|||
|
+;; terminfo/termcap, and all of inputrc, csh.cshrc, exrc
|
|||
|
+ (define-key function-key-map "\e[4~" [select])
|
|||
|
+ (define-key function-key-map "\e[F" [end])
|
|||
|
+ (define-key function-key-map "\eOF" [end])
|
|||
|
+ (define-key function-key-map "\e[5~" [prior])
|
|||
|
+ (define-key function-key-map "\e[6~" [next])
|
|||
|
+ (define-key function-key-map "\e[11~" [f1])
|
|||
|
+ (define-key function-key-map "\e[12~" [f2])
|
|||
|
+ (define-key function-key-map "\e[13~" [f3])
|
|||
|
+ (define-key function-key-map "\e[14~" [f4])
|
|||
|
+ (define-key function-key-map "\eOP" [f1])
|
|||
|
+ (define-key function-key-map "\eOQ" [f2])
|
|||
|
+ (define-key function-key-map "\eOR" [f3])
|
|||
|
+ (define-key function-key-map "\eOS" [f4])
|
|||
|
+ (define-key function-key-map "\e[15~" [f5])
|
|||
|
+ (define-key function-key-map "\e[17~" [f6])
|
|||
|
+ (define-key function-key-map "\e[18~" [f7])
|
|||
|
+ (define-key function-key-map "\e[19~" [f8])
|
|||
|
+ (define-key function-key-map "\e[20~" [f9])
|
|||
|
+ (define-key function-key-map "\e[21~" [f10])
|
|||
|
+ (define-key function-key-map "\e[23~" [f11])
|
|||
|
+ (define-key function-key-map "\e[24~" [f12])
|
|||
|
+ (define-key function-key-map "\e[25~" [f13])
|
|||
|
+ (define-key function-key-map "\e[26~" [f14])
|
|||
|
+ (define-key function-key-map "\e[28~" [help])
|
|||
|
+ (define-key function-key-map "\e[29~" [menu])
|
|||
|
+ (define-key function-key-map "\e?\e[28~" [M-help])
|
|||
|
+ (define-key function-key-map "\e?\e[29~" [M-menu])
|
|||
|
+ (define-key function-key-map "\e[31~" [f17])
|
|||
|
+ (define-key function-key-map "\e[32~" [f18])
|
|||
|
+ (define-key function-key-map "\e[33~" [f19])
|
|||
|
+ (define-key function-key-map "\e[34~" [f20])
|
|||
|
+;;
|
|||
|
+;; num block
|
|||
|
+;; [home] and [end] found in num block
|
|||
|
+ (define-key function-key-map "\eOH" [home])
|
|||
|
+ (define-key function-key-map "\eOF" [end])
|
|||
|
+ (define-key function-key-map "\eOE" [begin])
|
|||
|
+;;
|
|||
|
+;; Locked num block
|
|||
|
+;; kp_f1 .. kp_f4 and kp_tab not found on MF-102
|
|||
|
+;; For xterm on xfree we use f1 .. f4, see above
|
|||
|
+; (define-key function-key-map "\eOP" [kp-f1])
|
|||
|
+; (define-key function-key-map "\eOQ" [kp-f2])
|
|||
|
+; (define-key function-key-map "\eOR" [kp-f3])
|
|||
|
+; (define-key function-key-map "\eOS" [kp-f4])
|
|||
|
+ (define-key function-key-map "\eOI" [kp-tab])
|
|||
|
+ (define-key function-key-map "\eOj" [kp-multiply])
|
|||
|
+ (define-key function-key-map "\eOk" [kp-add])
|
|||
|
+ (define-key function-key-map "\eOl" [kp-separator])
|
|||
|
+ (define-key function-key-map "\eOM" [kp-enter])
|
|||
|
+ (define-key function-key-map "\eOm" [kp-subtract])
|
|||
|
+ (define-key function-key-map "\eOn" [kp-decimal])
|
|||
|
+; (define-key function-key-map "\eOn" [kp-period]) ; [kp-decimal]
|
|||
|
+ (define-key function-key-map "\eOo" [kp-divide])
|
|||
|
+ (define-key function-key-map "\eOp" [kp-0])
|
|||
|
+ (define-key function-key-map "\eOq" [kp-1])
|
|||
|
+ (define-key function-key-map "\eOr" [kp-2])
|
|||
|
+ (define-key function-key-map "\eOs" [kp-3])
|
|||
|
+ (define-key function-key-map "\eOt" [kp-4])
|
|||
|
+ (define-key function-key-map "\eOu" [kp-5])
|
|||
|
+ (define-key function-key-map "\eOv" [kp-6])
|
|||
|
+ (define-key function-key-map "\eOw" [kp-7])
|
|||
|
+ (define-key function-key-map "\eOx" [kp-8])
|
|||
|
+ (define-key function-key-map "\eOy" [kp-9])
|
|||
|
+;;
|
|||
|
+;; Undefine some ESC ESC behavior --- for later use
|
|||
|
+ (global-unset-key "\e\e")
|
|||
|
+ (define-key esc-map "\e" nil)
|
|||
|
+;;
|
|||
|
+ (define-key function-key-map "\eOD" [left])
|
|||
|
+ (define-key function-key-map "\eOC" [right])
|
|||
|
+ (define-key function-key-map "\eOA" [up])
|
|||
|
+ (define-key function-key-map "\eOB" [down])
|
|||
|
+;;
|
|||
|
+ (define-key function-key-map "\e\eOD" [M-left])
|
|||
|
+ (define-key function-key-map "\e\eOC" [M-right])
|
|||
|
+ (define-key function-key-map "\e\eOA" [M-up])
|
|||
|
+ (define-key function-key-map "\e\eOB" [M-down])
|
|||
|
+;;
|
|||
|
+;; Not in Use?
|
|||
|
+ (define-key function-key-map "\C-?\eOD" [C-left])
|
|||
|
+ (define-key function-key-map "\C-?\eOC" [C-right])
|
|||
|
+ (define-key function-key-map "\C-?\eOA" [C-up])
|
|||
|
+ (define-key function-key-map "\C-?\eOB" [C-down])
|
|||
|
+ (define-key function-key-map "\eO5D" [C-left])
|
|||
|
+ (define-key function-key-map "\eO5C" [C-right])
|
|||
|
+ (define-key function-key-map "\eO5A" [C-up])
|
|||
|
+ (define-key function-key-map "\eO5B" [C-down])
|
|||
|
+;;
|
|||
|
+;; Backspace, Delete and any thing else
|
|||
|
+;;
|
|||
|
+ (global-unset-key [insertchar])
|
|||
|
+ (global-set-key [insertchar] 'overwrite-mode)
|
|||
|
+ (global-unset-key [deletechar])
|
|||
|
+ (global-set-key [deletechar] 'delete-char)
|
|||
|
+;;
|
|||
|
+(load "term/func-keys" nil t)
|
|||
|
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|||
|
+;; Ende von xterm.el
|
|||
|
--- src/Makefile.in
|
|||
|
+++ src/Makefile.in 2003-07-23 18:08:56.000000000 +0200
|
|||
|
@@ -633,6 +633,9 @@
|
|||
|
#define WINNT_SUPPORT
|
|||
|
#endif
|
|||
|
|
|||
|
+#define MYSHORTLISP ${dotdot}/lisp/emacs-lisp/backquote.elc ${dotdot}/lisp/delsel.elc \
|
|||
|
+ ${dotdot}/lisp/disp-table.elc ${dotdot}/lisp/lpr.elc
|
|||
|
+
|
|||
|
/* List of Lisp files loaded into the dumped Emacs. It's arranged
|
|||
|
like this because it's easier to generate it semi-mechanically from
|
|||
|
loadup.el this way.
|
|||
|
@@ -800,6 +803,7 @@
|
|||
|
../lisp/ediff-hook.elc \
|
|||
|
../lisp/widget.elc \
|
|||
|
../lisp/window.elc \
|
|||
|
+ MYSHORTLISP \
|
|||
|
../lisp/version.el
|
|||
|
|
|||
|
/* Lisp files that may or may not be used.
|
|||
|
--- src/alloc.c
|
|||
|
+++ src/alloc.c 2005-04-15 12:12:35.000000000 +0200
|
|||
|
@@ -2219,6 +2219,8 @@
|
|||
|
struct Lisp_Vector *p;
|
|||
|
size_t nbytes;
|
|||
|
|
|||
|
+ BLOCK_INPUT;
|
|||
|
+
|
|||
|
#ifdef DOUG_LEA_MALLOC
|
|||
|
/* Prevent mmap'ing the chunk. Lisp data may not be mmap'ed
|
|||
|
because mapped region contents are not preserved in
|
|||
|
@@ -2234,6 +2236,8 @@
|
|||
|
mallopt (M_MMAP_MAX, MMAP_MAX_AREAS);
|
|||
|
#endif
|
|||
|
|
|||
|
+ UNBLOCK_INPUT;
|
|||
|
+
|
|||
|
VALIDATE_LISP_STORAGE (p, 0);
|
|||
|
consing_since_gc += nbytes;
|
|||
|
vector_cells_consed += len;
|
|||
|
--- src/config.in
|
|||
|
+++ src/config.in 2003-07-23 18:08:56.000000000 +0200
|
|||
|
@@ -409,6 +409,9 @@
|
|||
|
#endif
|
|||
|
#endif
|
|||
|
|
|||
|
+/* tparam() masking because of common name in ncurses */
|
|||
|
+#define tparam emacs_tparam
|
|||
|
+
|
|||
|
/* Define LD_SWITCH_SITE to contain any special flags your loader may need. */
|
|||
|
#undef LD_SWITCH_SITE
|
|||
|
|
|||
|
--- src/editfns.c
|
|||
|
+++ src/editfns.c 2005-04-15 12:12:33.000000000 +0200
|
|||
|
@@ -3295,7 +3295,7 @@
|
|||
|
/* Anything but a string, convert to a string using princ. */
|
|||
|
register Lisp_Object tem;
|
|||
|
tem = Fprin1_to_string (args[n], Qt);
|
|||
|
- if (STRING_MULTIBYTE (tem) & ! multibyte)
|
|||
|
+ if (STRING_MULTIBYTE (tem) && ! multibyte)
|
|||
|
{
|
|||
|
multibyte = 1;
|
|||
|
goto retry;
|
|||
|
--- src/fns.c
|
|||
|
+++ src/fns.c 2003-07-23 18:08:56.000000000 +0200
|
|||
|
@@ -68,6 +68,10 @@
|
|||
|
Lisp_Object Qwidget_type;
|
|||
|
|
|||
|
extern Lisp_Object Qinput_method_function;
|
|||
|
+#ifdef HAVE_MOUSE
|
|||
|
+extern Lisp_Object do_mouse_tracking;
|
|||
|
+extern Lisp_Object tracking_off ();
|
|||
|
+#endif
|
|||
|
|
|||
|
static int internal_equal ();
|
|||
|
|
|||
|
@@ -2815,6 +2819,10 @@
|
|||
|
int count = specpdl_ptr - specpdl;
|
|||
|
|
|||
|
specbind (Qcursor_in_echo_area, Qt);
|
|||
|
+#ifdef HAVE_MOUSE
|
|||
|
+ record_unwind_protect (tracking_off, do_mouse_tracking);
|
|||
|
+ do_mouse_tracking = Qnil;
|
|||
|
+#endif
|
|||
|
|
|||
|
map = Fsymbol_value (intern ("query-replace-map"));
|
|||
|
|
|||
|
--- src/keyboard.c
|
|||
|
+++ src/keyboard.c 2003-07-23 18:08:56.000000000 +0200
|
|||
|
@@ -3108,7 +3108,7 @@
|
|||
|
/* Restore mouse tracking enablement. See Ftrack_mouse for the only use
|
|||
|
of this function. */
|
|||
|
|
|||
|
-static Lisp_Object
|
|||
|
+Lisp_Object
|
|||
|
tracking_off (old_value)
|
|||
|
Lisp_Object old_value;
|
|||
|
{
|
|||
|
--- src/prefix-args.c
|
|||
|
+++ src/prefix-args.c 2003-07-23 18:08:56.000000000 +0200
|
|||
|
@@ -44,6 +44,8 @@
|
|||
|
I'm quitting and taking up gardening. */
|
|||
|
|
|||
|
#include <stdio.h>
|
|||
|
+#include <stdlib.h>
|
|||
|
+#include <string.h>
|
|||
|
|
|||
|
int
|
|||
|
main (argc, argv)
|
|||
|
@@ -66,8 +62,15 @@
|
|||
|
prefix = argv[0];
|
|||
|
argc--, argv++;
|
|||
|
|
|||
|
- for (; argc > 0; argc--, argv++)
|
|||
|
- printf ("%s %s%c", prefix, argv[0], (argc > 1) ? ' ' : '\n');
|
|||
|
+ for (; argc > 0; argc--, argv++) {
|
|||
|
+ if (strcmp(argv[0], prefix) == 0 && argv[1]) {
|
|||
|
+ printf ("%s %s", argv[0], argv[1]);
|
|||
|
+ argv++;
|
|||
|
+ argc--;
|
|||
|
+ putc ((argc > 1) ? ' ' : '\n', stdout);
|
|||
|
+ } else
|
|||
|
+ printf ("%s %s%c", prefix, argv[0], (argc > 1) ? ' ' : '\n');
|
|||
|
+ }
|
|||
|
|
|||
|
exit (0);
|
|||
|
}
|
|||
|
--- src/process.c
|
|||
|
+++ src/process.c 2003-07-23 18:08:56.000000000 +0200
|
|||
|
@@ -351,9 +351,24 @@
|
|||
|
int
|
|||
|
allocate_pty ()
|
|||
|
{
|
|||
|
+ int fd;
|
|||
|
+#ifdef UNIX98_PTYS
|
|||
|
+
|
|||
|
+ if ((fd = getpt ()) < 0)
|
|||
|
+ return -1;
|
|||
|
+
|
|||
|
+ if (grantpt (fd) < 0 ||
|
|||
|
+ unlockpt (fd) < 0 ||
|
|||
|
+ ptsname_r (fd, pty_name, sizeof pty_name))
|
|||
|
+ {
|
|||
|
+ close (fd);
|
|||
|
+ return -1;
|
|||
|
+ }
|
|||
|
+ setup_pty (fd);
|
|||
|
+ return fd;
|
|||
|
+#else /* !UNIX98_PTYS */
|
|||
|
struct stat stb;
|
|||
|
register int c, i;
|
|||
|
- int fd;
|
|||
|
|
|||
|
/* Some systems name their pseudoterminals so that there are gaps in
|
|||
|
the usual sequence - for example, on HP9000/S700 systems, there
|
|||
|
@@ -427,6 +442,7 @@
|
|||
|
}
|
|||
|
}
|
|||
|
return -1;
|
|||
|
+#endif /* !UNIX98_PTYS */
|
|||
|
}
|
|||
|
#endif /* HAVE_PTYS */
|
|||
|
|
|||
|
--- src/m/hp800.h
|
|||
|
+++ src/m/hp800.h 2003-07-23 18:08:56.000000000 +0200
|
|||
|
@@ -85,7 +85,7 @@
|
|||
|
#define bcmp memcmp
|
|||
|
#endif
|
|||
|
|
|||
|
-#ifdef __hpux
|
|||
|
+#if defined(__hpux) || defined(__linux__)
|
|||
|
/* Now define a symbol for the cpu type, if your compiler
|
|||
|
does not define it automatically:
|
|||
|
Ones defined so far include vax, m68000, ns16000, pyramid,
|
|||
|
@@ -94,6 +94,15 @@
|
|||
|
# define hp9000s800
|
|||
|
#endif
|
|||
|
|
|||
|
+#ifdef __linux__
|
|||
|
+/* Data type of load average, as read out of kmem. */
|
|||
|
+
|
|||
|
+#define LOAD_AVE_TYPE long
|
|||
|
+
|
|||
|
+/* Convert that into an integer that is 100 for a load average of 1.0 */
|
|||
|
+
|
|||
|
+#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
|
|||
|
+#else
|
|||
|
/* Data type of load average, as read out of kmem. */
|
|||
|
|
|||
|
#define LOAD_AVE_TYPE double
|
|||
|
@@ -101,7 +110,7 @@
|
|||
|
/* Convert that into an integer that is 100 for a load average of 1.0 */
|
|||
|
|
|||
|
#define LOAD_AVE_CVT(x) ((int) (x * 100.0))
|
|||
|
-
|
|||
|
+#endif
|
|||
|
|
|||
|
/* Define CANNOT_DUMP on machines where unexec does not work.
|
|||
|
Then the function dump-emacs will not be defined
|
|||
|
@@ -116,6 +125,7 @@
|
|||
|
Otherwise Emacs assumes that text space precedes data space,
|
|||
|
numerically. */
|
|||
|
|
|||
|
+#ifdef __hpux
|
|||
|
#define VIRT_ADDR_VARIES
|
|||
|
|
|||
|
/* Define C_ALLOCA if this machine does not support a true alloca
|
|||
|
@@ -134,6 +144,9 @@
|
|||
|
|
|||
|
#define DATA_START 0x40000000
|
|||
|
#define TEXT_START 0x00000000
|
|||
|
+#else
|
|||
|
+#define HAVE_ALLOCA
|
|||
|
+#endif
|
|||
|
|
|||
|
#define STACK_DIRECTION 1
|
|||
|
|
|||
|
@@ -147,6 +160,7 @@
|
|||
|
/* This machine requires completely different unexec code
|
|||
|
which lives in a separate file. Specify the file name. */
|
|||
|
|
|||
|
+#ifdef __hpux
|
|||
|
#define UNEXEC unexhp9k800.o
|
|||
|
|
|||
|
#define LIBS_MACHINE
|
|||
|
@@ -180,4 +194,5 @@
|
|||
|
#define index strchr
|
|||
|
#define rindex strrchr
|
|||
|
|
|||
|
-#endif /* __hpux */
|
|||
|
+#endif
|
|||
|
+#endif
|
|||
|
--- src/s/gnu-linux.h
|
|||
|
+++ src/s/gnu-linux.h 2003-07-23 18:08:56.000000000 +0200
|
|||
|
@@ -102,6 +102,7 @@
|
|||
|
functions and macros for terminal control. */
|
|||
|
|
|||
|
#define HAVE_TERMIOS
|
|||
|
+#define NCURSES_OSPEED_T
|
|||
|
|
|||
|
/* Define HAVE_PTYS if the system supports pty devices. */
|
|||
|
|
|||
|
@@ -180,17 +181,17 @@
|
|||
|
/* Here is how to find X Windows. LD_SWITCH_X_SITE_AUX gives an -R option
|
|||
|
says where to find X windows at run time. */
|
|||
|
|
|||
|
-#ifdef __mips__
|
|||
|
-#define LD_SWITCH_SYSTEM -G 0 LD_SWITCH_X_SITE_AUX
|
|||
|
+#if defined(__mips__) || defined(__powerpc__)
|
|||
|
+#define LD_SWITCH_SYSTEM -G 0 -Xlinker -rpath-link -Xlinker /usr/X11R6/lib
|
|||
|
#else
|
|||
|
-#define LD_SWITCH_SYSTEM LD_SWITCH_X_SITE_AUX
|
|||
|
+#define LD_SWITCH_SYSTEM -Xlinker -rpath-link -Xlinker /usr/X11R6/lib
|
|||
|
#endif /* __mips__ */
|
|||
|
|
|||
|
/* Link temacs with -z nocombreloc so that unexec works right, whether or
|
|||
|
not -z combreloc is the default. GNU ld ignores unknown -z KEYWORD
|
|||
|
switches, so this also works with older versions that don't implement
|
|||
|
-z combreloc. */
|
|||
|
-#define LD_SWITCH_SYSTEM_TEMACS -z nocombreloc
|
|||
|
+#define LD_SWITCH_SYSTEM_TEMACS -Xlinker -z -Xlinker nocombreloc
|
|||
|
#endif /* __ELF__ */
|
|||
|
|
|||
|
/* As of version 1.1.51, Linux did not actually implement SIGIO.
|
|||
|
@@ -218,6 +219,15 @@
|
|||
|
#define POSIX /* affects getpagesize.h and systty.h */
|
|||
|
#define POSIX_SIGNALS
|
|||
|
|
|||
|
+/* When _USE_BSD is defined, which it will be on glibc based
|
|||
|
+ * systems, sigmask/sigpause will be defined in the system signal.h
|
|||
|
+ * header file, we want the one in emacs's syssignal.h or else things
|
|||
|
+ * blow up. Note this worked on Intel by luck because of how arguments
|
|||
|
+ * are passed on the stack ;-(
|
|||
|
+ */
|
|||
|
+#undef sigmask
|
|||
|
+#undef sigpause
|
|||
|
+
|
|||
|
/* Best not to include -lg, unless it is last on the command line */
|
|||
|
#define LIBS_DEBUG
|
|||
|
#ifndef __ELF__
|