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 cmake: also build with win32libs 2008-04-16 16:47:12 +00:00
FindGNUWIN32.cmake build out of the box with win32libs from the kdewin installer 2008-03-24 14:19:36 +00:00
FindICONV.cmake cmake cosmetics 2007-08-28 19:54:42 +00:00
FindLibintl.cmake cmake: use external libintl on windows 2008-04-19 08:47:33 +00:00
FindLyXGettext.cmake Backport of chanes made in trunk. 2009-03-20 14:54:54 +00:00
FindQt4.cmake rcc: use -name option 2007-10-19 18:45:09 +00:00
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 cmake cosmetics 2007-08-28 19:54:42 +00:00
LyXuic.cmake cmake cosmetics 2007-08-28 19:54:42 +00:00
MacroBoolTo01.cmake MinGW fixes 2008-04-20 11:06:08 +00:00
ProjectSourceGroup.cmake cmake cosmetics 2007-08-28 19:54:42 +00:00