Re: Orphaned tmp files?

2001-04-20 Thread Andre Berger

* Rich Lafferty [EMAIL PROTECTED], 2001-04-19 22:54 +0200:
 
 Rich Lafferty [EMAIL PROTECTED], 2001-04-19 09:53 +0200:
  
  They're not emacs backup files (no tilde);
 
 On Thu, Apr 19, 2001 12:36:31PM +0200, Andre Berger ([EMAIL PROTECTED]) wrote:
  
  set editor="vim -c 'set nobackup' -c 'set tw=72 et' -c 'syn on' '+/: $'"
 
 Given that (1) they're not backup files from my editor, and (2) I
 don't use vi, I don't think that's going to help much.

Sorry for the noise. Another idea, does explicitely "set tempdir="/tmp" 
change anything?

Andre Berger[[EMAIL PROTECTED]]



Re: Orphaned tmp files?

2001-04-19 Thread Andre Berger

* Rich Lafferty [EMAIL PROTECTED], 2001-04-19 09:53 +0200:
 On Thu, Apr 19, 2001 at 12:10:54AM -0400, Wade A. Mosely ([EMAIL PROTECTED]) 
wrote:
  
  I've noticed mutt files building up in /tmp too.  I use vim for
  the editor, and nobackup seems to be the default.  In any case, I
  have nobackup set, but I still get the files accumulating in /tmp
  so I'm not sure what the story is about that.
 
 I've seen that constantly in the couple of years I've been using
 mutt. They're not emacs backup files (no tilde); I've just left it up
 to the tmp cleaner.
 
   -Rich 

I had this "problem" too, it's gone since I've set "nobackup"
expilcitely. Here's my complete setting for Vim 5.7, as reference:

set editor="vim -c 'set nobackup' -c 'set tw=72 et' -c 'syn on' '+/: $'"

Andre Berger[[EMAIL PROTECTED]]

 PGP signature


Re: Orphaned tmp files?

2001-04-19 Thread Rich Lafferty


Rich Lafferty [EMAIL PROTECTED], 2001-04-19 09:53 +0200:
 
 They're not emacs backup files (no tilde);

On Thu, Apr 19, 2001 12:36:31PM +0200, Andre Berger ([EMAIL PROTECTED]) wrote:
 
 set editor="vim -c 'set nobackup' -c 'set tw=72 et' -c 'syn on' '+/: $'"

Given that (1) they're not backup files from my editor, and (2) I
don't use vi, I don't think that's going to help much.

  -Rich

-- 
-- Rich Lafferty ---
 Sysadmin/Programmer, Instructional and Information Technology Services
   Concordia University, Montreal, QC (514) 848-7625
- [EMAIL PROTECTED] --



Re: Orphaned tmp files?

2001-04-19 Thread Andre Berger

* Rich Lafferty [EMAIL PROTECTED], 2001-04-19 16:33 +0200:
 
 Rich Lafferty [EMAIL PROTECTED], 2001-04-19 09:53 +0200:
  
  They're not emacs backup files (no tilde);
 
 On Thu, Apr 19, 2001 12:36:31PM +0200, Andre Berger ([EMAIL PROTECTED]) wrote:
  
  set editor="vim -c 'set nobackup' -c 'set tw=72 et' -c 'syn on' '+/: $'"
 
 Given that (1) they're not backup files from my editor, and (2) I
 don't use vi, I don't think that's going to help much.

Yes. You could try to set the tmp path explicitely and see what happens?

Andre Berger[[EMAIL PROTECTED]]



Re: Orphaned tmp files?

2001-04-19 Thread Ulf Erikson

* Duke Normandin [EMAIL PROTECTED] [2001-04-18, 21:14 -0600]:
 On Wed, Apr 18, 2001 at 09:58:58AM -0400, Jim Lambert wrote:
 
  I've noticed that mutt occasionally forgets to clean up tmp files.
  It seems to be an intermittent problem and I was wondering if other
  users had seen it.
  
  -Jim
 
 I have exactly the same problem using Joe as my editor, which BTW, is set
 to make no backups. Sometimes the Mutt temp. files are empty, and at
 other times they contain the entire message.

When the file contains an entire message, is it one that you have viewed
in a pager (internal or external?) or one that you have composed in your
editor?

I had the problem that every message viewed in the pager got left behind
when I run Mutt on MS Windows'2000. (and, if i recall, the same happened
with cygwin if the temp directory was on a fat drive but not when it was
on an ntfs drive) Since it was very consistent it might not be the same,
but it seemed as if unlink misbehaved when unlinking open files. A small
change in pager.c to not unlink until after the file is closed solved my
temp-file mysterium.

/Ulf



Orphaned tmp files?

2001-04-18 Thread Jim Lambert

I've noticed that mutt occasionally forgets to clean up tmp files.
It seems to be an intermittent problem and I was wondering if other
users had seen it.

-Jim


mutt -v
Mutt 1.2.5i (2000-07-28)
Copyright (C) 1996-2000 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: SunOS 5.8 [using slang 10202]
Compile options:
DOMAIN="shore.net"
-DEBUG
+HOMESPOOL  -USE_SETGID  +USE_DOTLOCK  +USE_FCNTL  -USE_FLOCK
+USE_IMAP  -USE_GSS  -USE_SSL  +USE_POP  +HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  +ENABLE_NLS
+COMPRESSED
SENDMAIL="/usr/lib/sendmail"
MAILPATH="mailbox"
SHAREDIR="/home/1/j/jlambert/local/lib/mutt"
SYSCONFDIR="/home/1/j/jlambert/local/etc"
ISPELL="/usr/local/bin/ispell"
To contact the developers, please mail to [EMAIL PROTECTED].
To report a bug, please use the muttbug utility.

-- 
[EMAIL PROTECTED] (Replace Z's with E's to reply)

The nice thing about standards is that 
there are so many to choose from.
- Anonymous 


 PGP signature


Re: Orphaned tmp files?

2001-04-18 Thread Suresh Ramasubramanian

Jim Lambert proclaimed on mutt-users that: 

 I've noticed that mutt occasionally forgets to clean up tmp files.
 It seems to be an intermittent problem and I was wondering if other
 users had seen it.

Check your editor settings - if its vim, it'll be something like 

 set nobackup  " do not keep a backup file, use versions instead

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin



Re: Orphaned tmp files?

2001-04-18 Thread Lars Hecking

Jim Lambert writes:
 I've noticed that mutt occasionally forgets to clean up tmp files.
 It seems to be an intermittent problem and I was wondering if other
 users had seen it.
 
 -Jim
 
 
 mutt -v
 Mutt 1.2.5i (2000-07-28)
 Copyright (C) 1996-2000 Michael R. Elkins and others.
 Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
 Mutt is free software, and you are welcome to redistribute it
 under certain conditions; type `mutt -vv' for details.
 
 System: SunOS 5.8 [using slang 10202]
  ^

 For a long time, I have been harboring a suspicion that there is a bug
 in Solaris 2.[678]'s unlink(2) if used in /tmp. I see quite a few temp
 files left over in /tmp, some by homebrewn programs, some by system
 commands (man(1) seems the worst offender). It doesn't always happen,
 maybe there is some kind of (not so rare) race condition.




Re: Orphaned tmp files?

2001-04-18 Thread Jim Lambert

I'm an emacs user and I don't think it's an emacs problem (since I
don't have this problem when I edit files with emacs outside of mutt).

-Jim

Suresh Ramasubramanian muttered:
 Jim Lambert proclaimed on mutt-users that: 
 
  I've noticed that mutt occasionally forgets to clean up tmp files.
  It seems to be an intermittent problem and I was wondering if other
  users had seen it.
 
 Check your editor settings - if its vim, it'll be something like 
 
  set nobackup" do not keep a backup file, use versions instead
 
 -- 
 Suresh Ramasubramanian + Wallopus Malletus Indigenensis
 mallet @ cluestick.org + Lumber Cartel of India, tinlcI
 EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin

-- 
[EMAIL PROTECTED] (Replace Z's with E's to reply)

Got root?   
-Anonymous



 PGP signature


Re: Orphaned tmp files?

2001-04-18 Thread Ashton

Jim Lambert [EMAIL PROTECTED]:

 I've noticed that mutt occasionally forgets to clean up tmp files.

ditto, using

Vim version 5.1.  Last modification: 1998 Feb 18

I just ended up scripting them to death ...

/usr/bin/find /tmp -maxdepth 1 -user ashton -print -exec rm {} \;

ashton@pyro:~/$ mutt -v
Mutt 1.2.5i (2000-07-28)

System: Linux 2.0.38 [using ncurses 1.9.9e]
Compile options:
-DOMAIN
-DEBUG
+HOMESPOOL  -USE_SETGID  +USE_DOTLOCK  +USE_FCNTL  -USE_FLOCK
-USE_IMAP  -USE_GSS  -USE_SSL  -USE_POP  +HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  -ENABLE_NLS
SENDMAIL="/usr/bin/sendmail"
MAILPATH="Mail/in"
SHAREDIR="/home/ashton/lib/mutt"
SYSCONFDIR="/home/ashton/etc"
ISPELL="/usr/local/bin/ispell"




Re: Orphaned tmp files?

2001-04-18 Thread Duke Normandin

On Wed, Apr 18, 2001 at 09:58:58AM -0400, Jim Lambert wrote:

 I've noticed that mutt occasionally forgets to clean up tmp files.
 It seems to be an intermittent problem and I was wondering if other
 users had seen it.
 
 -Jim

I have exactly the same problem using Joe as my editor, which BTW, is set
to make no backups. Sometimes the Mutt temp. files are empty, and at
other times they contain the entire message. I use sSMTP to connect to a
local server which queues my outbound mail. I posted an almost identical
message to yours a week or so ago. No joy...but no harm being done - yet.
-- 
-duke

Calgary, Alberta, Canada




Re: Orphaned tmp files?

2001-04-18 Thread Wade A. Mosely

Suresh Ramasubramanian wrote:
 Jim Lambert proclaimed on mutt-users that: 
 
  I've noticed that mutt occasionally forgets to clean up tmp files.
  It seems to be an intermittent problem and I was wondering if other
  users had seen it.
 
 Check your editor settings - if its vim, it'll be something like 
 
  set nobackup" do not keep a backup file, use versions instead


I've noticed mutt files building up in /tmp too.  I use vim for
the editor, and nobackup seems to be the default.  In any case, I
have nobackup set, but I still get the files accumulating in /tmp
so I'm not sure what the story is about that.

-- Mr. Wade

-- 
Linux: The Choice of the GNU Generation





Re: Orphaned tmp files?

2001-04-18 Thread Rich Lafferty

On Thu, Apr 19, 2001 at 12:10:54AM -0400, Wade A. Mosely ([EMAIL PROTECTED]) 
wrote:
 
 I've noticed mutt files building up in /tmp too.  I use vim for
 the editor, and nobackup seems to be the default.  In any case, I
 have nobackup set, but I still get the files accumulating in /tmp
 so I'm not sure what the story is about that.

I've seen that constantly in the couple of years I've been using
mutt. They're not emacs backup files (no tilde); I've just left it up
to the tmp cleaner.

  -Rich 

-- 
-- Rich Lafferty ---
 Sysadmin/Programmer, Instructional and Information Technology Services
   Concordia University, Montreal, QC (514) 848-7625
- [EMAIL PROTECTED] --