From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,e5c4fb163a7decf9 X-Google-Attributes: gid111c93,public X-Google-Thread: 106cc5,e5c4fb163a7decf9 X-Google-Attributes: gid106cc5,public From: Peter Rye Subject: Re: Keystrokes are one behind - Pine 4.05 on RedHatLinux 5.0 on an Alpha Machine Date: 1998/10/17 Message-ID: #1/1 X-Deja-AN: 402096316 X-NNTP-Posting-Host: picu-sgh.demon.co.uk:194.222.182.163 References: <36280A32.B5EC01E@lgx.com> X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 908612608 nnrp-07:10783 NO-IDENT picu-sgh.demon.co.uk:194.222.182.163 Organization: St. George's Hospital, Paediatric ICU Newsgroups: comp.mail.pine,comp.os.linux.alpha William C Bonner writes: > I'm having problems on a redhat 5.0 machine where the keystrokes are a > stroke behind. If I hit "i" it doesn't echo anythign back till I hit > the down arrow, and so on. Everything is one character behind, and it > doesn't echo anything back to my terminal either. > > As soon as I get out of Pine, the system acts properly again. > > I've made sure that I've got the latest GCC and LIBC packages installed, > and the latest curses, etc.. (And kernel sources) > > I wanted to run version 4 of pine, instead of the 3.96 that RedHat is > packaging. So I built it.. There are lots of warnings about casting > integers to the wrong size pointers during the build. I don't know if > this is part of my problem or not. > > > mail.c:321: warning: cast from pointer to integer of different size > > mail.c:323: warning: cast to pointer from integer of different size > > I'm running this on a DEC Alpha. > > Has anyone run into this problem? Yes, you need to use termios rather than termio for the build. Here's a patch for pine-4.04 (it's trivial, although it did take me a little while to work out what the os-lnx.ic file was about). You still get loads of warnings about pointer/integer casts, but they seem benign. I have an RPMS for pine-4.04, patched to support qmail's Maildir format if anyone is interested. --- pine4.04/pico/osdep/os-lnx.h.orig Tue Oct 13 23:54:28 1998 +++ pine4.04/pico/osdep/os-lnx.h Tue Oct 13 23:55:14 1998 @@ -99,12 +99,14 @@ /* #include /* BSD-based systems */ /*--------- System V terminal driver -----------------------------------*/ -#define HAVE_TERMIO /* this is for pure System V */ -#include /* Sys V */ +/* #define HAVE_TERMIO /* this is for pure System V */ +/* #include /* Sys V */ /*--------- POSIX terminal driver --------------------------------------*/ -/* #define HAVE_TERMIOS /* this is an alternative */ -/* #include /* POSIX */ +#define HAVE_TERMIOS /* this is an alternative */ +#include /* POSIX */ +#include +#include --- pine4.04/pico/osdep/os-lnx.ic.orig Tue Oct 13 23:54:39 1998 +++ pine4.04/pico/osdep/os-lnx.ic Tue Oct 13 23:55:28 1998 @@ -10,6 +10,6 @@ include(read.sel) -include(raw.io) +include(raw.ios) include(term.cap)