* Re: [9fans] tiny & convenient change for /acme/mail/Mail
@ 2002-06-20 11:55 rog
0 siblings, 0 replies; 5+ messages in thread
From: rog @ 2002-06-20 11:55 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 674 bytes --]
actually, if you're planning on using ramfs, there's not much point,
as you can usually use the attachment directly (noting that upas/fs will
accept any file extension on "body"). at least that way you avoid
using up extra memory.
you can plumb the attachments directly too (just as long as upas/fs
was started before the plumber); mind you, it's a bit strange that you
can't right click on
/mail/fs/mbox/23/1/body.gif
inside the mail message itself, but you can if you copy and paste that
text into somewhere else in acme. i think that's because upas/fs is
interpreting b3 clicks itself, and being a little too clever about it.
cheers,
rog.
[-- Attachment #2: Type: message/rfc822, Size: 1698 bytes --]
To: 9fans@cse.psu.edu
Subject: [9fans] tiny & convenient change for /acme/mail/Mail
Date: Thu, 20 Jun 2002 09:33:57 +0200
Message-ID: <6b1d728040b6ae920922201afc05a990@plan9.escet.urjc.es>
Changing /acme/mail/src/mesg.c:938
dest = egrow(estrdup(home), "/", dest);
to
dest = egrow(estrdup("/tmp"), "/", dest);
provides what IMHO is a more convenient location to copy attachments.
When using ramfs, I just copy them and don't bother to delete those that
are not of interest. For those of interest I'd edit the cp.... line
anyway to provide a correct location.
hth
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9fans] tiny & convenient change for /acme/mail/Mail
@ 2002-06-20 15:43 Russ Cox
0 siblings, 0 replies; 5+ messages in thread
From: Russ Cox @ 2002-06-20 15:43 UTC (permalink / raw)
To: 9fans
> Changing /acme/mail/src/mesg.c:938
> dest = egrow(estrdup(home), "/", dest);
> to
> dest = egrow(estrdup("/tmp"), "/", dest);
Alternately,
g% cat /usr/rsc/bin/rc/Mail
#!/bin/rc
rfork e
home=/tmp
exec /acme/mail/Mail $*
g%
Russ
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9fans] tiny & convenient change for /acme/mail/Mail
@ 2002-06-20 15:37 Russ Cox
0 siblings, 0 replies; 5+ messages in thread
From: Russ Cox @ 2002-06-20 15:37 UTC (permalink / raw)
To: 9fans
> you can plumb the attachments directly too (just as long as upas/fs
> was started before the plumber); mind you, it's a bit strange that you
the order doesn't matter. we've been through this before.
> mind you, it's a bit strange that you
> can't right click on
>
> /mail/fs/mbox/23/1/body.gif
>
> inside the mail message itself, but you can if you copy and paste that
> text into somewhere else in acme. i think that's because upas/fs is
> interpreting b3 clicks itself, and being a little too clever about it.
s;upas/fs;Mail;, but yeah.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9fans] tiny & convenient change for /acme/mail/Mail
@ 2002-06-20 12:15 Fco.J.Ballesteros
0 siblings, 0 replies; 5+ messages in thread
From: Fco.J.Ballesteros @ 2002-06-20 12:15 UTC (permalink / raw)
To: 9fans
> as you can usually use the attachment directly (noting that upas/fs will
> accept any file extension on "body"). at least that way you avoid
Didn't notice it.
>
> you can plumb the attachments directly too (just as long as upas/fs
> was started before the plumber); mind you, it's a bit strange that you
I was starting them in the wrong order. ugh.
This makes /usr/nemo/attach better than /tmp/attach, since the
only time I'm likely to execute the command is when I decide to
save it and that would require just the insertion of text between
/usr/nemo and the file name.
thanks a lot
^ permalink raw reply [flat|nested] 5+ messages in thread
* [9fans] tiny & convenient change for /acme/mail/Mail
@ 2002-06-20 7:33 Fco.J.Ballesteros
0 siblings, 0 replies; 5+ messages in thread
From: Fco.J.Ballesteros @ 2002-06-20 7:33 UTC (permalink / raw)
To: 9fans
Changing /acme/mail/src/mesg.c:938
dest = egrow(estrdup(home), "/", dest);
to
dest = egrow(estrdup("/tmp"), "/", dest);
provides what IMHO is a more convenient location to copy attachments.
When using ramfs, I just copy them and don't bother to delete those that
are not of interest. For those of interest I'd edit the cp.... line
anyway to provide a correct location.
hth
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-06-20 15:43 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-20 11:55 [9fans] tiny & convenient change for /acme/mail/Mail rog
-- strict thread matches above, loose matches on Subject: below --
2002-06-20 15:43 Russ Cox
2002-06-20 15:37 Russ Cox
2002-06-20 12:15 Fco.J.Ballesteros
2002-06-20 7:33 Fco.J.Ballesteros
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).