Re: Problem with RCS in LyX 1.0.1
On 22 May 1999 20:40:29 +0200, Lars Gullik Bj°nnes wrote: >What are the equivalent files named with RCS on OS/2? > >foobar.lyx,v -> ??? >RCS/foobar.lyx,v -> RCS/foobar.lyx As I already mailed to Pierre-Henri who so kindly helped me, I included the proper option (-x,v/) into the definition of the environment variable RCSINIT in my CONFIG.SYS (which configures OS/2), and my problem was solved. >I will probably included this patch (or something very similar) + >possibly add support for the RCSINIT environmant variable. I am mystified to read this since, as I explained above, RCSINIT seems already to be supported. OTOH, it could be that the effect I observed after adding RCSINIT came from the RCS. I would certainly be grateful for LyX support of RCSINIT, for any attempts on my behalf to define "-s" to substitute the standard "Exp" status with the more appropriate "Entwurf" (the German equivalent) failed. Also, while we're at it, I should add that on my system, the equivalent LyX option of "rlog" (displaying the development of past versions) does not work. There are, however, a number of *.tmp files that get created in the working directory, and they contain the information that rlog would produce. It thus seems that this is a problem of loading the information into a temporary buffer. The LyX dialogue box that results from using the option insists that there is no development history to be displayed. I wonder whether this is a general problem or a specific one of the OS/2 version. Many thanks for the quick help, and keep up the good work on this wonderful program, Andreas --- Dr. Andreas Busch Universität Heidelberg Tel. (06221) 54-2874 Institut für Politische WissenschaftFax (06221) 54-2896 Marstallstrasse 6 E-Mail: [EMAIL PROTECTED] 69117 Heidelberg, Germany http://www.rzuser.uni-heidelberg.de/~bp7
Re: Problem with RCS in LyX 1.0.1
On 22 May 1999, Lars Gullik Bjønnes wrote: ... > > What are the equivalent files named with RCS on OS/2? > > foobar.lyx,v -> ??? > RCS/foobar.lyx,v -> RCS/foobar.lyx I saw on the file ftp://ftp.cs.purdue.edu/pub/RCS/README that the *default* behaviour of all non unix RCS is to handle only RCS/foobar.lyx . ... > I will probably included this patch (or something very similar) + > possibly add support for the RCSINIT environmant variable. What about using the response of 'rlog -R ' to know if is already under RCS ? On unix, it outputs a message on stderr if it isn't, and only the pathname of the RCS file on sdtout if it is. The return value is also false or true depending on the result. I don't know if it is very portable, but it would let RCS take care of $RCSINIT. If I knew more than copy/past on C++ programming, I would have tried that :( > > What system are you running on? phb@teufteuf:/home/phb> uname -a Linux teufteuf 2.0.36 #1 Tue Oct 13 22:17:11 EDT 1998 i686 unknown > > Lgb > Pierre-Henri BOINNARD email:[EMAIL PROTECTED]
Re: Problem with RCS in LyX 1.0.1
Pierre-Henri Boinnard <[EMAIL PROTECTED]> writes: | > [E:\]rlog D:\exchange\BibTeX_Notizen.lyx | > | > RCS file: D:\exchange\RCS/BibTeX_Notizen.lyx | | This may be the problem, LyX is looking for either | D:\exchange\BibTeX_Notizen.lyx,v or | D:\exchange\RCS/BibTeX_Notizen.lyx,v to know if the file has been | registered on RCS. What are the equivalent files named with RCS on OS/2? foobar.lyx,v -> ??? RCS/foobar.lyx,v -> RCS/foobar.lyx | On my linux machine, with RCS version 5.7, the option -x handle those | extension rules, and it can be added to the RCSINIT environment | variable to modify rcs behaviour. (see 'man ci' for details) | | I know nothing about OS2, but if its filesystem supports the comma | character in filenames, you may try adding "-x,v/" to your RCSINIT | environment variable (and rename your existing RCS/* to RCS/*,v). | | If you can't do that, you may try apply the patch I enclosed and | rebuild LyX. I tested it OK on my machine. It engages only me, and you | :) I will probably included this patch (or something very similar) + possibly add support for the RCSINIT environmant variable. What system are you running on? Lgb
Re: Problem with RCS in LyX 1.0.1
On Fri, 21 May 1999, Andreas Busch wrote: > Hi, Hello, > > I am using LyX 1.0.1 under OS/2 (XFree86). Today I installed the revision control > system RCS. LyX is supposed to support it, and so I went on to try it. > I selected the Registration... option from the menu and registered my file. It was >duly > put into the /RCS/ directory and the version on my screen was write protected. > However, the menu options did not change. Under the respective option on the drop > down menu (I am using the German version and thus don't want to confuse you by > mis-translating them into English), "Registration..." is still the only option. It >is neither > greyed out (as it should be after registration has taken place), nor are the any >other > options visible. I can therefore not commit any changes to version control or create >a > working copy that I can revise. > If I look at the /RCS/ directory, there is a file with the RCS info in it, and if I >use a > commandline and issue an "rlog" command, the following output appears which looks > correct: > > [E:\]rlog D:\exchange\BibTeX_Notizen.lyx > > RCS file: D:\exchange\RCS/BibTeX_Notizen.lyx This may be the problem, LyX is looking for either D:\exchange\BibTeX_Notizen.lyx,v or D:\exchange\RCS/BibTeX_Notizen.lyx,v to know if the file has been registered on RCS. On my linux machine, with RCS version 5.7, the option -x handle those extension rules, and it can be added to the RCSINIT environment variable to modify rcs behaviour. (see 'man ci' for details) I know nothing about OS2, but if its filesystem supports the comma character in filenames, you may try adding "-x,v/" to your RCSINIT environment variable (and rename your existing RCS/* to RCS/*,v). If you can't do that, you may try apply the patch I enclosed and rebuild LyX. I tested it OK on my machine. It engages only me, and you :) Hope it helps. > Working file: D:\exchange\BibTeX_Notizen.lyx > head: 1.1 > branch: > locks: strict > access list: > symbolic names: > keyword substitution: kv > total revisions: 1; selected revisions: 1 > description: > Notizen und Konventionen zu BibTeX > > revision 1.1 > date: 1999/05/21 18:53:16; author: abusch; state: Exp; > Initial revision > > > Is this a known bug? I couldn't find anything about it in the documentation. Is it >OS/2 > specific? Is it a problem with the German menus? > > I'd be grateful for any ideas. > > Andreas > > --- > Dr. Andreas Busch > Universität HeidelbergTel. (06221) 54-2874 > Institut für Politische Wissenschaft Fax (06221) 54-2896 > Marstallstrasse 6 E-Mail: [EMAIL PROTECTED] > 69117 Heidelberg, Germany http://www.rzuser.uni-heidelberg.de/~bp7 > > > > Pierre-Henri BOINNARD email:[EMAIL PROTECTED] lyxvc.C.patch2.gz
Problem with RCS in LyX 1.0.1
Hi, I am using LyX 1.0.1 under OS/2 (XFree86). Today I installed the revision control system RCS. LyX is supposed to support it, and so I went on to try it. I selected the Registration... option from the menu and registered my file. It was duly put into the /RCS/ directory and the version on my screen was write protected. However, the menu options did not change. Under the respective option on the drop down menu (I am using the German version and thus don't want to confuse you by mis-translating them into English), "Registration..." is still the only option. It is neither greyed out (as it should be after registration has taken place), nor are the any other options visible. I can therefore not commit any changes to version control or create a working copy that I can revise. If I look at the /RCS/ directory, there is a file with the RCS info in it, and if I use a commandline and issue an "rlog" command, the following output appears which looks correct: [E:\]rlog D:\exchange\BibTeX_Notizen.lyx RCS file: D:\exchange\RCS/BibTeX_Notizen.lyx Working file: D:\exchange\BibTeX_Notizen.lyx head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: Notizen und Konventionen zu BibTeX revision 1.1 date: 1999/05/21 18:53:16; author: abusch; state: Exp; Initial revision Is this a known bug? I couldn't find anything about it in the documentation. Is it OS/2 specific? Is it a problem with the German menus? I'd be grateful for any ideas. Andreas --- Dr. Andreas Busch Universität Heidelberg Tel. (06221) 54-2874 Institut für Politische WissenschaftFax (06221) 54-2896 Marstallstrasse 6 E-Mail: [EMAIL PROTECTED] 69117 Heidelberg, Germany http://www.rzuser.uni-heidelberg.de/~bp7