(Bogus "Distribution: world" removed.)
|> I've tried to compile tcsh 6.06 on Linux 1.3.39 and libc 5.3.9. Evidently, it
|> doesn't work.
I have been using tcsh 6.06 for a month and a half with no problems. I'm
using kernel 1.3.x (where 'x' is a recently released version), gcc 2.7.2, libc
5.3.9 (well, as of today, 5.3.12), and ncurses 1.9.8a. I made the following
changes. The ones which may be relevant to the problem you're having are the
NLS_CATALOGS change in config/linux and the Imakefile change. The sh.c change
is necessary only if you're going to install Emacs 19.31 when it comes out, or
if you're currently running one of its release pre-test versions.
--- ./config/linux 1996/03/14 12:47:07 1.1
/* that gives too long startup delays for me */
-#undef REMOTEHOST
+/* #undef REMOTEHOST */
-#define NLS_CATALOGS
+/* #define NLS_CATALOGS */
#endif /* _h_config */
--- ./config_f.h 1996/03/14 12:44:27 1.1.1.1
/*
* NODOT Don't put "." in the default path, for security reasons
*/
-#undef NODOT
+#define NODOT
/*
* AUTOLOGOUT tries to determine if it should set autologout depending
* on the name of the tty, and environment.
* Does not make sense in the modern window systems!
*/
-#define AUTOLOGOUT
+/* #define AUTOLOGOUT */
/*
* SUSPENDED Newer shells say 'Suspended' instead of 'Stopped'.
--- ./Imakefile 1996/03/14 12:43:04 1.1.1.1
#ifndef ConfigH
# ifdef UltrixArchitecture
# define ConfigH ultrix
+# endif
+
+# ifdef LinuxArchitecture
+# define ConfigH linux
# endif
# ifdef AlphaArchitecture
--- ./sh.c 1996/03/14 12:50:07 1.1
* set up. But this is not the shell's fault.
* Also don't edit if $TERM == wm, for when we're running under an ATK app.
*/
+#define HAS_EMACS_VAR() ((tcp = getenv("EMACS")) != NULL && strcmp(tcp, "t") == 0)
+
if ((tcp = getenv("TERM")) != NULL) {
set(STRterm, quote(SAVE(tcp)), VAR_READWRITE);
- editing = (strcmp(tcp, "emacs") != 0 && strcmp(tcp, "wm") != 0);
+ editing = (strcmp(tcp, "emacs") != 0 && strcmp(tcp, "wm") != 0 &&
+ ((strcmp(tcp, "unknown") != 0 && strcmp(tcp, "dumb") != 0)
+ || !HAS_EMACS_VAR()));
}
else
- editing = ((tcp = getenv("EMACS")) == NULL || strcmp(tcp, "t") != 0);
+ editing = !HAS_EMACS_VAR();
+
+#undef HAS_EMACS_VAR
/*
* The 'edit' variable is either set or unset. It doesn't