--- src/sldisply.c +++ src/sldisply.c @@ -2156,6 +2156,13 @@ Term_Init_Str = SLtt_tgetstr ("ti"); Term_Reset_Str = SLtt_tgetstr ("te"); +# ifndef USE_TERMCAP + /* Use the given terminal specification of the terminfo entries + * even if we have almost vtxxx. + */ + Keypad_Init_Str = SLtt_tgetstr ("ks"); + Keypad_Reset_Str = SLtt_tgetstr ("ke"); +# else /* If I do this for vtxxx terminals, arrow keys start sending ESC O A, * which I do not want. This is mainly for HP terminals. */ @@ -2164,6 +2171,7 @@ Keypad_Init_Str = SLtt_tgetstr ("ks"); Keypad_Reset_Str = SLtt_tgetstr ("ke"); } +#endif /* Make up for defective termcap/terminfo databases */ if ((Vt100_Like && (term[2] != '1')) @@ -2351,10 +2359,12 @@ /* specific to vtxxx only */ void SLtt_enable_cursor_keys (void) { +#if 0 #ifdef __unix__ if (Vt100_Like) #endif tt_write_string("\033=\033[?1l"); +#endif } #ifdef VMS --- src/slmisc.c.mps 2003-03-23 08:06:40.000000000 +0100 +++ src/slmisc.c 2004-09-17 12:28:44.000000000 +0200 @@ -565,7 +565,7 @@ return (int) SLatol (s); } -#if !defined(HAVE_ISSETUGID) && defined(__GLIBC__) && (__GLIBC__ >= 2) +#if !defined(HAVE_ISSETUGID) && defined(__GLIBC__) && (__GLIBC__ >= 2) && !defined(__UCLIBC__) extern int __libc_enable_secure; # define HAVE___LIBC_ENABLE_SECURE 1 #endif