Re: lyx-foo

2000-06-28 Thread Lior Silberman
On Tue, 27 Jun 2000, Mate Wierdl wrote: I think In every message you get from the LyX mailing lists, there will be a line like this: List-Unsubscribe: mailto:[EMAIL PROTECTED] is not precise.People might think that the above line is in the body of the message, and they will not

Re: docbook status

2000-06-28 Thread Jose Abilio Oliveira Matos
On Wed, Jun 28, 2000 at 12:23:24AM -0300, Garst R. Reese wrote: I have a file 'docbook.lyx' dated Sept 99, from Jose' Matos with the TODO of generating a book class for docbook to compliment article. Is there any progress there, or notes on what needs to be done? One user send me a layout

Re: ostrstream in lyxsum.C

2000-06-28 Thread Andre Poenitz
Lars, could you explain a bit how the code in lyx::lyxsum works? - why do we need a ostringstream/ostrstream? Is it really imppossible to output from an ifstream to a string? That looks like a stupid thing, IMO. Since do_crc() seems to accept _any_ input iterator, one should be able do

Re: effective key mapping.

2000-06-28 Thread Lars Gullik Bjønnes
Andre Poenitz [EMAIL PROTECTED] writes: | I wish Lyx were written in Eiffel or Smalltalk but that's life. | | And I wish, LyX were written in C++ ;-) We are getting there :-) slowly... | Seriously, I think quite a bit of the infrastructure you want is | already there. Have a look at

Re: lyx-foo

2000-06-28 Thread Lars Gullik Bjønnes
Mate Wierdl [EMAIL PROTECTED] writes: | Just a remark: the mailinglist manager is not a daemon---and I do not think | any list manager is a daemon. This depends on how you define daemon... (is ftpd a daemon when invoked by inetd?) (is the mailman a daemon when invoked by qmail?) Lgb

Re: ostrstream in lyxsum.C

2000-06-28 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | Lars, could you explain a bit how the code in lyx::lyxsum works? | | - why do we need a ostringstream/ostrstream? Is it really imppossible | to output from an ifstream to a string? That looks like a stupid | thing, IMO. And istream_iterator

Re: ostrstream in lyxsum.C

2000-06-28 Thread Lars Gullik Bjønnes
Andre Poenitz [EMAIL PROTECTED] writes: | Lars, could you explain a bit how the code in lyx::lyxsum works? | | - why do we need a ostringstream/ostrstream? Is it really imppossible |to output from an ifstream to a string? That looks like a stupid |thing, IMO. | | Since do_crc()

Linking wierdness

2000-06-28 Thread Angus Leeming
When I update my lyx CVS directory (cvs update) and "make" the updated code, I occasionally get unresolved errors on linking. The problem goes away if I "make clean" and then "make" the whole schmooze. I was wondering if anyone else experiences the same irritations? This is using DEC cxx on an

Re: Linking wierdness

2000-06-28 Thread Jean-Marc Lasgouttes
"Angus" == Angus Leeming [EMAIL PROTECTED] writes: Angus When I update my lyx CVS directory (cvs update) and "make" the Angus updated code, I occasionally get unresolved errors on linking. Angus The problem goes away if I "make clean" and then "make" the Angus whole schmooze. I was wondering if

Re: ostrstream in lyxsum.C

2000-06-28 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | Lars You get a dynamic char* that you have to manually delete. How | Lars large should the char[] buffer be? | | The size of the file, probably. Dynamic char[] is just as easy to work with. (in this case) | Lars | I am trying to fix the bugs

Re: ostrstream in lyxsum.C

2000-06-28 Thread Andre Poenitz
This is what I did first...then some tests showed that this was _really_ slow, so I changed it. There seems to be indeed a factor of 10 between the running times. Strange thing. On the other hand - we are talking about less than a second for a 1-MB-file. Having documents this large is rather

Re: ostrstream in lyxsum.C

2000-06-28 Thread Lars Gullik Bjønnes
Andre Poenitz [EMAIL PROTECTED] writes: | This is what I did first...then some tests showed that this was | _really_ slow, so I changed it. | | There seems to be indeed a factor of 10 between the running times. | Strange thing. agree. | On the other hand - we are talking about less than a

Re: ostrstream in lyxsum.C

2000-06-28 Thread Lior Silberman
On 28 Jun 2000, Lars Gullik [iso-8859-1] Bjnnes wrote: I'd really like to know what strlen(s) in #0 is... And I can't really se why it craches... s !=NULL, *s != "" n 0 npos. Ok, had a look... The only think I can thing of would be to add a '\0' to the read...hmm this can be strlen

Re: ostrstream in lyxsum.C

2000-06-28 Thread Lars Gullik Bjønnes
Lior Silberman [EMAIL PROTECTED] writes: | This is a known feature of strstream::str() - it does _not_ null-terminate | the string. You need to explicitely write a '\0' to the stream for this. | (this behavrious is documented in the strstream manpage). I know this. Just look at the other places

RE: SuSE-rpms

2000-06-28 Thread Micha H. Werner
hello, there are zwo different rpms of Lyx 1.1.5 for SuSE 6.1 and SuSE 6.4 on Peter Sütterlins german homepage: http://www.uni-sw.gwdg.de/~pit/LyX/ thanks for your work! micha ___ Micha H. Werner Eberhard Karls-Universität Tuebingen

Towards 1.1.5fix1 (status report)

2000-06-28 Thread Jean-Marc Lasgouttes
Hello, While everybody else is coding great features for LyX 1.1.6, I have been accumulating a few fixes for the next fix release of 1.1.5. All these fixes have been checked in the branch lyx-1_1_5, which you can get with the command cvs checkout -d lyx-1_1_5 -r lyx-1_1_5 lyx-devel I advise

Re: Towards 1.1.5fix1 (status report)

2000-06-28 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | - crash in lyxsum() [Lars may have a fix for that] | http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg11937.html | http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg11917.html Index: lyxsum.C

Re: Towards 1.1.5fix1 (status report)

2000-06-28 Thread Jean-Marc Lasgouttes
"Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | - Lars crash in lyxsum() [Lars may have a fix for that] | Lars http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg11937.html Lars | Lars

Re: Towards 1.1.5fix1 (status report)

2000-06-28 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | Lars We have had that for a long-long time. Only some new code seems | Lars to trigger it more often. I can fix it by removing the | Lars "turn-the-cursor-off-when-window-is-not-active" code, this code | Lars is not working anyway... | | Please

LyX 1.1.5: compilation problems on IBM AIX

2000-06-28 Thread Serge Winitzki
Hi, Trying to compile LyX release 1.1.5 on AIX... and getting a strange error message when compiling "spellchecker.C"; (please disregard this message if you already fixed this problem) spellchecker.C: In function `void create_ispell_pipe(const BufferParams , const string )':

About the mouse-wheel

2000-06-28 Thread edscott
The behaviour ot the wheel in 1.1.4 (scrolling up and down a line at a time) was different from how 1.1.5 behaves(a full page at a time). Although a full page at a time would be better for reading a document, for writing/rewriting one line at a time works better (IMHO). I am including a patch

Re: lyx-foo

2000-06-28 Thread Amir Karger
Mate: I basically think of a daemon as a program that waits for input and returns output. Which is to say, any program at all is really a daemon :) More specifically, a program that is specifically designed to always be on in the background, and to do something interesting when it receives

Re: lyx-foo

2000-06-28 Thread Mate Wierdl
This depends on how you define daemon... (is ftpd a daemon when invoked by inetd?) (is the mailman a daemon when invoked by qmail?) Good point. I'd think ftpd is not a daemon if it runs under inetd. Otherwise, any job invoked by cron (or by any other daemon) would be a daemon. It is a tough

Never change a running system ...

2000-06-28 Thread Dr. Ing. Dieter Jurzitza
Dear listmembers, trying to compile the latest versions of lyx I had to become aware of the fact that my system (SuSE 6.0 / kernel 2.036 / gcc 2.7.x) seems somewhat out of date to the requirements of the sources to compile. However, will there be any chance to get the actual versions compile on

working example

2000-06-28 Thread edscott
On Mon, 26 Jun 2000, Jean-Marc Lasgouttes wrote: "edscott" == edscott [EMAIL PROTECTED] writes: edscott What does occur in 1.1.4 (and repeats itself in 1.1.5) is edscott that input files which reside in directories with spaces edscott (like: /blabla/blabla/chapter 1) will confuse latex into

Re: lyx-foo

2000-06-28 Thread Lior Silberman
On Tue, 27 Jun 2000, Mate Wierdl wrote: > I think > > In every message you get from the LyX mailing lists, there will be a > line like this: > List-Unsubscribe: > > > is not precise.People might think that the above line is in the body of > the message, and they

Re: docbook status

2000-06-28 Thread Jose Abilio Oliveira Matos
On Wed, Jun 28, 2000 at 12:23:24AM -0300, Garst R. Reese wrote: > I have a file 'docbook.lyx' dated Sept 99, from Jose' Matos with the > TODO of generating a book class for docbook to compliment article. Is > there any progress there, or notes on what needs to be done? One user send me a

Re: ostrstream in lyxsum.C

2000-06-28 Thread Andre Poenitz
> Lars, could you explain a bit how the code in lyx::lyxsum works? > > - why do we need a ostringstream/ostrstream? Is it really imppossible > to output from an ifstream to a string? That looks like a stupid > thing, IMO. Since do_crc() seems to accept _any_ input iterator, one should be

Re: effective key mapping.

2000-06-28 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | > I wish Lyx were written in Eiffel or Smalltalk but that's life. | | And I wish, LyX were written in C++ ;-) We are getting there :-) slowly... | Seriously, I think quite a bit of the infrastructure you want is | already there. Have a look at

Re: lyx-foo

2000-06-28 Thread Lars Gullik Bjønnes
Mate Wierdl <[EMAIL PROTECTED]> writes: | Just a remark: the mailinglist manager is not a daemon---and I do not think | any list manager is a daemon. This depends on how you define daemon... (is ftpd a daemon when invoked by inetd?) (is the mailman a daemon when invoked by qmail?) Lgb

Re: ostrstream in lyxsum.C

2000-06-28 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | Lars, could you explain a bit how the code in lyx::lyxsum works? | | - why do we need a ostringstream/ostrstream? Is it really imppossible | to output from an ifstream to a string? That looks like a stupid | thing, IMO. And

Re: ostrstream in lyxsum.C

2000-06-28 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | > Lars, could you explain a bit how the code in lyx::lyxsum works? | > | > - why do we need a ostringstream/ostrstream? Is it really imppossible | > to output from an ifstream to a string? That looks like a stupid | > thing, IMO. | | Since

Linking wierdness

2000-06-28 Thread Angus Leeming
When I update my lyx CVS directory (cvs update) and "make" the updated code, I occasionally get unresolved errors on linking. The problem goes away if I "make clean" and then "make" the whole schmooze. I was wondering if anyone else experiences the same irritations? This is using DEC cxx on an

Re: Linking wierdness

2000-06-28 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> When I update my lyx CVS directory (cvs update) and "make" the Angus> updated code, I occasionally get unresolved errors on linking. Angus> The problem goes away if I "make clean" and then "make" the Angus> whole schmooze. I was

Re: ostrstream in lyxsum.C

2000-06-28 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | Lars> You get a dynamic char* that you have to manually delete. How | Lars> large should the char[] buffer be? | | The size of the file, probably. Dynamic char[] is just as easy to work with. (in this case) | Lars> | I am trying to fix the

Re: ostrstream in lyxsum.C

2000-06-28 Thread Andre Poenitz
> This is what I did first...then some tests showed that this was > _really_ slow, so I changed it. There seems to be indeed a factor of 10 between the running times. Strange thing. On the other hand - we are talking about less than a second for a 1-MB-file. Having documents this large is

Re: ostrstream in lyxsum.C

2000-06-28 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | > This is what I did first...then some tests showed that this was | > _really_ slow, so I changed it. | | There seems to be indeed a factor of 10 between the running times. | Strange thing. agree. | On the other hand - we are talking about less than

Re: ostrstream in lyxsum.C

2000-06-28 Thread Lior Silberman
On 28 Jun 2000, Lars Gullik [iso-8859-1] Bjnnes wrote: > I'd really like to know what strlen(s) in #0 is... > And I can't really se why it craches... s != NULL, *s != "" n > 0 < npos. > > Ok, had a look... The only think I can thing of would be to add a '\0' > to the read...hmm this can be

Re: ostrstream in lyxsum.C

2000-06-28 Thread Lars Gullik Bjønnes
Lior Silberman <[EMAIL PROTECTED]> writes: | This is a known feature of strstream::str() - it does _not_ null-terminate | the string. You need to explicitely write a '\0' to the stream for this. | (this behavrious is documented in the strstream manpage). I know this. Just look at the other

RE: SuSE-rpms

2000-06-28 Thread Micha H. Werner
hello, there are zwo different rpms of Lyx 1.1.5 for SuSE 6.1 and SuSE 6.4 on Peter Sütterlins german homepage: http://www.uni-sw.gwdg.de/~pit/LyX/ thanks for your work! micha ___ Micha H. Werner Eberhard Karls-Universität Tuebingen

Towards 1.1.5fix1 (status report)

2000-06-28 Thread Jean-Marc Lasgouttes
Hello, While everybody else is coding great features for LyX 1.1.6, I have been accumulating a few fixes for the next fix release of 1.1.5. All these fixes have been checked in the branch lyx-1_1_5, which you can get with the command cvs checkout -d lyx-1_1_5 -r lyx-1_1_5 lyx-devel I advise

Re: Towards 1.1.5fix1 (status report)

2000-06-28 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | - crash in lyxsum() [Lars may have a fix for that] | http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg11937.html | http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg11917.html Index: lyxsum.C

Re: Towards 1.1.5fix1 (status report)

2000-06-28 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | - Lars> crash in lyxsum() [Lars may have a fix for that] | Lars> http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg11937.html Lars> | Lars>

Re: Towards 1.1.5fix1 (status report)

2000-06-28 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | Lars> We have had that for a long-long time. Only some new code seems | Lars> to trigger it more often. I can fix it by removing the | Lars> "turn-the-cursor-off-when-window-is-not-active" code, this code | Lars> is not working anyway... | |

LyX 1.1.5: compilation problems on IBM AIX

2000-06-28 Thread Serge Winitzki
Hi, Trying to compile LyX release 1.1.5 on AIX... and getting a strange error message when compiling "spellchecker.C"; (please disregard this message if you already fixed this problem) spellchecker.C: In function `void create_ispell_pipe(const BufferParams &, const string &)':

About the mouse-wheel

2000-06-28 Thread edscott
The behaviour ot the wheel in 1.1.4 (scrolling up and down a line at a time) was different from how 1.1.5 behaves(a full page at a time). Although a full page at a time would be better for reading a document, for writing/rewriting one line at a time works better (IMHO). I am including a patch

Re: lyx-foo

2000-06-28 Thread Amir Karger
Mate: I basically think of a daemon as a program that waits for input and returns output. Which is to say, any program at all is really a daemon :) More specifically, a program that is specifically designed to always be on in the background, and to do something interesting when it receives

Re: lyx-foo

2000-06-28 Thread Mate Wierdl
> This depends on how you define daemon... > (is ftpd a daemon when invoked by inetd?) > (is the mailman a daemon when invoked by qmail?) Good point. I'd think ftpd is not a daemon if it runs under inetd. Otherwise, any job invoked by cron (or by any other daemon) would be a daemon. It is a

Never change a running system ...

2000-06-28 Thread Dr. Ing. Dieter Jurzitza
Dear listmembers, trying to compile the latest versions of lyx I had to become aware of the fact that my system (SuSE 6.0 / kernel 2.036 / gcc 2.7.x) seems somewhat out of date to the requirements of the sources to compile. However, will there be any chance to get the actual versions compile on

working example

2000-06-28 Thread edscott
On Mon, 26 Jun 2000, Jean-Marc Lasgouttes wrote: > > "edscott" == edscott <[EMAIL PROTECTED]> writes: > edscott> What does occur in 1.1.4 (and repeats itself in 1.1.5) is > edscott> that input files which reside in directories with spaces > edscott> (like: /blabla/blabla/chapter 1) will