[sylpheed:33464] Re: How to catdoc in Sylpheed

Tommy Reynolds tommy.reynolds at megacoder.com
Sat Jan 2 06:15:07 JST 2010


Uttered Harald Weis <hawei at free.fr>, spoke thus:

> On Fri, Jan 01, 2010 at 02:22:10PM -0600, Tommy Reynolds wrote:
> > Uttered Harald Weis <hawei at free.fr>, spoke thus:
> > > The following line in .mailcap does not work.
> > > application/msword;  xterm -e catdoc -s cp1252 %s ; copiousoutput
> > > The output of catdoc does not stay because xterm exits.
> > Try this line:
> >     application/msword;  xterm -hold -e catdoc -s cp1252 %s ; copiousoutput
> > You will need to use the window manager's kill button on the window frame, but
> > hey, a click is a click.
> Thank you very much indeed, Tommy. This is really beautiful. I spent
> some hours today with searching. Still, why do more, less
> or vi not require the hold resource ?

Less and more do not terminate immediately; they wait until you press a final
key.  Catdoc works just like cat(1): spews the file and then leaves.  The
"-hold" option makes xterm(1) wait to be killed externally and not exit just
because the client program did.

--
Tommy Reynolds <Tommy.Reynolds at MegaCoder.com>


More information about the Sylpheed mailing list