|
From: | Angelo Graziosi |
Subject: | Re: Cygwin emacs - does it work? |
Date: | Tue, 05 Aug 2008 23:26:48 +0200 |
User-agent: | Thunderbird 2.0.0.16 (Windows/20080708) |
Lennart Borgman (gmail) ha scritto:
Eric Hanchrow wrote:I think you need to set an environment variable before starting Cygwin -- "set CYGWIN=tty" might do it.
That is frustrating too ;-)
In general though, I've found Cygwin emacs to be too frustrating to use; I instead use the native Win32 emacs, but with lots of Cygwin tools such as bash, coreutils, and find.
Why 'frustrating'?I start the GTK build of Emacs trunk (and the X server if needs) with a link on the Desktop.
The target of the link is: C:\cygwin\bin\run.exe bash -l start_emacs-X.sh and $ $ cat /usr/local/bin/start_emacs-X.sh #!/bin/bash #export DISPLAY=127.0.0.1:0.0 export DISPLAY=:0 #export PATH=/usr/X11R6/bin:"$PATH" # export XAPPLRESDIR=/usr/X11R6/lib/X11/app-defaults # export XCMSDB=/usr/X11R6/lib/X11/Xcms.txt # export XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB # export XNLSPATH=/usr/X11R6/lib/X11/locale ## -------------------------------------------------------- start_XWin() { # Cleanup from last run. rm -rf /tmp/.X11-unix XWin -multiwindow -clipboard -silent-dup-error +bs & } /usr/bin/checkX || start_XWin ## -------------------------------------------------------- ## Workaround to use GTK build of Emacs export G_SLICE=always-malloc exec /usr/local/bin/emacs ================================================================== The link can be created automatically running: ## Emacs mkshortcut -A \ -n Emacs \ -D /usr/bin/run.exe \ -a 'bash -l start_emacs-X.sh' \ -i /usr/local/bin/emacs.ico \ -d "Editor di testo" \ -w '' Cheers, Angelo. --- Tu proverai si' come sa di sale lo pane altrui, e come e' duro calle lo scendere e 'l salir per l'altrui scale. . DANTE, Paradiso, xvii 58-60
[Prev in Thread] | Current Thread | [Next in Thread] |