lyx_mirror/development/cmake/modules
Enrico Forestieri 6ffeab01b7 Implement the LyXServer on Windows.
In order to enable the server, specify the LyXServer pipe in
Tools->Preferences->Paths. The path to be entered there must have the
form "\\.\pipe\nameofyourchoice" (without quotes). After that, you can
send commands to LyX. For example, if the pipe path is \\.\pipe\lyxpipe,
typing the following in a terminal:

echo LYXCMD:test:file-open > \\.\pipe\lyxpipe.in
type \\.\pipe\lyxpipe.out

brings up the file dialog and returns the acknowledgment from LyX.
Beware of spaces when using cmd.exe. For example, the following:
echo LYXCMD:test:file-open:foo.lyx> \\.\pipe\lyxpipe.in
will correctly load the document named foo.lyx, but
echo LYXCMD:test:file-open:foo.lyx > \\.\pipe\lyxpipe.in
(notice the space before the redirection) will try to load a
document whose name is "foo.lyx .lyx" because cmd.exe will also
pass the space (sigh).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31389 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-13 20:49:30 +00:00
..
FindAiksaurusLIB.cmake Use cmake macro find_package_handle_standard_args() 2009-04-26 18:35:12 +00:00
FindASPELL.cmake
FindGNUWIN32.cmake
FindICONV.cmake
FindLibintl.cmake
FindLyXGettext.cmake Backport of chanes made in trunk. 2009-03-20 14:54:54 +00:00
FindQt4.cmake
FindZLIB.cmake Backport of chanes made in trunk. 2009-03-20 14:54:54 +00:00
LyXMacros.cmake Implement the LyXServer on Windows. 2009-09-13 20:49:30 +00:00
LyXPaths.cmake
LyXuic.cmake
MacroBoolTo01.cmake
ProjectSourceGroup.cmake