Re: LyX Server on XP?

2009-12-11 Thread Pavel Sanda
Uwe Stöhr wrote:
> Pavel Sanda schrieb:
>
>>> http://wiki.lyx.org/LyX/LyXServer
>> shouldn't this go rather to the exiting manual for lyx server Enrico 
>> already updated?
>
> I don't know this manual? Where can I find it? This manual should be at 
> least linked to this Wiki page.

:)) once upon a time there was extended manual in a program called lyx. short
looking into manual shows that the \\.\pipe\lyxpipe section is already there,
so by wiki-ing we are just gonna to duplicate documentation which is always
pleasure to keep in synchro.

pavel


Re: LyX Server on XP?

2009-12-11 Thread Uwe Stöhr

Pavel Sanda schrieb:


http://wiki.lyx.org/LyX/LyXServer


shouldn't this go rather to the exiting manual for lyx server Enrico already 
updated?


I don't know this manual? Where can I find it? This manual should be at least 
linked to this Wiki page.

regards Uwe


Re: LyX Server on XP?

2009-12-11 Thread Uwe Stöhr

Some general comments:
(1) Using LyXServer "On Windows" is at the bottom of the page whereas
using it in UNIX or OS/2 is at the top.


The Wiki is free for everyone to change it as he like. So just move it up.

regards Uwe


Re: LyX Server on XP?

2009-12-11 Thread Andre Poenitz
On Fri, Dec 11, 2009 at 10:34:10AM +, Ken wrote:
> There have been some edits to the wiki at the bottom of the page which
> are very good.  But perhaps some of the rest of the page needs a bit
> of reworking.
> 
> Some general comments:
> (1) Using LyXServer "On Windows" is at the bottom of the page whereas
> using it in UNIX or OS/2 is at the top.

Maybe that's because Windows users tend to read from bottom to top
whereas *nix folks read from top to bottom. (And write mail accordingly...)

SCNR, it's Friday after all.

Andre'


Re: LyX Server on XP?

2009-12-11 Thread Pavel Sanda
Uwe Stöhr wrote:
>> Thank you very much Siegfried!
>> That works with a small correction:...
>
> Can everybody involved in this thread please do other users the favor and 
> add to our LyX Wiki how a LyXServer is set up on Windows?:
>
> http://wiki.lyx.org/LyX/LyXServer

shouldn't this go rather to the exiting manual for lyx server Enrico already 
updated?

pavel


Re: LyX Server on XP?

2009-12-11 Thread Asm warrior

On 2009-12-11 18:34, Ken wrote:

There have been some edits to the wiki at the bottom of the page which
are very good.  But perhaps some of the rest of the page needs a bit
of reworking.

Some general comments:
(1) Using LyXServer "On Windows" is at the bottom of the page whereas
using it in UNIX or OS/2 is at the top.
(2) In between are some technical details on writing code to work with
the LyXServer.
(3) A newbie to the LyXServer may only be interested in (a) what does
it do, (b) how do I set it up, and (c) how do I push referencs from
JabRef to LyX.  So perhaps the UNIX, OS/2 and Windows instructions
should probably be grouped close to each other at the top, with usage
guidelines below, and technical details to follow at the end or in a
separate page.

Those are just some of my thoughts but I don't think I know enough of
the details to do the editing myself.

Best,
Ken


2009/12/11 Uwe Stöhr:

Thank you very much Siegfried!
That works with a small correction:...


Can everybody involved in this thread please do other users the favor and
add to our LyX Wiki how a LyXServer is set up on Windows?:

http://wiki.lyx.org/LyX/LyXServer

Many thanks in advance and regards
Uwe




That was 100% correct!

Also, It seems

1,After changing the named pipe in Lyx, I need to restart Lyx to let it 
use the named pipe correctly.
2,I need to firstly add the Bib database from 
Menu->insert->List/Toc->BibTex bibliography.


AsmWarrior




Re: LyX Server on XP?

2009-12-11 Thread Ken
There have been some edits to the wiki at the bottom of the page which
are very good.  But perhaps some of the rest of the page needs a bit
of reworking.

Some general comments:
(1) Using LyXServer "On Windows" is at the bottom of the page whereas
using it in UNIX or OS/2 is at the top.
(2) In between are some technical details on writing code to work with
the LyXServer.
(3) A newbie to the LyXServer may only be interested in (a) what does
it do, (b) how do I set it up, and (c) how do I push referencs from
JabRef to LyX.  So perhaps the UNIX, OS/2 and Windows instructions
should probably be grouped close to each other at the top, with usage
guidelines below, and technical details to follow at the end or in a
separate page.

Those are just some of my thoughts but I don't think I know enough of
the details to do the editing myself.

Best,
Ken


2009/12/11 Uwe Stöhr :
>> Thank you very much Siegfried!
>> That works with a small correction:...
>
> Can everybody involved in this thread please do other users the favor and
> add to our LyX Wiki how a LyXServer is set up on Windows?:
>
> http://wiki.lyx.org/LyX/LyXServer
>
> Many thanks in advance and regards
> Uwe
>


Re: LyX Server on XP?

2009-12-10 Thread Asm warrior

On 2009-12-11 12:23, Asm warrior wrote:

On 2009-12-11 9:30, Uwe Stöhr wrote:

Thank you very much Siegfried!
That works with a small correction:...


Can everybody involved in this thread please do other users the favor
and add to our LyX Wiki how a LyXServer is set up on Windows?:

http://wiki.lyx.org/LyX/LyXServer

Many thanks in advance and regards
Uwe


I just want to edit that wiki page, but how can I register a wiki user
in the http://wiki.lyx.org ?

It seems I can't find a "register" button in the home page of lyx wiki.

Thanks!





Done, I need to add a user name before I save the edited page.



Re: LyX Server on XP?

2009-12-10 Thread Asm warrior

On 2009-12-11 9:30, Uwe Stöhr wrote:

Thank you very much Siegfried!
That works with a small correction:...


Can everybody involved in this thread please do other users the favor
and add to our LyX Wiki how a LyXServer is set up on Windows?:

http://wiki.lyx.org/LyX/LyXServer

Many thanks in advance and regards
Uwe

I just want to edit that wiki page, but how can I register a wiki user 
in the http://wiki.lyx.org ?


It seems I can't find a "register" button in the home page of lyx wiki.

Thanks!





Re: LyX Server on XP?

2009-12-10 Thread Uwe Stöhr

Thank you very much Siegfried!
That works with a small correction:...


Can everybody involved in this thread please do other users the favor and add to our LyX Wiki how a 
LyXServer is set up on Windows?:


http://wiki.lyx.org/LyX/LyXServer

Many thanks in advance and regards
Uwe


Re: LyX Server on XP?

2009-12-10 Thread Murat Yildizoglu
Thank you very much Siegfried!
That works with a small correction:
In Jabref, I had to put \\.\pipe\lyxserver.in
given that in LyX I have used your suggestion below \\.\pipe\lyxserver

Regards,

Murat

2009/12/9 Siegfried Meunier-Guttin-Cluzel :
> I work on Windows XP pro with the last version 1.6.5 from the alt installer.
>
> Here what I did :
> Tools>Preferences>Directories
> Lyxserver :
> \\.\pipe\lyxserver
> In JabRef :
> Options>Preferences
> There's a button to configure the lyx server
> I put
> \\.\pipe\lyxpipe.in
>
> The \\.\pipe\lyxpipe is a notation in Windows to use a named pipe, so I
> don't think there's really a directory attached to this object.
>
> Now, I can use the Lyx button of JabRef to automatically insert a reference
> into my Lyx document.
>
> Hope it helps.
>
> Siegfried.
>
>
>



-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__


Re: LyX Server on XP?

2009-12-09 Thread Ken
This link was useful:
http://en.wikipedia.org/wiki/Named_pipe#Named_pipes_in_Windows

Named pipes in Windows

In Windows, the design of named pipes is based towards client-server
communication, and they work much like sockets, other than the usual
read and write operations. Windows named pipes also support an
explicit "passive" mode for server applications (compare: Unix domain
sockets). Windows 95 supports named pipe clients, Windows NT based
systems can also be servers.

The named pipe can be accessed much like a file. Win32 SDK functions
such as CreateFile, ReadFile, WriteFile and CloseHandle can be used to
open, read from, write to, and close a pipe. There is no command line
interface like Unix.

Named pipes aren't permanent and can't be created as special files on
any writable filesystem, unlike in Unix, but are volatile names (freed
after the last reference to them is closed) allocated in the root
directory of the named pipe filesystem (NPFS), mounted under the
special path \\.\pipe\ (that is, a pipe named "foo" would have a full
path name of \\.\pipe\foo). Anonymous pipes used in pipelining are
actually named pipes with a random name.

They are very rarely seen by users, but there are notable exceptions.
The VMware Workstation PC hardware virtualization tool, for instance,
can expose emulated serial ports to the host system as named pipes,
and the WinDbg kernel mode debugger from Microsoft supports named
pipes as a transport for debugging sessions (in fact, VMware and
WinDbg can be coupled together - since WinDbg normally requires a
serial connection to the target computer - letting driver developers
do their development and testing on a single computer). Both programs
require the user to enter names in the \\.\pipe\name form.

2009/12/9 Ken 
>
> That is excellent. It works perfectly! And I love being able to push the 
> citations from JabRef to LyX now!
>
> Some comments:
> (1) The wiki probably needs updating with this information.
>
> (2) In the Additional Features document they write:
> These are usually located in UserDir and have the names “lyxpipe.in” and 
> “lyxpipe.out”
> with footnote: On Windows, local named pipes are special objects located in 
> \\.\pipe
>
> I did not see this footnote on first pass and assumed that lyxpipes were 
> regular files (esp. when I read that on Linux it looks like a regular 
> directory with /home/myhome/lyxpipe). This is the first time I have come 
> across pipes so it was quite a new concept to me.  Perhaps the wiki could 
> make this a bit clearer and explain what is going on as it is not hard to set 
> this up, just confusing to a first time pipe user on Windows.


Re: LyX Server on XP?

2009-12-09 Thread Ken
That is excellent. It works perfectly! And I love being able to push the
citations from JabRef to LyX now!

Some comments:
(1) The wiki probably needs updating with this information.

(2) In the Additional Features document they write:
These are usually located in UserDir and have the names “lyxpipe.in” and
“lyxpipe.out”
with footnote: On Windows, local named pipes are special objects located in
\\.\pipe

I did not see this footnote on first pass and assumed that lyxpipes were
regular files (esp. when I read that on Linux it looks like a regular
directory with /home/myhome/lyxpipe). This is the first time I have come
across pipes so it was quite a new concept to me.  Perhaps the wiki could
make this a bit clearer and explain what is going on as it is not hard to
set this up, just confusing to a first time pipe user on Windows.

Thanks so much!


2009/12/9 Siegfried Meunier-Guttin-Cluzel 

> I work on Windows XP pro with the last version 1.6.5 from the alt
> installer.
>
> Here what I did :
> Tools>Preferences>Directories
> Lyxserver :
> \\.\pipe\lyxserver
> In JabRef :
> Options>Preferences
> There's a button to configure the lyx server
> I put
> \\.\pipe\lyxpipe.in
>
> The \\.\pipe\lyxpipe is a notation in Windows to use a named pipe, so I
> don't think there's really a directory attached to this object.
>
> Now, I can use the Lyx button of JabRef to automatically insert a reference
> into my Lyx document.
>
> Hope it helps.
>
> Siegfried.
>
>
>


Re: LyX Server on XP?

2009-12-09 Thread Siegfried Meunier-Guttin-Cluzel

I work on Windows XP pro with the last version 1.6.5 from the alt installer.

Here what I did :
Tools>Preferences>Directories
Lyxserver :
\\.\pipe\lyxserver
In JabRef :
Options>Preferences
There's a button to configure the lyx server
I put
\\.\pipe\lyxpipe.in

The \\.\pipe\lyxpipe is a notation in Windows to use a named pipe, so I 
don't think there's really a directory attached to this object.


Now, I can use the Lyx button of JabRef to automatically insert a 
reference into my Lyx document.


Hope it helps.

Siegfried.




Re: LyX Server on XP?

2009-12-09 Thread Ken
Vincent van Ravesteijn  writes:
> > No, we're both on Linux. But Vincent uses Windows (at least some of 
> > the time), so maybe he can check this out.
> >
> > rh
> >
> I guess it should work if you use "\\.\pipe\lyxpipe" as the LyXServer pipe.
> 
> Vincent

Hi Vincent,

Thanks for that.  LyX launched without an error message. The only problem is
that I do not understand what the reference "\\.\pipe\lyxpipe" means and I do
not know where in my filesystem I should look for the lyxpipe.  Where might it
be located?

Thanks,
Ken







Re: LyX Server on XP?

2009-12-08 Thread Vincent van Ravesteijn

rgheck schreef:

On 12/08/2009 02:26 PM, Ken wrote:

Still no luck :(

I created the folder:
C:\pipes
and added Full Permissions to this folder to myself (a limited 
Windows XP user).

In the preferences I set the LyXServer pipe to:
C:\pipes\lyxpipe

Again, when I restarted LyX I had no luck:
Setting debug level to 0
LyXComm: Could not create pipe C:\pipes\lyxpipe.in
LyXComm: The filename, directory name, or volume label syntax is 
incorrect.

LyXComm: Closing connection

Pavel and rh, do either of you use LyX on Windows XP?  Do you use the 
LyX server?


   
No, we're both on Linux. But Vincent uses Windows (at least some of 
the time), so maybe he can check this out.


rh


I guess it should work if you use "\\.\pipe\lyxpipe" as the LyXServer pipe.

Vincent


LyX Server on XP?

2009-12-08 Thread rgheck

On 12/08/2009 02:26 PM, Ken wrote:

Still no luck :(

I created the folder:
C:\pipes
and added Full Permissions to this folder to myself (a limited Windows XP user).
In the preferences I set the LyXServer pipe to:
C:\pipes\lyxpipe

Again, when I restarted LyX I had no luck:
Setting debug level to 0
LyXComm: Could not create pipe C:\pipes\lyxpipe.in
LyXComm: The filename, directory name, or volume label syntax is incorrect.
LyXComm: Closing connection

Pavel and rh, do either of you use LyX on Windows XP?  Do you use the LyX 
server?

   
No, we're both on Linux. But Vincent uses Windows (at least some of the 
time), so maybe he can check this out.


rh