Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!techunix.BITNET!devil From: devil@techunix.BITNET (Gil Tene) Newsgroups: comp.windows.open-look Subject: Re: textsw filters Message-ID: <9924@discus.technion.ac.il> Date: 26 Mar 91 10:58:34 GMT References: <9918@discus.technion.ac.il> Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: devil%techunix.bitnet@lilac.berkeley.edu (Gil Tene) Organization: Technion, Israel Inst. of Technology Lines: 28 In article barnett@crdgw1.ge.com wri tes: >In article <9918@discus.technion.ac.il> devil@techunix.BITNET (Gil Tene) writes : >> ... quote of my silly program to do mail indenting. > >Seems like a lot of extra work. Why not just have > >KEY_TOP(9) FILTER >sed 's/^/> /' > >And add the following line to your .mailrc file: >set indentprefix="> " Sure, both are better, but why do it the easy way ? :-) Actually, my posting came to answer a question about setting up filter programs to work with textsw applications, so I gave this as an EXAMPLE. I actually have several filters I use in my everyday netting. Some are much more complicated and do require some lexing, so a C program is useful. -- Gil. -- -------------------------------------------------------------------- -- Gil Tene "Some days it just doesn't pay -- -- devil@techunix.technion.ac.il to go to sleep in the morning." -- --------------------------------------------------------------------