[comp.mail.elm] Another for the wish list...

monts%quicksilver@Sun.COM (Mike Monts) (03/02/90)

I have set up a large number of folders, and when doing a Change, I
like to request a list of folders using ?. Due to the large number
of folders, things tend to scroll past to fast to read. Could some 
kind of a pager be added to prevent the scrolling?

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Mike Monts	                	INTERNET:       monts@sun.com +
+ Sun Microsystems, Inc.           	PHONE:       	(415)336-1495 +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

fred@cdin-1.UUCP (Fred Rump) (03/03/90)

In article <132429@sun.Eng.Sun.COM> monts@quicksilver.Eng.Sun.COM (Mike Monts) writes:
>I have set up a large number of folders, and when doing a Change, I
>like to request a list of folders using ?. Due to the large number
>of folders, things tend to scroll past to fast to read. Could some
>kind of a pager be added to prevent the scrolling?

Oh, yes please.

I try to stop those suckers from flying by using control s but its a real 
crapshoot as to what I get.

This also brings to mind a wish that would permit me to go thru all those 
folders sequentially somehow to weed out ancient messages that are of no 
relevance anymore.

At this time they tend to simply take up space.

I suppose their is no way to list them by date for deletion beyond some date? 

fred
-- 
Fred Rump              | UUCP:  {uunet bpa dsinc}!cdin-1!fred
CompuData, Inc.        |  or ...{allegra killer gatech!uflorida decvax!ucf-cs}
10501 Drummond Rd.     |         !ki4pv!cdis-1!cdin-1!fred
Philadelphia, Pa. 19154| Internet: fred@cdin-1.uu.net    (215-824-3000)

jpederse@encad.Wichita.NCR.COM (John.Pedersen) (03/04/90)

monts%quicksilver@Sun.COM (Mike Monts) writes:

>I have set up a large number of folders, and when doing a Change, I
>like to request a list of folders using ?. Due to the large number
>of folders, things tend to scroll past to fast to read. Could some 
>kind of a pager be added to prevent the scrolling?

Boy, I'll second that one.

-- 
John Pedersen		N5DKQ		NCR Peripheral Products Division
Engineering Computer Systems Support 	3718 N. Rock Road
John.Pedersen@wichita.NCR.Com		Wichita KS 67226-1397
316-636-8837	VPlus 654-8837		FAX 316-636-8889

roy@comcon.UUCP (Roy M. Silvernail) (03/04/90)

In article <886@cdin-1.UUCP>, fred@cdin-1.UUCP (Fred Rump) writes:
> 
> This also brings to mind a wish that would permit me to go thru all those 
> folders sequentially somehow to weed out ancient messages that are of no 
> relevance anymore.

From the Bash command line

for i in ~/Mail/*;do elm -f $i;done

as a shell script, I suppose

----cut---here---
for i in ~/Mail/*
do
elm -f $i
done
----cut---here---

Then, just Q out of each folder after you've culled. I went through
about 40 folders today (pre-move housecleaning :-)
-- 
_R_o_y _M_. _S_i_l_v_e_r_n_a_i_l  | UUCP: uunet!comcon!roy  |  "Every race must arrive at this
#include <opinions.h>;#define opinions MINE  |   point in its history"
SnailMail: P.O. Box 210856, Anchorage,       |   ........Mr. Slippery
Alaska, 99521-0856, U.S.A., Earth, etc.      |  <Ono-Sendai: the right choice!>

taylor@limbo.Intuitive.Com (Dave Taylor) (03/05/90)

John.Pedersen and Mike Monts ask about having the folder listing
routine called by '?' put through a pager...

This should actually be prety easy, actually, as the program simply 
opens up a pipe to an "ls" process...in the file "syscall.c", the 
routine is as follows:

  list_folders()
  {
        /** List the folders in the users FOLDERHOME directory.  This is
            simply a call to "ls -C"
        **/

        char buffer[SLEN];

        CleartoEOS();   /* don't leave any junk on the bottom of the screen */
        sprintf(buffer, "cd %s;ls -C", folders);
        printf("\n\rContents of your folder directory:\n\r\n\r");
        system_call(buffer, SH);
        printf("\n\r");
  }

To make it go through a pager, try changing the invocation to something
more like: 
	sprintf(buffer, "cd %s; ls -C | %s", folders, pager");
where "pager" is set to whatever your favorite pager might be...

Of course, looking at this routine a bit closer, it really shouldn't
have the "ls -C" call buried so deep in the code anyway.  ;-\

						-- Dave Taylor
Intuitive Systems
Mountain View, California

taylor@limbo.intuitive.com    or   {uunet!}{decwrl,apple}!limbo!taylor