From: Mike Wilson Date: 2001-02-07T22:59:01+09:00 Subject: [ruby-talk:10510] Re: enscript.st >From: Tanaka Akira >Reply-To: ruby-talk@ruby-lang.org >To: ruby-talk@ruby-lang.org (ruby-talk ML) >Subject: [ruby-talk:10508] Re: enscript.st >Date: Wed, 7 Feb 2001 21:08:47 +0900 > >In article , > "Mike Wilson" writes: > > > Well, either nobody wants me to post this, or nobody cares if I do ;) > > Either way, here's the diff for my enscript.st. At the bottom, there's >a > > few lines that define a regex and apply it to a "face". I've put >keywords > > in different faces, this is based on my view of the roles and >associations > > of those keywords. If anyone has a minute, please take a look and see >if my > > sanity is intacted ;). Also, there's 2 ^L (CTL-L)'s in there that need >to > > be put in by hand, they don't transfer in the cut and paste, so I've >just > > put them in as carat L instead. > >Wow! It is that I wanted to use with ViewCVS. > >But $' causes a problem. So I added following to handle special >variables. > > /\$[!@&`'+~=\/\\,;.<>_*$?:"]/ { > variable_name_face (true); > language_print ($0); > variable_name_face (false); > } > Thanks very much! This seems to have fixed a problem I was having as well. >Note that highlighting configuration is stored into separated files >for each language in enscript-1.6.2 and the patch is not applicable. >(enscript-1.6.2 is on alpha.gnu.org (at 1998) and Debian package is >1.6.2.) >-- >Tanaka Akira I can't seem to find that new package. I can't get to alpha.gnu.org, and I'm on a solaris box, so I wouldn't be able to deal with the dpkg. Do you have a link to a .tar.gz you could post? Thanks a bunch! Mike Wilson Unix Administrator http://ruby.weblogs.com _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com