Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* RH 5.1, alpha and Pine
  1998-11-04 15:31 Applixware! Eric Ding
@ 1998-11-06  6:44 ` Bruce Ediger
  1998-11-06  7:01   ` Pooh
                     ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Bruce Ediger @ 1998-11-06  6:44 UTC (permalink / raw)
  To: axp-list


What is it with Pine that makes it *so* hard to get right under Linux
on an alpha?

Red Hat 5.1 comes with Pine 3.96, which looks like it works, until you
send email, then it hangs.  I think the pine process is blocking SIGCHLD,
but I can't for the life of me figure out where it does that.

Pine 4.05 compiles with a ton of "int cast to pointer of different size"
messages that (I think) shouldn't matter.  But it's got an even weirder
problem:

   It only picks up characters 4 previous to what you've just typed.

Weird, weird, weird: If I start pine, and I want to immediately quit
I have to type "q", followed by 4 other keystrokes.  The "q" gets picked
up by pine, which exits, and the shell gets the next 3 characters.

What the hell is going on here?  Starting Pine 4.05 changed all my saved
mail files around so I can't revert to v3.96.


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

* Re: RH 5.1, alpha and Pine
  1998-11-06  6:44 ` RH 5.1, alpha and Pine Bruce Ediger
@ 1998-11-06  7:01   ` Pooh
  1998-11-06  7:13     ` Pooh
  1998-11-06 12:52     ` Peter Rye
  1998-11-06  7:05   ` wade
                     ` (2 subsequent siblings)
  3 siblings, 2 replies; 15+ messages in thread
From: Pooh @ 1998-11-06  7:01 UTC (permalink / raw)
  To: axp-list

> 
> 
> What is it with Pine that makes it *so* hard to get right under Linux
> on an alpha?

it ain't just pine!!

> Pine 4.05 compiles with a ton of "int cast to pointer of different size"
> messages that (I think) shouldn't matter.  But it's got an even weirder
> problem:
> 
>    It only picks up characters 4 previous to what you've just typed.
> 
> Weird, weird, weird: If I start pine, and I want to immediately quit
> I have to type "q", followed by 4 other keystrokes.  The "q" gets picked
> up by pine, which exits, and the shell gets the next 3 characters.
> 
> What the hell is going on here?  Starting Pine 4.05 changed all my saved
> mail files around so I can't revert to v3.96.

I'm having the same problem (and it's probably 4 keystrokes total for you
one for the 'q' you type and then 3 other keystrokes) with some BBS software
that compiles with 0 warnings, links fine...it should work, right?...
Nope...I have the SAME problem when people try to login to the BBS.  A
programmer friend of mine and I have narrowed it down to a few
possibilities.

1) a bug in select();

2) a bug in read();

3) a bug in the alpha kernel source tree (select(); resides in the kernel
                                          source, libc just has a stub
                                          that references the kernel
                                          source) 

4) a bug in glibc2 (either a bug that was in libc5 and corrected in libc6
                    or just a bug in libc6)
5) a bug in egcs

A programmer at work and I are looking at select(); and read(); as our prime
suspects.

Our reasoning for targeting these two functions comes from the strace I did
on the bbs executable running on both my intel x86 box (running libc5 and
gcc 2.7.2.3) and my alpha (running egcs 1.1b and libc6)

On the intel box, when someone types in their bbs username, this series of
select(); and read();'s (and write();'s, one for each char typed) works
correctly... for each character typed, the read's return 1 (and the char
typed thusly:

alarm(60)                               = 0
select(1, [0], NULL, NULL, {0, 0})      = 0 (Timeout)
write(1, "\r\nWelcome to The Apocalypse BB"..., 523) = 523
select(1, [0], NULL, NULL, NULL)        = 1 (in [0])
read(0, "p", 256)                       = 1
select(1, [0], NULL, NULL, {0, 0})      = 0 (Timeout)
write(1, "p", 1)                        = 1
select(1, [0], NULL, NULL, NULL)        = 1 (in [0])
read(0, "o", 256)                       = 1
select(1, [0], NULL, NULL, {0, 0})      = 0 (Timeout)
write(1, "o", 1)                        = 1
select(1, [0], NULL, NULL, NULL)        = 1 (in [0])
read(0, "o", 256)                       = 1
select(1, [0], NULL, NULL, {0, 0})      = 0 (Timeout)
write(1, "o", 1)                        = 1
select(1, [0], NULL, NULL, NULL)        = 1 (in [0])
read(0, "h", 256)                       = 1
select(1, [0], NULL, NULL, {0, 0})      = 0 (Timeout)
write(1, "h", 1)                        = 1
select(1, [0], NULL, NULL, NULL)        = 1 (in [0])
read(0, "\r", 256)                      = 1
write(1, "\r\n", 2)                     = 2
select(1, [0], NULL, NULL, {0, 0})      = 0 (Timeout)
write(1, "Password: ", 10)              = 10

Now obviously, the userid has been entered and the user gets 

Ok...same scenario on the alpha...except it takes 4 keystrokes for input to
be processed....like so:


setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={60, 0}}, {it_interval={0, 0}, it_value={0, 0}}) = 0
select(1, [0], NULL, NULL, {0, 0})      = 0 (Timeout)
write(1, "\r\nWelcome to The Apocalypse BB"..., 523) = 523
select(1, [0], NULL, NULL, NULL)        = 1 (in [0])
read(0, "pooh", 256)                    = 4
select(1, [0], NULL, NULL, {0, 0})      = 0 (Timeout)
write(1, "pooh", 4)                     = 4
select(1, [0], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)


Ok...now...for SOME reason, read was waiting for 4 keystrokes (and returned
4) ... but WHY????

If this rings any bells with anyone out there...PLEASE let us know  (also,
if you have pppd working (with pap authentication) email me...I'm having
trouble with that too!)



-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jeff Schoby is:                    | "May U live 2 see the dawn."
  Programmer/Analyst               |   -Prince
  City of Columbia, MO             +------+--------------------------------
 ----------------------------------+      |      Owner/President of:
 email:                        |          |      Sacred Soul Records
  | pooh@sacredsoulrecords.com |          |     
  |____________________________|          |    ssr@sacredsoulrecords.com
   Home of the Apocalypse BBS             |http://www.sacredsoulrecords.com
 finger bbs@bbs.sacredsoulrecords.com     +--------------------------------     
 http://www.sacredsoulrecords.com/~bbs/index.html  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



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

* Re: RH 5.1, alpha and Pine
  1998-11-06  7:09   ` borho
@ 1998-11-06  7:05     ` Pooh
  1998-11-06  7:26     ` Wes Bauske
  1 sibling, 0 replies; 15+ messages in thread
From: Pooh @ 1998-11-06  7:05 UTC (permalink / raw)
  To: axp-list


> My guess would be that you've got a mismatch in ncurses or some other
> library.

that might be a valid guess for pine..but.. um... my bbs code doesn't even
touch curses, let alone ncurses... so...I'm pretty certain it's safe to say
it's not an ncurses problem....



-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jeff Schoby is:                    | "May U live 2 see the dawn."
  Programmer/Analyst               |   -Prince
  City of Columbia, MO             +------+--------------------------------
 ----------------------------------+      |      Owner/President of:
 email:                        |          |      Sacred Soul Records
  | pooh@sacredsoulrecords.com |          |     
  |____________________________|          |    ssr@sacredsoulrecords.com
   Home of the Apocalypse BBS             |http://www.sacredsoulrecords.com
 finger bbs@bbs.sacredsoulrecords.com     +--------------------------------     
 http://www.sacredsoulrecords.com/~bbs/index.html  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



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

* Re: RH 5.1, alpha and Pine
  1998-11-06  6:44 ` RH 5.1, alpha and Pine Bruce Ediger
  1998-11-06  7:01   ` Pooh
@ 1998-11-06  7:05   ` wade
  1998-11-06  7:09   ` borho
  1998-11-06  7:24   ` Bob McElrath
  3 siblings, 0 replies; 15+ messages in thread
From: wade @ 1998-11-06  7:05 UTC (permalink / raw)
  To: axp-list

Umm, Well I know that the man command cores on stock release...its a
Redhat thing, kinda like MS...release it and bug fix later, man outta hae 
been obvious.

Only I got this mail server...and me and about 5000 others are using it,
and about 20 of us I know for sure use pine, and I asked 5 of them and its
never hung on me or them either...and o get 500-1000 messages a day in
that box.   I think it may be your system...did you apply the 75M of
patches they have out for it already.  I know they fixed man and stuff,
but I am not sure whether pine was broken as I patched it right away.



On Thu, 5 Nov 1998, Bruce Ediger wrote:

> 
> What is it with Pine that makes it *so* hard to get right under Linux
> on an alpha?
> 
> Red Hat 5.1 comes with Pine 3.96, which looks like it works, until you
> send email, then it hangs.  I think the pine process is blocking SIGCHLD,
> but I can't for the life of me figure out where it does that.
> 
> Pine 4.05 compiles with a ton of "int cast to pointer of different size"
> messages that (I think) shouldn't matter.  But it's got an even weirder
> problem:
> 
>    It only picks up characters 4 previous to what you've just typed.
> 
> Weird, weird, weird: If I start pine, and I want to immediately quit
> I have to type "q", followed by 4 other keystrokes.  The "q" gets picked
> up by pine, which exits, and the shell gets the next 3 characters.
> 
> What the hell is going on here?  Starting Pine 4.05 changed all my saved
> mail files around so I can't revert to v3.96.
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 


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

* Re: RH 5.1, alpha and Pine
  1998-11-06  6:44 ` RH 5.1, alpha and Pine Bruce Ediger
  1998-11-06  7:01   ` Pooh
  1998-11-06  7:05   ` wade
@ 1998-11-06  7:09   ` borho
  1998-11-06  7:05     ` Pooh
  1998-11-06  7:26     ` Wes Bauske
  1998-11-06  7:24   ` Bob McElrath
  3 siblings, 2 replies; 15+ messages in thread
From: borho @ 1998-11-06  7:09 UTC (permalink / raw)
  To: axp-list

On  5 Nov, Bruce Ediger wrote:
> 
> What is it with Pine that makes it *so* hard to get right under Linux
> on an alpha?
> 
> Red Hat 5.1 comes with Pine 3.96, which looks like it works, until you
> send email, then it hangs.  I think the pine process is blocking SIGCHLD,
> but I can't for the life of me figure out where it does that.
> 
> Pine 4.05 compiles with a ton of "int cast to pointer of different size"
> messages that (I think) shouldn't matter.  But it's got an even weirder
> problem:
> 
>    It only picks up characters 4 previous to what you've just typed.
> 
> Weird, weird, weird: If I start pine, and I want to immediately quit
> I have to type "q", followed by 4 other keystrokes.  The "q" gets picked
> up by pine, which exits, and the shell gets the next 3 characters.
> 
> What the hell is going on here?  Starting Pine 4.05 changed all my saved
> mail files around so I can't revert to v3.96.
> 

My guess would be that you've got a mismatch in ncurses or some other
library.

-- 
Steve Borho


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

* Re: RH 5.1, alpha and Pine
  1998-11-06  7:01   ` Pooh
@ 1998-11-06  7:13     ` Pooh
  1998-11-06 12:52     ` Peter Rye
  1 sibling, 0 replies; 15+ messages in thread
From: Pooh @ 1998-11-06  7:13 UTC (permalink / raw)
  To: axp-list


> write(1, "pooh", 4)                     = 4
> select(1, [0], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
> 
> 
> Ok...now...for SOME reason, read was waiting for 4 keystrokes (and returned
> 4) ... but WHY????
> 
> If this rings any bells with anyone out there...PLEASE let us know  (also,
> if you have pppd working (with pap authentication) email me...I'm having
> trouble with that too!)
> 

I should add here that...after these 4 keystrokes are processed, it's
waiting for 4 more...so..I don't get a password prompt until I hit [enter]
and then the first 3 chars of my password.

Very odd indeed...



-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jeff Schoby is:                    | "May U live 2 see the dawn."
  Programmer/Analyst               |   -Prince
  City of Columbia, MO             +------+--------------------------------
 ----------------------------------+      |      Owner/President of:
 email:                        |          |      Sacred Soul Records
  | pooh@sacredsoulrecords.com |          |     
  |____________________________|          |    ssr@sacredsoulrecords.com
   Home of the Apocalypse BBS             |http://www.sacredsoulrecords.com
 finger bbs@bbs.sacredsoulrecords.com     +--------------------------------     
 http://www.sacredsoulrecords.com/~bbs/index.html  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



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

* Re: RH 5.1, alpha and Pine
  1998-11-06  6:44 ` RH 5.1, alpha and Pine Bruce Ediger
                     ` (2 preceding siblings ...)
  1998-11-06  7:09   ` borho
@ 1998-11-06  7:24   ` Bob McElrath
  1998-11-06  7:31     ` Pooh
  3 siblings, 1 reply; 15+ messages in thread
From: Bob McElrath @ 1998-11-06  7:24 UTC (permalink / raw)
  To: axp-list

On Thu, 5 Nov 1998, Bruce Ediger wrote:

> 
> What is it with Pine that makes it *so* hard to get right under Linux
> on an alpha?
> 
> Red Hat 5.1 comes with Pine 3.96, which looks like it works, until you
> send email, then it hangs.  I think the pine process is blocking SIGCHLD,
> but I can't for the life of me figure out where it does that.
> 
> Pine 4.05 compiles with a ton of "int cast to pointer of different size"
> messages that (I think) shouldn't matter.  But it's got an even weirder
> problem:
> 
>    It only picks up characters 4 previous to what you've just typed.
> 
> Weird, weird, weird: If I start pine, and I want to immediately quit
> I have to type "q", followed by 4 other keystrokes.  The "q" gets picked
> up by pine, which exits, and the shell gets the next 3 characters.
> 
> What the hell is going on here?  Starting Pine 4.05 changed all my saved
> mail files around so I can't revert to v3.96.

This is an ncurses problem that can be fixed with
	stty eof '^a'
I'm using a home compiled pine to write this, with the stty thing in my
.cshrc, and it works fine.

-- Bob

  ./'^`\._./'~`\._./'~`\._./'~`\._./'#`\._./'~`\._./'~`\._./'~`\._./'^`\.
 / Rube Goldberg? Bah! Amateur! I give you..Windows 98! Linux everywhere \ 
| Linux, because everyone's work is mission critical.   ANYTHING inside.  |
|_Bob McElrath (mcelrath@wisconsin.cern.ch) Univ. of Wisconsin at Madison_|
  \.___________________________________________________________________./


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

* Re: RH 5.1, alpha and Pine
  1998-11-06  7:09   ` borho
  1998-11-06  7:05     ` Pooh
@ 1998-11-06  7:26     ` Wes Bauske
  1998-11-06  8:33       ` Michal Jaegermann
  1 sibling, 1 reply; 15+ messages in thread
From: Wes Bauske @ 1998-11-06  7:26 UTC (permalink / raw)
  To: axp-list

borho@stlnet.com wrote:
> 
> On  5 Nov, Bruce Ediger wrote:
> >
> > What is it with Pine that makes it *so* hard to get right under Linux
> > on an alpha?
> >
> > Red Hat 5.1 comes with Pine 3.96, which looks like it works, until you
> > send email, then it hangs.  I think the pine process is blocking SIGCHLD,
> > but I can't for the life of me figure out where it does that.
> >
> > Pine 4.05 compiles with a ton of "int cast to pointer of different size"
> > messages that (I think) shouldn't matter.  But it's got an even weirder
> > problem:
> >
> >    It only picks up characters 4 previous to what you've just typed.
> >
> > Weird, weird, weird: If I start pine, and I want to immediately quit
> > I have to type "q", followed by 4 other keystrokes.  The "q" gets picked
> > up by pine, which exits, and the shell gets the next 3 characters.
> >
> > What the hell is going on here?  Starting Pine 4.05 changed all my saved
> > mail files around so I can't revert to v3.96.
> >
> 
> My guess would be that you've got a mismatch in ncurses or some other
> library.
> 

According to some notes I saw go by on the Debian-Alpha
list, it is a problem with ncurses. Something about an
ioctl() not being called to set some value. There was
a way to run a stty command to change a value and the
problem went away. Anyway, try updating your ncurses
rpm.


Wes


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

* Re: RH 5.1, alpha and Pine
  1998-11-06  7:24   ` Bob McElrath
@ 1998-11-06  7:31     ` Pooh
  0 siblings, 0 replies; 15+ messages in thread
From: Pooh @ 1998-11-06  7:31 UTC (permalink / raw)
  To: axp-list


> This is an ncurses problem that can be fixed with
> 	stty eof '^a'
> I'm using a home compiled pine to write this, with the stty thing in my
> .cshrc, and it works fine.

well I'l be damned..


this actually worked for running my bbs by hand from a shell...

my friend of mine and I are obviously looking in the wrong place..

must be a tty init problem 




-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jeff Schoby is:                    | "May U live 2 see the dawn."
  Programmer/Analyst               |   -Prince
  City of Columbia, MO             +------+--------------------------------
 ----------------------------------+      |      Owner/President of:
 email:                        |          |      Sacred Soul Records
  | pooh@sacredsoulrecords.com |          |     
  |____________________________|          |    ssr@sacredsoulrecords.com
   Home of the Apocalypse BBS             |http://www.sacredsoulrecords.com
 finger bbs@bbs.sacredsoulrecords.com     +--------------------------------     
 http://www.sacredsoulrecords.com/~bbs/index.html  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



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

* Re: RH 5.1, alpha and Pine
       [not found] <Pine.LNX.3.96.981106002135.22352A-100000@gutter.ce.washington.edu>
@ 1998-11-06  8:21 ` Wes Nakamura
  1998-11-06 14:28   ` Yung Shing Gene
  0 siblings, 1 reply; 15+ messages in thread
From: Wes Nakamura @ 1998-11-06  8:21 UTC (permalink / raw)
  To: axp-list



I had this same problem when trying to make a few changes to get a text
editor to compile.

Someone suggested I convert the program from using termio to termios,
and it did fix the problem.  There was some discussion about it, but I
can't remember exactly where the fault ended up lying.  I suppose
ncurses is as good a place as any. :-)

Still, it's a little surprising that the problem has persisted for so
long.

-Wes.

: On Thu, 5 Nov 1998, Bruce Ediger wrote:
: 
: > What is it with Pine that makes it *so* hard to get right under Linux
: > on an alpha?
: > 
: > Red Hat 5.1 comes with Pine 3.96, which looks like it works, until you
: > send email, then it hangs.  I think the pine process is blocking SIGCHLD,
: > but I can't for the life of me figure out where it does that.
: > 
: > Pine 4.05 compiles with a ton of "int cast to pointer of different size"
: > messages that (I think) shouldn't matter.  But it's got an even weirder
: > problem:
: > 
: >    It only picks up characters 4 previous to what you've just typed.
: > 
: > Weird, weird, weird: If I start pine, and I want to immediately quit
: > I have to type "q", followed by 4 other keystrokes.  The "q" gets picked
: > up by pine, which exits, and the shell gets the next 3 characters.
: > 
: > What the hell is going on here?  Starting Pine 4.05 changed all my saved
: > mail files around so I can't revert to v3.96.
: 
: This is an ncurses problem that can be fixed with
: 	stty eof '^a'
: I'm using a home compiled pine to write this, with the stty thing in my
: .cshrc, and it works fine.
: 
: -- Bob


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

* Re: RH 5.1, alpha and Pine
  1998-11-06  7:26     ` Wes Bauske
@ 1998-11-06  8:33       ` Michal Jaegermann
  1998-11-06 10:21         ` Bob McElrath
  0 siblings, 1 reply; 15+ messages in thread
From: Michal Jaegermann @ 1998-11-06  8:33 UTC (permalink / raw)
  To: axp-list

Wes Bauske wrote:
> 
> > On  5 Nov, Bruce Ediger wrote:
> > > But it's got an even weirder
> > > problem:
> > >
> > >    It only picks up characters 4 previous to what you've just typed.
> > >
> 
> According to some notes I saw go by on the Debian-Alpha
> list, it is a problem with ncurses.

Are you sure?  I have seen that with other programs and this was a
portability bug in a sources.  Wrong terminal model.  Actually simple
patches for RasMol, which I posted on this list a while ago, were solving
**exactly** that anonyance.

The other know samples of that behaviour were ispell from 5.0 and 5.1
(only in a terminal mode, not when called from another program -
not anymore in 'rawhide' so I guess also not in 5.2) and metamail.

   Michal


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

* Re: RH 5.1, alpha and Pine
  1998-11-06  8:33       ` Michal Jaegermann
@ 1998-11-06 10:21         ` Bob McElrath
  0 siblings, 0 replies; 15+ messages in thread
From: Bob McElrath @ 1998-11-06 10:21 UTC (permalink / raw)
  To: axp-list

On Fri, 6 Nov 1998, Michal Jaegermann wrote:

> Wes Bauske wrote:
> > 
> > > On  5 Nov, Bruce Ediger wrote:
> > > > But it's got an even weirder
> > > > problem:
> > > >
> > > >    It only picks up characters 4 previous to what you've just typed.
> > > >
> > 
> > According to some notes I saw go by on the Debian-Alpha
> > list, it is a problem with ncurses.
> 
> Are you sure?  I have seen that with other programs and this was a
> portability bug in a sources.  Wrong terminal model.  Actually simple
> patches for RasMol, which I posted on this list a while ago, were solving
> **exactly** that anonyance.
> 
> The other know samples of that behaviour were ispell from 5.0 and 5.1
> (only in a terminal mode, not when called from another program -
> not anymore in 'rawhide' so I guess also not in 5.2) and metamail.

The bug lies in the curses emulation mode of ncurses.  If you compile a
program that directly uses ncurses, it doesn't have a problem, but *any*
program that uses curses, and finds ncurses libraries will have it...

I'd love to see this fixed...anyone want to submit a patch to the ncurses
maintainers?

-- Bob

  ./'^`\._./'~`\._./'~`\._./'~`\._./'#`\._./'~`\._./'~`\._./'~`\._./'^`\.
 / Rube Goldberg? Bah! Amateur! I give you..Windows 98! Linux everywhere \ 
| Linux, because everyone's work is mission critical.   ANYTHING inside.  |
|_Bob McElrath (mcelrath@wisconsin.cern.ch) Univ. of Wisconsin at Madison_|
  \.___________________________________________________________________./


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

* Re: RH 5.1, alpha and Pine
@ 1998-11-06 10:26 Roman Martonak
  0 siblings, 0 replies; 15+ messages in thread
From: Roman Martonak @ 1998-11-06 10:26 UTC (permalink / raw)
  To: axp-list

I am using pine under RH 5.0 and it works allright. Cannot that version 
be used also under 5.1 ?

				Roman Martonak.



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

* Re: RH 5.1, alpha and Pine
  1998-11-06  7:01   ` Pooh
  1998-11-06  7:13     ` Pooh
@ 1998-11-06 12:52     ` Peter Rye
  1 sibling, 0 replies; 15+ messages in thread
From: Peter Rye @ 1998-11-06 12:52 UTC (permalink / raw)
  To: axp-list

On Fri, Nov 06, 1998 at 01:01:33AM -0600, Pooh wrote:
> > 
> > 
> > What is it with Pine that makes it *so* hard to get right under Linux
> > on an alpha?
> 
> it ain't just pine!!

That's right. I've seen the same problem with nn.
The solution is the same...you need to use the POSIX termios
headers/libraries rather than termio, which appears to be broken on the
Alpha, but OK on Intel hardware.

I have a patch for pine-4.0x at home which I can send to anyone who
wants it (which also includes support for Maildir mboxes), but it's not
difficult to fix once you see how the pine source is arranged.

-- 
Peter Rye  <prye@picu-sgh.demon.co.uk>
Consultant in Paediatric Intensive Care,  St. George's Hospital, London, UK
Ph: +44 (0)181 725 1932                            Fax: +44 (0)181 725 0089
** Smoking areas in restaurants are like peeing areas in swimming pools. **


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

* Re: RH 5.1, alpha and Pine
  1998-11-06  8:21 ` Wes Nakamura
@ 1998-11-06 14:28   ` Yung Shing Gene
  0 siblings, 0 replies; 15+ messages in thread
From: Yung Shing Gene @ 1998-11-06 14:28 UTC (permalink / raw)
  To: axp-list


Yup, changing from termio to termios did the trick for me. I've made a RPM
for v4.02A (haven't got around to 4.05 yet...) and you can get that, and
the source patches, at ftp://ftp.cz.nus.edu.sg/pub/linux/alpha/

--shing

On Fri, 6 Nov 1998, Wes Nakamura wrote:

> 
> 
> I had this same problem when trying to make a few changes to get a text
> editor to compile.
> 
> Someone suggested I convert the program from using termio to termios,
> and it did fix the problem.  There was some discussion about it, but I
> can't remember exactly where the fault ended up lying.  I suppose
> ncurses is as good a place as any. :-)
> 
> Still, it's a little surprising that the problem has persisted for so
> long.
> 
> -Wes.
> 
> : On Thu, 5 Nov 1998, Bruce Ediger wrote:
> : 
> : > What is it with Pine that makes it *so* hard to get right under Linux
> : > on an alpha?
> : > 
> : > Red Hat 5.1 comes with Pine 3.96, which looks like it works, until you
> : > send email, then it hangs.  I think the pine process is blocking SIGCHLD,
> : > but I can't for the life of me figure out where it does that.
> : > 
> : > Pine 4.05 compiles with a ton of "int cast to pointer of different size"
> : > messages that (I think) shouldn't matter.  But it's got an even weirder
> : > problem:
> : > 
> : >    It only picks up characters 4 previous to what you've just typed.
> : > 
> : > Weird, weird, weird: If I start pine, and I want to immediately quit
> : > I have to type "q", followed by 4 other keystrokes.  The "q" gets picked
> : > up by pine, which exits, and the shell gets the next 3 characters.
> : > 
> : > What the hell is going on here?  Starting Pine 4.05 changed all my saved
> : > mail files around so I can't revert to v3.96.
> : 
> : This is an ncurses problem that can be fixed with
> : 	stty eof '^a'
> : I'm using a home compiled pine to write this, with the stty thing in my
> : .cshrc, and it works fine.
> : 
> : -- Bob
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 


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

end of thread, other threads:[~1998-11-06 14:42 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-11-06 10:26 RH 5.1, alpha and Pine Roman Martonak
     [not found] <Pine.LNX.3.96.981106002135.22352A-100000@gutter.ce.washington.edu>
1998-11-06  8:21 ` Wes Nakamura
1998-11-06 14:28   ` Yung Shing Gene
  -- strict thread matches above, loose matches on Subject: below --
1998-11-04 15:31 Applixware! Eric Ding
1998-11-06  6:44 ` RH 5.1, alpha and Pine Bruce Ediger
1998-11-06  7:01   ` Pooh
1998-11-06  7:13     ` Pooh
1998-11-06 12:52     ` Peter Rye
1998-11-06  7:05   ` wade
1998-11-06  7:09   ` borho
1998-11-06  7:05     ` Pooh
1998-11-06  7:26     ` Wes Bauske
1998-11-06  8:33       ` Michal Jaegermann
1998-11-06 10:21         ` Bob McElrath
1998-11-06  7:24   ` Bob McElrath
1998-11-06  7:31     ` Pooh

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