[comp.mail.mush] mush troubles

sanjay@Eng.Sun.COM (Sanjay Jain) (08/04/90)

Hi,
    I am new to mush, and have recently started using it. I have 
just used it for a couple of days, and find some of the things 
irritating.  Is there a mush guru out there who could help me out?

    1.  Whenever I want to move a mail message to a folder, mush 
    asks me for a confirmation.  Is there anyway to turn this off?  
    I couldnt find it in the man pages, but then I was not sure 
    what to look for.

    2. When I go through the folder menu, I get this huge list of 
    folders.  I was using mailtool on a sun before this, and had 
    organised these in directories.  mailtool would show me the 
    folder directpry, adn then I could walk through to the folder 
    I wanted.  I would very much like to see the same feature in mush.

    3. Mailtool had a convenient feature that allowed you to also see 
    the ignored headers if you really wanted to. (You could do a 
    <shift><show>) I tried changing the headers being ignored through 
    the options menu, but mushtool would still not show me a field 
    that was ignored at mush-startup

    4. One of the really neat features with regard to folders in 
    mailtool was a small cache of recently accessed folders maintained 
    by the tool.  One could select these folders conveniently by hitting 
    the right mouse button at the "File:" prompt.

    5. The other point to note is that the folder accessed through the 
    folder menu does not become the default folder.  This can be really 
    handy at times.

    6. About the sort options, it would be nice to be able to sort a 
    folder by the recipient.  (Extremely handy for the record!)

thanks
sanjay

PS: Could you please send me mail, as I am not on this mailing list?

argv@turnpike.Eng.Sun.COM (Dan Heller) (08/05/90)

In article <9008032047.AA01308@jugnu.Eng.Sun.COM> sanjay@Eng.Sun.COM (Sanjay Jain) writes:
> Is there a mush guru out there who could help me out?
well, I'll try, but there are probably others more experienced with
the toolmode than I am :-)

>     1.  Whenever I want to move a mail message to a folder, mush 
>     asks me for a confirmation.  Is there anyway to turn this off?  
Based on your other comments, I'm reasonably sure that you are
off by one or two versions of the software.  However, just in case
you're using the current version, you probably have $verify set to
include "save" -- e.g. "set verify = save" (you can set this to one
or more of a list of values).

>     2. When I go through the folder menu, I get this huge list of 
>     folders.  I was using mailtool on a sun before this, and had 
>     organised these in directories.
If you are using the latest version, you must compile with WALK_MENUS
defined.  You should probably add -DWALK_MENUS to the CFLAGS line in
your makefile.  If you've got an old version, this isn't available.

>     3. Mailtool had a convenient feature that allowed you to also see 
>     the ignored headers if you really wanted to. (You could do a 
If you have "alwaysignore" set, then nothing you can do with show
your ignored headers.  However, despite that, you may be right that
there is no way to view a message thru the "normal" sunview interface
that doesn't ignore ignored headers.  You can, however, define a
function key to do this (see the man page for fkeys for details).

>     4. One of the really neat features with regard to folders in 
>     mailtool was a small cache of recently accessed folders maintained 
>     by the tool.  One could select these folders conveniently by hitting 
>     the right mouse button at the "File:" prompt.
Mush provides # as the "last accessed folder" and you can toggle back
and forth between two folders without ever changing the text item.
The other more commonly accessed folders are available as the first
3 menu items in the "folder" menu.  I must admit that I don't really
understand what you want very much (I'm trying to use sun's mailtool
to see what you mean, but it keeps coredumping on me -- I think I have
an out of date version of it).

>     5. The other point to note is that the folder accessed through the 
>     folder menu does not become the default folder.  This can be really 
>     handy at times.
Why should it become the default folder?  If you want to change the default
folder, go to the options menu and change the value for "mbox" -- that's
your default folder.

>     6. About the sort options, it would be nice to be able to sort a 
>     folder by the recipient.  (Extremely handy for the record!)
Noted.  Thanx.

> PS: Could you please send me mail, as I am not on this mailing list?
This went to the mailing list, too.  You have news available, so you
can read comp.mail.mush.

--
dan
----------------------------------------------------
O'Reilly && Associates   argv@sun.com / argv@ora.com
Opinions expressed reflect those of the author only.

schaefer@CSE.OGI.EDU ("Barton E. Schaefer") (08/07/90)

On Aug 5,  6:08am, Dan Heller wrote:
} Subject: Re: mush troubles
}
} In article <9008032047.AA01308@jugnu.Eng.Sun.COM> sanjay@Eng.Sun.COM (Sanjay Jain) writes:
} 
} >     3. Mailtool had a convenient feature that allowed you to also see 
} >     the ignored headers if you really wanted to.
} If you have "alwaysignore" set, then nothing you can do with show
} your ignored headers.

That isn't precisely correct.  You *should* be able to change the ignored
headers through the options subwindow.  However, if you have the variable
show_hdrs set, then the list of ignored headers is not used, and instead,
the headers listed in $show_hdrs are the only ones displayed.  In that
case, you have to use the variables selections from the options menu to
change the value of $show_hdrs.

} However, despite that, you may be right that
} there is no way to view a message thru the "normal" sunview interface
} that doesn't ignore ignored headers.  You can, however, define a
} function key to do this (see the man page for fkeys for details).

That isn't a very helpful solution because there isn't any man page
entry for fkeys.  The fkeys interface became officially "obsolete" as
of 7.1 and is no longer documented.  It is still supported for backwards
compatibility; the syntax for use in .mushrc is:

    fkey <key-name> <command>

The <key-name> is any of L1, L2, ..., F1, F2, ..., R1, R2, ... but of
course you should choose one that isn't already assigned to a SunView
function.  The <command> is just a command as you would type it at the
line-mode prompt, but should be limited to the various display commands
(print, type, etc.) or to commands that do not require user interaction.

The specific command to solve your problem is "Print", so something like

    fkey R9 Print

(where R9 may be a really bad choice, I don't know) is what you need.

-- 
Bart Schaefer						schaefer@cse.ogi.edu