Joao Cardoso wrote:
>
> > | > 1-lyx is always running, consuming CPU time. You can check it with
> > | > 'top'. This is a problem, as I always have lyx (and xemacs) open ;-)
> > |
> > | IIRC, this is a xforms problem, at least I remember to see reports
> > | > of that.
> >
> > No, this is our prolem. It is the cursor blink that uses CPU.
> > (And now with the simplification of code it is easier to fix...)
> >
> > Lgb
>
> I'm not shure if this is a feature or a bug...
>
> If it is a feature, I think that it is a very very very bad feature.
> I have better use to my cpu than to blink a small line.
Well, it was not only the cursor blink that consumed cpu time; it was
the lyxserver! As a matter of fact, the cursor blink only wasted a
*very* small amount of cpu.
After commenting the cursor_timer callback registration in
BufferView_pimpl.C, running lys as root was not wasting cpu, so I
installed it.
When running it as a user I noticed cpu wasting again; well, after a
while I discovered why: as a user I had started the lyxserver through
lyxrc.
And why had I started the lyxserver? because I wanted lyx to
automatically export certain lyx files as tex files, so I created a
script that used the lyxserver.
Of course, this is unnecessary, because meanwhile I found that lyx
support three extra non documented command line options:
-e | --export tex|ps|text
--import
-x | --execute
Could you please add them to the -help command line option and the man
page?
Thanks again,
Joao
PS- humm, and about the lyxserver problem? :-)