Commit Graph

11 Commits

Author SHA1 Message Date
Enrico Forestieri
0e274e06d8 Update cygwin script.
Recent versions of the cygwin X11 server come with a startup script
that explicitly uses '-nolisten tcp' for improved security. This means
that mentioning a host part in the DISPLAY variable precludes correct
operation. So, leave blank the host part such that only local connections
are attempted. Even if a user can override this setting in the own
~/.lyxprofile, novice users (and even experienced ones, at first) would be
probably confused by the "Error: Can't open display: localhost:0" message
and thus it is better to make this work out of the box.
2015-03-05 00:01:40 +01:00
Enrico Forestieri
64cc8a1c1e Use getent instead of grepping /etc/passwd.
Forthcoming versions of cygwin will use a different mechanism for
obtaining passwd/group information based on /etc/nsswitch.conf.
Thus, it will not be guaranteed that the files /etc/passwd and
/etc/group even exist. The recommended way for obtaining those
info is by using the getent command, which already works in
current versions.
2014-08-03 18:59:54 +02:00
Lars Gullik Bjønnes
c7bb190fd3 Setup .gitignore for generated files
Setting up .gitignore or .git/info/excludes is something that should
be done. Not doing it makes it a lot harder to see actual new files
that should be added.

Signed-off-by: Lars Gullik Bjønnes <larsbj@gullik.org>
2012-03-22 02:16:12 +01:00
Pavel Sanda
1246a70abd Update years
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37284 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-21 13:24:23 +00:00
Pavel Sanda
e6cffb0706 Add cygwin setup.hint.
Patch from Bo Peng.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg162180.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35549 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-01 17:43:17 +00:00
Enrico Forestieri
e85790c3a3 On cygwin, install by default lyxprofile and lyxrc.dist, otherwise
packagers may forget to do it in post-install scripts.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34682 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-17 10:32:11 +00:00
Enrico Forestieri
2abfee6aba Avoid possible overruns by dinamically allocating the required buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33498 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-18 09:39:49 +00:00
Enrico Forestieri
b9e7bd033c Update lyxprofile for cygwin.
* Don't use the Windows documents folder as fallback home dir
* Starting from cygwin 1.7, the charset part of the locale settings
  are honoured. The default is UTF-8
* It is no more necessary setting OUTPUT_CHARSET
* Allow per-user customization trough ~/.lyxprofile


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33094 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 18:52:35 +00:00
Enrico Forestieri
9da28dca29 Add support for the newly released Cygwin 1.7.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32886 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 16:21:43 +00:00
Enrico Forestieri
dbdf88f2f4 On Cygwin, use link options at the link (rather than compile) stage.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31140 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 14:59:21 +00:00
Enrico Forestieri
68d936250e Add some cygwin stuff.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30327 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-30 23:28:48 +00:00