Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Keystrokes are one behind - Pine 4.05 on RedHatLinux 5.0 on an Alpha  Machine
@ 1998-10-16  4:00 William C Bonner
  1998-10-17  4:00 ` Peter Rye
  0 siblings, 1 reply; 2+ messages in thread
From: William C Bonner @ 1998-10-16  4:00 UTC (permalink / raw)


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?



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Keystrokes are one behind - Pine 4.05 on RedHatLinux 5.0 on an Alpha   Machine
  1998-10-16  4:00 Keystrokes are one behind - Pine 4.05 on RedHatLinux 5.0 on an Alpha Machine William C Bonner
@ 1998-10-17  4:00 ` Peter Rye
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Rye @ 1998-10-17  4:00 UTC (permalink / raw)


William C Bonner <wbonner@lgx.com> 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 <sgtty.h>      /* BSD-based systems */
 
 /*--------- System V terminal driver -----------------------------------*/
-#define HAVE_TERMIO     /* this is for pure System V */
-#include <termio.h>     /* Sys V */
+/* #define HAVE_TERMIO     /* this is for pure System V */
+/* #include <termio.h>     /* Sys V */
 
 /*--------- POSIX terminal driver --------------------------------------*/
-/* #define HAVE_TERMIOS    /* this is an alternative */
-/* #include <termios.h>    /* POSIX */
+#define HAVE_TERMIOS    /* this is an alternative */
+#include <termios.h>    /* POSIX */
+#include <ioctls.h>
+#include <pty.h>
 
 
 
--- 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)









^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-10-17  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-16  4:00 Keystrokes are one behind - Pine 4.05 on RedHatLinux 5.0 on an Alpha Machine William C Bonner
1998-10-17  4:00 ` Peter Rye

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox