Subject: pine-debug blues

From: Paul De Luca <[email-masked]>
Date: Fri, 23 Mar 2001 23:31:15 +1100

Hi,
     My problem is as follows:

Pine keeps dropping .pine-debug files
in my home directory. The only way to stop it is by
using the command line option "pine -d 0" every time I wish to start pine.
I expierience no notable problems when using pine, besides these files
appearing in my home directory every time I start the program without the 
previously mentioned options.

After looking through the debug file I came accross the suscpicious line:

ioctl(TIOCWINSZ) failed :Invalid argument

Does anyone know exactly what the problem is, or how to go about solving it?
If needed I will post the whole dubug file to the list.

-----------------------------------------
Paul De Luca
Email: [email-masked]
Ph: +61 414 225561
-----------------------------------------

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Walt Smith <[email-masked]>
Date: Fri, 23 Mar 2001 10:18:47 -0500 (EST)

Create an alias so that when you enter

pine

at the prompt,

pine -d 0

is what's actually executed.

-- 
Walt Smith - Raleigh, NC
[email-masked]

---

From: Gopi Sundaram <[email-masked]>
Date: Fri, 23 Mar 2001 17:53:59 -0500 (EST)

On Fri, 23 Mar 2001, Paul De Luca wrote:

> Pine keeps dropping .pine-debug files in my home directory. The
> only way to stop it is by using the command line option "pine -d
> 0" every time I wish to start pine.

http://www.washington.edu/pine/faq/usage.html#5.3

-- 
Gopi Sundaram
[email-masked]
http://www.cse.sc.edu/~gopalan/Pine/

---

From: Eduardo Chappa <[email-masked]>
Date: Fri, 23 Mar 2001 15:03:58 -0800 (PST)

*** Paul De Luca ([email-masked]) wrote in the pine-info list today:

:) After looking through the debug file I came accross the suscpicious line:
:)
:) ioctl(TIOCWINSZ) failed :Invalid argument
:)
:) Does anyone know exactly what the problem is, or how to go about solving it?
:) If needed I will post the whole dubug file to the list.

That message is sent because Pine could not get the size of the screen
that you are using to run it. Below is the comment in the source code
about this failure. Does it apply to you?

      /* Depending on the OS, the ioctl() may have failed because
         of a 0 rows, 0 columns setting.  That happens on DYNIX/ptx 1.3
         (with a kernel patch that happens to involve the negotiation
         of window size in the telnet streams module.)  In this case
         the error is EINVARG.  Leave the default settings. */

-- 
Eduardo
http://www.math.washington.edu/~chappa/pine/

---

From: Paul De Luca <[email-masked]>
Date: Sat, 24 Mar 2001 21:06:56 +1100

>          the error is EINVARG.  Leave the default settings. */

Thanks for the reply,
                         Although I know that these files are only small, 
and I never get more than four, I wasnt sure whether something seriously 
wrong was happening that I was unaware of, or whether there was some quick 
hack to stop it. Besides, a tidy /~ directory is a tidy mind ;) The comment 
from the source code probably does apply to me, as I telnet into my unix 
account, using pine to read my mail. Other pine users at my uni comment on 
this problem, so I will be able to pass this info on. I will just have to 
set up an alias like someone else recommended. Thanx again.