From cfe7299192cf0d175ae5273e7cf81055923a6a5f Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Tue, 19 Jan 2010 19:01:10 +0000 Subject: [PATCH] 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/branches/BRANCH_1_6_X@33095 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/cygwin/lyxprofile | 16 ++++++---------- status.16x | 2 ++ 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/development/cygwin/lyxprofile b/development/cygwin/lyxprofile index 81ef67f8c4..f51bd556f1 100644 --- a/development/cygwin/lyxprofile +++ b/development/cygwin/lyxprofile @@ -3,21 +3,17 @@ if [ -z "${HOME}" ]; then USER=`id -un` HOME=`grep "^${USER}:" /etc/passwd | cut -d: -f6` if [ -z "${HOME}" -o ! -d "${HOME}" ]; then - DOCSFOLDER=`regtool -q get '\HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Personal'` - test -n "${DOCSFOLDER}" && HOME=`cygpath -u "${DOCSFOLDER}"` || HOME=/tmp + HOME="/home/${USER}" + test -d "${HOME}" || HOME=/tmp fi fi export HOME # Set up your Language (if you do not want English) by # replacing C (for C locale) with your country code in -# the following line. -export LANG=C - -# Set up the output charset for your locale. -# You may need to experiment with this if you get garbage -# in menus ("`a" instead of "à", for example). -export OUTPUT_CHARSET=iso-8859-1 +# the following line for system-wide settings or in +# ~/.lyxprofile for per-user settings. +export LANG=C.UTF-8 # Set up Hostname/IP address where LyX can find an X-server. export DISPLAY=localhost:0.0 @@ -49,4 +45,4 @@ else cd "${HOME}" fi -test -f "${HOME}/.bashrc" && . "${HOME}/.bashrc" +test -f "${HOME}/.lyxprofile" && . "${HOME}/.lyxprofile" diff --git a/status.16x b/status.16x index af81da05ce..3320b08710 100644 --- a/status.16x +++ b/status.16x @@ -75,6 +75,8 @@ What's new - Add support for Cygwin 1.7. +- Update Cygwin configuration files. + ** Bug fixes: *************