9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] cvs plumbing trick
@ 2002-02-13  6:34 Russ Cox
  2002-02-13  8:26 ` Lucio De Re
  0 siblings, 1 reply; 2+ messages in thread
From: Russ Cox @ 2002-02-13  6:34 UTC (permalink / raw)
  To: 9fans

for the cvs users --

if you set EDITOR=plumbit in your
profile, then you can run "cvs ci" or
however you spell it, and when it wants
a commit log entry, acme or sam will
pop up a new editing window with
the template.  you edit, write, close,
and cvs continues.

note that this makes Put equivalent to
acme mail's Post -- as soon as you write
it, it's sent.

g% cat /bin/plumbit
#!/bin/rc

qid=`{ls -lq $1 | awk '{print $1, $2, $3}'}
qid=$"qid
B $*
while(){
	nqid=`{ls -lq $1 | awk '{print $1, $2, $3}'}
	nqid=$"nqid
	if(! ~ $qid $nqid)
		exit
	sleep 1
}
g%



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9fans] cvs plumbing trick
  2002-02-13  6:34 [9fans] cvs plumbing trick Russ Cox
@ 2002-02-13  8:26 ` Lucio De Re
  0 siblings, 0 replies; 2+ messages in thread
From: Lucio De Re @ 2002-02-13  8:26 UTC (permalink / raw)
  To: 9fans

On Wed, Feb 13, 2002 at 01:34:46AM -0500, Russ Cox wrote:
> 
> note that this makes Put equivalent to
> acme mail's Post -- as soon as you write
> it, it's sent.
> 
Cool, Russ.

You mentioned a while back that you were working on a fresher
version of CVS and that you'd be posting it.  I've been stalling
my most recent installation because it's not urgent and therefore
I could wait.  This is just a nudge :-)

++L


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-02-13  8:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-13  6:34 [9fans] cvs plumbing trick Russ Cox
2002-02-13  8:26 ` Lucio De Re

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).