
RCS file: /var/cvs/acoc/acoc,v
Working file: acoc
head: 1.38
branch:
locks: strict
access list:
symbolic names:
	v0-4-1: 1.38
	v0-4-0: 1.37
	v0-3-0: 1.33
	v0-2-6: 1.25
	v0-2-5: 1.22
	v0-2-1: 1.20
	v0-2-0: 1.19
	default: 1.1.1.1
	rc: 1.1.1
keyword substitution: kv
total revisions: 39;	selected revisions: 39
description:
----------------------------
revision 1.38
date: 2003/07/08 06:57:48;  author: ianmacd;  state: Exp;  lines: +7 -7

- fix bug whereby arguments containing white space were expanded to
  multiple arguments
----------------------------
revision 1.37
date: 2003/07/06 22:42:23;  author: ianmacd;  state: Exp;  lines: +5 -5

- update to 0.4.0
----------------------------
revision 1.36
date: 2003/07/03 06:41:08;  author: ianmacd;  state: Exp;  lines: +12 -3

- when trying to match the program specs against the command line, try to
  match the longest (i.e. most specific) spec first, so that if there's a
  config for, for example, 'ps ax', it will match before the one for 'ps a'
----------------------------
revision 1.35
date: 2003/07/01 08:20:32;  author: ianmacd;  state: Exp;  lines: +16 -12

- move more stuff into 'colour' method
----------------------------
revision 1.34
date: 2003/07/01 07:48:57;  author: ianmacd;  state: Exp;  lines: +19 -15

- implement argument-specific colouring, so that colouring depends on how
  the command was invoked
----------------------------
revision 1.33
date: 2003/06/30 02:17:37;  author: ianmacd;  state: Exp;  lines: +3 -3

- update version to 0.3.0
----------------------------
revision 1.32
date: 2003/06/30 01:53:27;  author: ianmacd;  state: Exp;  lines: +6 -6

- avoid unnecessary use of * operator with ARGV
----------------------------
revision 1.31
date: 2003/06/29 00:49:08;  author: ianmacd;  state: Exp;  lines: +2 -2

- call our own run method, not exec when running target program in fork
  for pty
----------------------------
revision 1.30
date: 2003/06/29 00:29:51;  author: ianmacd;  state: Exp;  lines: +96 -64

- 'require' optional Ruby/TPty for pseudo-terminal usage
- move colouring code into its own method, colour
- new program flag /p allocates a pseudo-terminal through which to run the
  target program
----------------------------
revision 1.29
date: 2003/06/27 16:11:21;  author: ianmacd;  state: Exp;  lines: +10 -7

- subsequent program specs for a given program were replacing all previous
  ones
----------------------------
revision 1.28
date: 2003/06/27 07:50:18;  author: ianmacd;  state: Exp;  lines: +6 -8

- a method contains an implicit begin/end block
----------------------------
revision 1.27
date: 2003/06/27 07:19:27;  author: ianmacd;  state: Exp;  lines: +70 -55

- program specs are now Program objects, rather than arrays of hashes.
  The colour specs that used to form the values of the hash and were,
  themselves, a hash of arrays, are now Rule objects.

  This allows us to eliminate the @flags hash completely and simplify
  other parts of the code.
----------------------------
revision 1.26
date: 2003/06/26 07:46:25;  author: ianmacd;  state: Exp;  lines: +6 -4

- merely exec() the program if there *is* a configuration stanza, but it
  contains *no* rules
----------------------------
revision 1.25
date: 2003/06/26 04:19:46;  author: ianmacd;  state: Exp;  lines: +10 -3

- bump version to 0.2.6
- space out some of the code blocks a little
----------------------------
revision 1.24
date: 2003/06/26 04:17:34;  author: ianmacd;  state: Exp;  lines: +2 -2

- parse /usr/local/etc/acoc.conf after /etc/acoc.conf
----------------------------
revision 1.23
date: 2003/06/26 04:16:56;  author: ianmacd;  state: Exp;  lines: +7 -1

- add new operational flag, /r, which removes all previous matching rules
  for the given program
----------------------------
revision 1.22
date: 2003/06/21 10:27:01;  author: ianmacd;  state: Exp;  lines: +22 -14

- by default, output is not coloured if stdout is not a tty
- add new program flag /t for allowing output to be coloured even when stdout
  is not a tty
----------------------------
revision 1.21
date: 2003/06/20 23:22:28;  author: ianmacd;  state: Exp;  lines: +3 -3

- exec command without colouring if STDOUT is not a tty. There's no point
  having colour output that you'll never see and scripts that capture
  command output don't like it either.
----------------------------
revision 1.20
date: 2003/06/20 08:53:55;  author: ianmacd;  state: Exp;  lines: +3 -3

- update version to 0.2.1
----------------------------
revision 1.19
date: 2003/06/11 07:31:42;  author: ianmacd;  state: Exp;  lines: +3 -3

- change version to 0.2.0
----------------------------
revision 1.18
date: 2003/06/10 01:38:35;  author: ianmacd;  state: Exp;  lines: +10 -3

- catch a SIGPIPE while printing
- error message if we're called on a non-existent program should go to
  stderr, not stdout
----------------------------
revision 1.17
date: 2003/06/09 10:22:03;  author: ianmacd;  state: Exp;  lines: +1 -2

- remove bug about program flags needing to appear on final stanza
----------------------------
revision 1.16
date: 2003/06/09 10:07:10;  author: ianmacd;  state: Exp;  lines: +3 -2

- make program flags cumulative with each stanza
----------------------------
revision 1.15
date: 2003/06/08 06:39:16;  author: ianmacd;  state: Exp;  lines: +3 -2

- check for a config file at /usr/local/etc/acoc.conf, too
----------------------------
revision 1.14
date: 2003/06/08 06:23:47;  author: ianmacd;  state: Exp;  lines: +14 -6

- update RD documentation
----------------------------
revision 1.13
date: 2003/06/08 02:03:33;  author: ianmacd;  state: Exp;  lines: +3 -2

- minor documentation fix
----------------------------
revision 1.12
date: 2003/06/08 01:52:52;  author: ianmacd;  state: Exp;  lines: +12 -6

- improve documentation
----------------------------
revision 1.11
date: 2003/06/08 00:49:10;  author: ianmacd;  state: Exp;  lines: +2 -2

- RD documentation didn't parse
----------------------------
revision 1.10
date: 2003/06/08 00:32:19;  author: ianmacd;  state: Exp;  lines: +72 -6

- include version and usage methods
- catch ENOENT when trying to call a non-existant command
- add some RD documentation
- rename to acoc
----------------------------
revision 1.9
date: 2003/06/06 06:45:16;  author: ianmacd;  state: Exp;  lines: +2 -2

- fix bug whereby data in config stanzas for a command would be overwritten
  as soon as a later stanza was parsed
----------------------------
revision 1.8
date: 2003/06/06 06:29:11;  author: ianmacd;  state: Exp;  lines: +3 -3

- state config file name when parsing fails
----------------------------
revision 1.7
date: 2003/06/06 03:56:01;  author: ianmacd;  state: Exp;  lines: +3 -3

- change all references to rc into references to rcf. rc conflicts with
  Red Hat's Red Carpet service.
- .spec file now Obsoletes rc
----------------------------
revision 1.6
date: 2003/06/05 16:58:51;  author: ianmacd;  state: Exp;  lines: +4 -4

- fix some white space
----------------------------
revision 1.5
date: 2003/06/05 06:03:13;  author: ianmacd;  state: Exp;  lines: +18 -7

- allow for multiple colour attributes, such as 'bold + red', etc.
----------------------------
revision 1.4
date: 2003/06/04 05:21:52;  author: ianmacd;  state: Exp;  lines: +3 -3

- Ruby 1.6 doesn't have String#to_sym or the Signal class, so work around
  this
----------------------------
revision 1.3
date: 2003/06/03 23:29:55;  author: ianmacd;  state: Exp;  lines: +9 -4

- add symlink handling code
----------------------------
revision 1.2
date: 2003/06/03 05:42:14;  author: ianmacd;  state: Exp;  lines: +5 -1

- check if the command used to invoke the program is a symlink. If it is,
  remove its directory from the $PATH and then add the program's name to
  the start of ARGV.

  This allows us to use both:

  $ rc command arg1 arg2 ...

  and

  $ command arg1 arg2 ...

  to invoke the program either directly or indirectly
----------------------------
revision 1.1
date: 2003/06/02 10:04:14;  author: ianmacd;  state: Exp;
branches:  1.1.1;
Initial revision
----------------------------
revision 1.1.1.1
date: 2003/06/02 10:04:14;  author: ianmacd;  state: Exp;  lines: +0 -0

- initial check-in
=============================================================================

RCS file: /var/cvs/acoc/acoc.conf,v
Working file: acoc.conf
head: 1.24
branch:
locks: strict
access list:
symbolic names:
	v0-4-1: 1.24
	v0-4-0: 1.24
	v0-3-0: 1.20
	v0-2-6: 1.19
	v0-2-5: 1.18
	v0-2-1: 1.17
	v0-2-0: 1.16
	default: 1.1.1.1
	rc: 1.1.1
keyword substitution: kv
total revisions: 25;	selected revisions: 25
description:
----------------------------
revision 1.24
date: 2003/07/06 23:00:39;  author: ianmacd;  state: Exp;  lines: +2 -2

- 'ps a' will match more than 'ps ax'
----------------------------
revision 1.23
date: 2003/07/03 06:43:24;  author: ianmacd;  state: Exp;  lines: +4 -4

- don't show command lines in bold
----------------------------
revision 1.22
date: 2003/07/01 08:54:00;  author: ianmacd;  state: Exp;  lines: +14 -6

- make rpm rules specific to package building
- add rpm rules for querying packages
----------------------------
revision 1.21
date: 2003/07/01 07:54:42;  author: ianmacd;  state: Exp;  lines: +11 -3

- apply diff rules to 'cvs diff' and 'p4 diff', too
- add rules for 'ps ax' and 'ps -ef'
----------------------------
revision 1.20
date: 2003/06/28 08:20:10;  author: ianmacd;  state: Exp;  lines: +5 -4

- ls needs a pseudo-terminal
- fix diff rule
----------------------------
revision 1.19
date: 2003/06/26 05:02:46;  author: ianmacd;  state: Exp;  lines: +4 -4

- correct and improve rules for ls
----------------------------
revision 1.18
date: 2003/06/21 10:02:40;  author: ianmacd;  state: Exp;  lines: +7 -7

- add /t flag for programs that are unlikely to be used in scripts
----------------------------
revision 1.17
date: 2003/06/20 08:55:51;  author: ianmacd;  state: Exp;  lines: +41 -4

- diff section now also applies to rcsdiff
- make section now also applies to gmake
- new config sections for tcpdump, ldd, nm, strace, ltrace, id and ls
----------------------------
revision 1.16
date: 2003/06/11 01:16:37;  author: ianmacd;  state: Exp;  lines: +2 -2

- minimal support for context diffs, too
----------------------------
revision 1.15
date: 2003/06/11 01:10:49;  author: ianmacd;  state: Exp;  lines: +15 -9

- diff rules now handle standard format as well as unified format
- break out rpmbuild rules into gcc and make rules
----------------------------
revision 1.14
date: 2003/06/08 02:16:07;  author: ianmacd;  state: Exp;  lines: +2 -2

- top show's command lines of processes run by root in red, not the word
  'root'
----------------------------
revision 1.13
date: 2003/06/08 00:47:19;  author: ianmacd;  state: Exp;  lines: +3 -3

- rename all references to rcf to acoc
----------------------------
revision 1.12
date: 2003/06/06 07:13:57;  author: ianmacd;  state: Exp;  lines: +7 -7

- fix ifconfig
----------------------------
revision 1.11
date: 2003/06/06 07:04:56;  author: ianmacd;  state: Exp;  lines: +20 -5

- add route and ifconfig rules
- remove the vmstat header colouring - it didn't work
- simplify the df stuff
----------------------------
revision 1.10
date: 2003/06/06 06:20:52;  author: ianmacd;  state: Exp;  lines: +5 -1

- rules for df
----------------------------
revision 1.9
date: 2003/06/06 03:56:01;  author: ianmacd;  state: Exp;  lines: +2 -2

- change all references to rc into references to rcf. rc conflicts with
  Red Hat's Red Carpet service.
- .spec file now Obsoletes rc
----------------------------
revision 1.8
date: 2003/06/05 16:59:19;  author: ianmacd;  state: Exp;  lines: +36 -1

- top and vmstat rules
----------------------------
revision 1.7
date: 2003/06/05 06:00:02;  author: ianmacd;  state: Exp;  lines: +6 -1

- extra config line for rpmbuild
----------------------------
revision 1.6
date: 2003/06/04 03:35:53;  author: ianmacd;  state: Exp;  lines: +5 -3

- ping fixes and improvements
----------------------------
revision 1.5
date: 2003/06/04 00:37:58;  author: ianmacd;  state: Exp;  lines: +5 -1

- add place-holder [default] section
----------------------------
revision 1.4
date: 2003/06/03 23:06:40;  author: ianmacd;  state: Exp;  lines: +10 -2

- numerous additions and fixes
----------------------------
revision 1.3
date: 2003/06/03 05:47:58;  author: ianmacd;  state: Exp;  lines: +2 -2

- add /a flag to traceroute to ensure all 3 packets per line are matched
----------------------------
revision 1.2
date: 2003/06/02 10:22:43;  author: ianmacd;  state: Exp;  lines: +1 -0

- added Id tag
----------------------------
revision 1.1
date: 2003/06/02 09:47:32;  author: ianmacd;  state: Exp;
branches:  1.1.1;
Initial revision
----------------------------
revision 1.1.1.1
date: 2003/06/02 09:47:32;  author: ianmacd;  state: Exp;  lines: +0 -0

- initial check-in
=============================================================================
