I just updated cygwin (installing hg), which updated all the packages.
gitk now fails to start.
I basically get :
$Application initialization failed: no display name and no $DISPLAY
environment variable
cygwin warning:
MS-DOS style path detected: C:\Users\Admin\cygwin\bin\gitk
Preferred POSIX equivalent is: /usr/bin/gitk
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
Error in startup script: no display name and no $DISPLAY environment variable
while executing
"load /usr/lib/tk8.5/../../bin/libtk8.5.dll Tk"
("package ifneeded Tk 8.5.11" script)
invoked from within
"package require Tk"
(file "C:\Users\Admin\cygwin\bin\gitk" line 11)
[1]+ Exit 1 gitk --all
Note that I've seen the discussion at
http://cygwin.com/ml/cygwin/2011-08/msg00478.html, but I don't agree
with the conclusion. I never needed an X server before, and gitk
displayed fine up until now. So why should I need to run an X server
now?