Re: alias file perms error

2001-10-05 Thread David T-G

Sharukh --

...and then Dr . Sharukh K . R . Pavri . said...
% Yes, i finally got it sorted out. I had to give the editor value in
% .bash_profile.

Do you mean that you had to set EDITOR= in your .bash_profile file at
all, or that you had to put whatever $EDITOR is (from .bash_profile)
directly into your muttrc file?

In the case of the latter, you could go back to $EDITOR in your muttrc
file and be sure to export EDITOR in your .bash_profile file.


% 
% It works now.

*That* is the important part :-)


% 
% regards,
% 
% Sharukh.


HTH  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


 PGP signature


Re: alias file perms error

2001-10-04 Thread Dr . Sharukh K . R . Pavri .

Yes, i finally got it sorted out. I had to give the editor value in
.bash_profile.

It works now.

regards,

Sharukh.

René Clerc muttered:
 * Dr . Sharukh K . R . Pavri . [EMAIL PROTECTED] [03-10-2001 16:34]:
 
 | I am using mutt 1.2.5i with a hodge podge .muttrc. I have pinched the
 | following from Roland Rosenfeld's keybindings :
 |  
 | macro   index   \ea !$EDITOR ~/.mutt_alias\n:source ~/.mutt_alias\n \
 | Edit aliases file and reload it
 |  
 | but using esca gives the following error
 
 I use the following (ctrl-a)
 
 macro index \Ca !\${EDITOR} ~/.mutt/aliases\n:source ~/.mutt/aliases\n \
 edit addressbook
 
 I thinkt the problem lies with the $; I think it needs to be
 escaped.
 
 In your situation, I think mutt tries to execute the .mutt_alias file,
 and that is, of cours, not possible.
 
 -- 
 René Clerc  - ([EMAIL PROTECTED])
 
 Birthdays are good for you. Statistics show that the people who
 have the most live the longest.
 -Rev. Larry Lorenzoni

-- 
Dr. Sharukh K. R. Pavri
Mumbai, India.



Re: alias file perms error

2001-10-03 Thread Suresh Ramasubramanian

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dr . Sharukh K . R . Pavri . mutt [03/10/01 19:58 +0530]:
 sh: /home/spavri/.mutt_alias: Permission denied
 Press any key to continue...
 Ths is what I have:
 [spavri@farzaan spavri]$ ls -al .mutt_alias
 -rw---1 spavri   spavri   5228 Oct  3 19:46 .mutt_alias

chmod 755 .mutt_alias - that's a shell (or perl) script and should be
executable.

-suresh

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE7uyLeRB4r9e3t77kRAv6JAKCg5z1elAsV2Gt3T/Sh/UebrXoZBgCfUsVu
YD7LqFVJ2c/ep1PoubAfZEA=
=7vZp
-END PGP SIGNATURE-



Re: alias file perms error

2001-10-03 Thread René Clerc

* Dr . Sharukh K . R . Pavri . [EMAIL PROTECTED] [03-10-2001 16:34]:

| I am using mutt 1.2.5i with a hodge podge .muttrc. I have pinched the
| following from Roland Rosenfeld's keybindings :
|  
| macro   index   \ea !$EDITOR ~/.mutt_alias\n:source ~/.mutt_alias\n \
| Edit aliases file and reload it
|  
| but using esca gives the following error

I use the following (ctrl-a)

macro index \Ca !\${EDITOR} ~/.mutt/aliases\n:source ~/.mutt/aliases\n \
edit addressbook

I thinkt the problem lies with the $; I think it needs to be
escaped.

In your situation, I think mutt tries to execute the .mutt_alias file,
and that is, of cours, not possible.

-- 
René Clerc  - ([EMAIL PROTECTED])

Birthdays are good for you. Statistics show that the people who
have the most live the longest.
-Rev. Larry Lorenzoni



Re: alias file perms error

2001-10-03 Thread Suresh Ramasubramanian

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Suresh Ramasubramanian mutt [03/10/01 20:08 +0530]:
  Ths is what I have:
  [spavri@farzaan spavri]$ ls -al .mutt_alias
  -rw---1 spavri   spavri   5228 Oct  3 19:46 .mutt_alias
 chmod 755 .mutt_alias - that's a shell (or perl) script and should be
 executable.

Boggle ... I must have been cross-eyed, or drunk.  Your standard mutt aliases
file :(

 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE7uyjtRB4r9e3t77kRAj2RAKC+PChPNDcC2tDAHb8K/XcIyAA8gwCeJNNd
VEDFPFJBbxn2drEvcVFGA1s=
=gHIT
-END PGP SIGNATURE-



Re: alias file perms error

2001-10-03 Thread David Champion

On 2001.10.03, in [EMAIL PROTECTED],
René Clerc [EMAIL PROTECTED] wrote:
 
 I thinkt the problem lies with the $; I think it needs to be
 escaped.

I think $EDITOR is not defined. To be fully traditional, you should have
${VISUAL:-${EDITOR:-vi}}, or something like that -- it escapes the case
of not having the variable set by providing suitable failover.

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago