Subject: PC-Pine: size of PC-PINE window on open

From: "Timothy J. Luoma" <[email-masked]>
Date: Sat, 2 Mar 2002 21:42:36 -0500 (Eastern Standard Time)

Whenever I start PC-PINE, the window is nearly maximized (but not).

I would like the window to open at a set size.

Is there a way to do that?

TjL

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

---

From: Nancy McGough <[email-masked]>
Date: Sun, 3 Mar 2002 08:01:48 +0000 (GMT)

> Is there a way to do that?

I've messed around with this and I think the deal is that the
possible positions that PC-Pine can take are a fewer than the
possible positions a normal window can take. I think this is
because the PC-Pine screen size is built using character-size
rather than pixels. What I usually do is use my mouse to size and
place the window. Then I quit PC-Pine and restart it and see if
it's where I put it last time. Usually it's not exactly right.
Then I close PC-Pine again and open my pinercex, which is where
this info is stored (if you don't use pinercex, it's in pinerc).
Look for the window-position variable. Here's what I've got

 # Window position in the format: CxR+X+Y
 # Where C and R are the window size in characters and X and Y are the
 # screen position of the top left corner of the window.
 ## window-position=99x32+1+0ba
 window-position=99x32+1+0ba

Mess around with the settings until you get something you like.
Then, here's a TIP...

 Make a copy of the setting and leave it in your pinercex
 as a comment!

That's what my line that starts with ## is for. This way if you
accidentally move the PC-Pine window, you can easily get back to
the setting you like because you've got it safely stored as a
comment.

HTH,
Nancy
^x

PS to Tim - I link to your Triple Colors page in this section of
my Power Pine page

 <http://www.ii.com/internet/messaging/pine/pc/#color>

-- 
ii Main Pine Page: <http://www.ii.com/internet/messaging/pine/>

Nancy McGough           <http://www.ii.com/>           Infinite Ink
--= Sent via Pine 4.44: IMAP, NNTP & ESMTP for Unix/Win/MacOS X =--

---

From: "Timothy J. Luoma" <[email-masked]>
Date: Sun, 3 Mar 2002 16:45:27 -0500 (Eastern Standard Time)

> Mess around with the settings until you get something you like.

Thanks for the tip... it's too bad PC-PINE can't behave better.

>  <http://www.ii.com/internet/messaging/pine/pc/#color>

Cool :-)

TjL

---

From: Steve Hubert <[email-masked]>
Date: Tue, 5 Mar 2002 14:56:40 -0800 (Pacific Standard Time)

We're kind of confused by this discussion because recent pines should be
storing the window position in the registry, not in the config file. The
config file entry is supposed to be ignored if there is a registry entry.
The position of the last pine exited should be the position where the next
pine starts up.

Since pine4.44 we've found that this gets in the way of the way some
people would like to use pine so there will be a new configuration feature
called "store-window-position-in-config" in pine4.50.

Steve Hubert

---

From: Nancy McGough <[email-masked]>
Date: Wed, 6 Mar 2002 14:07:14 +0000 (GMT)

> config file entry is supposed to be ignored if there is a registry entry.

What I wrote to Tim was based on experiments I did a while ago so
now I know that the window-position line in my config file isn't
doing anything...

> The position of the last pine exited should be the position where the next

The main problem I've had (and this was a while ago) was that if
I clicked on the maximize button in the PC-Pine upper right
corner (between the _ and X buttons), PC-Pine would fill up my
screen. But then, the next time I started PC-Pine it wasn't truly
maximized. I don't want to experiment with this now, especially
since I can no longer easily save my current setting in my config
file!

> called "store-window-position-in-config" in pine4.50.

Can you tell me more about what people don't like? I don't like
anything in the registry because I want to be able to edit these
types of things in a text file using gvim and save backups and do
things the good old fashioned unix way.

Thanks,
Nancy
posted & cc'd

---

From: "Timothy J. Luoma" <[email-masked]>
Date: Wed, 6 Mar 2002 09:59:09 -0500 (Eastern Standard Time)

> things the good old fashioned unix way.

What she said.

The less we rely on the registry, the better, IMO.

It also saves people like me from pouring through the PINERC (where
everything else is) looking for the setting, only to find that it isn't
there but in the registry.

TjL

---

From: Steve Hubert <[email-masked]>
Date: Wed, 6 Mar 2002 09:14:28 -0800 (Pacific Standard Time)

> since I can no longer easily save my current setting in my config

Yes, I see that, too. Certainly is a bug. Thanks.

> things the good old fashioned unix way.

The problem is just if somebody wants to start two pines with two config
files and have them located in two spots on the screen. You can't do that
in pine4.44 without manually moving one of them after you start up.

Steve

---

From: Terry Gray <[email-masked]>
Date: Wed, 6 Mar 2002 10:27:50 -0800 (Pacific Standard Time)

> in pine4.44 without manually moving one of them after you start up.

I'll add that the change to use the registry was prompted by complaints
about having to create and keep track of a local exceptions pinerc file
*just* to record screen position --which is machine specific, so using a
central/shared pinerc cause undesired results for folks who use computers
with different screen resolutions.

Some people hate the registry, some people hate lots of "exception" files.
I hate them both, but believe we should provide the registry option in
PC-land, since that's the way PC apps are supposed to do it.  With the
next release, folks will have their choice of which mechanism they prefer.

-teg

---

From: Nancy McGough <[email-masked]>
Date: Thu, 7 Mar 2002 09:15:39 +0000 (GMT)

> with different screen resolutions.

But shouldn't a central/shared pinerc be specified by %PINECONF%?
Then the regular old %PINERC% could be used for user &
machine-specific settings and a user who didn't want to use 3
config files wouldn't need to create a pinercex file?

Here are a couple wishes in my Pine Wish list related to this
issue:

*  If we can't have the previous wish, allow PC-Pine to use an
   analog of pine.conf.fixed so that PC-Pine and Unix Pine can both
   use 4 configuration files and thus easily share them. Suggestion:
   Use %PINECONFFIXED% in PC-Pine to specify this fourth
   configuration file.

*  Have default file names in PC-Pine for pine.conf and
   pine.conf.fixed so that a user doesn't have to
   use environment variables to specify these.

You can read these and all of my Pine wishes here:

   <http://www.ii.com/internet/messaging/pine/#wishes>

> next release, folks will have their choice of which mechanism they prefer.

I think giving us the choice is great. Are we going to be able to
set any other settings that are currently set in the registry in
plain old text files?

Thanks!
Nancy
posted & cc'd
^x

---

From: Terry Gray <[email-masked]>
Date: Fri, 8 Mar 2002 09:17:56 -0800 (Pacific Standard Time)

> config files wouldn't need to create a pinercex file?

No, I'm talking about the remote_pinerc facility for sharing a *personal*
pinerc across a bunch of different machines that an individual may use,
not a global site-policy pine.conf.  For myself, I use lots of different
computers on a daily basis, and my single remote_pinerc is the *only*
config file I need or want to worry about.  You can specify such a
remote/shared pinerc either via the -p command line option or via registry
settings.

-teg

---

From: Nancy McGough <[email-masked]>
Date: Sat, 9 Mar 2002 09:22:15 +0000 (GMT)

> remote/shared pinerc either via the -p command line option or via registry

Thanks for the explanation Terry, I interpreted "central/shared"
as shared among many users rather than shared by one user on many
machines. My mistake - this is a lesson for me to try to get in
the habit of using the phrases

 generic pinerc
 personal pinerc
 machine-specific pinerc

so I don't confuse people when I write about this stuff, e.g.,
here

 <http://www.ii.com/internet/messaging/pine/sharing/>

And it's good for me to hear that some people, e.g. you, don't
have any desire to compartmentalize and would rather have
all their config information in one file! If anyone has any
feedback on the way I've written about this or the terminology
I'm using, e.g., "generic pinerc," I'd really appreciate it.

Also, here is a question: In the Unix world, when a pine user
uses an IMAP-accessible pinerc, where do machine-specific
settings go (since there's no registry)? It seems to me that pine
should create a local pinercex, if it doesn't already exist, for
storing things like last-version-used and, if they are using X
Windows, window-position and font. I don't have much experience
with X Windows so maybe it has an analog to the registry?

Thanks,
Nancy
^x
 still trying to spread the modularization word

---

From: Terry Gray <[email-masked]>
Date: Sat, 9 Mar 2002 09:01:32 -0800 (Pacific Standard Time)

> with X Windows so maybe it has an analog to the registry?

This would be a function of the "xterm" program, through which one would
invoke Pine (or any other terminal-based app).  Being a terminal-based
app, Unix Pine has no notion itself of window size or position.
X apps such as xterm are driven by a hierarchy of X-specific config files,
in the normal Unix tradition.

-teg

---

From: "h.bork" <[email-masked]>
Date: Sun, 10 Mar 2002 19:48:54 +0100 (CET)

Hello together, 

having used 
	Pine 4.21 on Linux via telnet 
	(Anzio on NT and hp deskjets) 
for quite some time now , we can easily print mails.
Now, we would like to 
	print several hundreds of mails 
	for archiving purposes.
All mails contained in one folder.
Sitting in front of the folder index, 
whatever we have tried up to now 
- select by ;  and apply a collective print command -
	we unfortunately only get one single print 
	of the one and only single mail
that the cursor actually lights in the index.

What's wrong, what might be our mistake ?
Any hints welcome, kind regards, hbk ;-)

---

From: Mats Dufberg <[email-masked]>
Date: Sun, 10 Mar 2002 22:24:31 +0100 (CET)

> 	Pine 4.21 on Linux via telnet
(...)
> that the cursor actually lights in the index.

I have pine 4.33.

When I try "select all" (;a) and "apply print" (a%) all messages are
printed (the contents of them, not the list).

Mats

-----------------------------------------------------------------
Mats Dufberg                                 [email-masked]
Blåarvsgränd 42                                    +46-8-38 48 59
SE-162 45 Vällingby, Sweden                       +46-70-258 2588