This is the mail archive of the
mailing list for the Cygwin project.
[Fwd: CYGWIN "notty" (enthought solution?)]
- From: John F Burkhart <jfburkhart at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 31 Jan 2007 16:05:36 +0100
- Subject: [Fwd: CYGWIN "notty" (enthought solution?)]
Hello all. I've found this post:
and I am having an identical problem.
I'm a newbie. I've installed cygwin (without python), and then installed
enthought - because I'm hoping to use the scypy tools, etc.
Anyway, I'm running the latest cygwin on an xp pro machine. I use the
.bat file (pasted below) to launch cygwin and an xterm. Notice i put the
SET CYGWIN=notty line in there, but it hasn't done anything to improve
the situation. Could someone perhaps explicitly sate how to set
Any thoughts would be greatly appreciated.
============= BEGINFILE =====================
REM The path in the CYGWIN_ROOT environment variable assignment assume
REM that Cygwin is installed in a directory called 'cygwin' in the root
REM directory of the current drive. You will only need to modify
REM CYGWIN_ROOT if you have installed Cygwin in another directory. For
REM example, if you installed Cygwin in \foo\bar\baz\cygwin, you will need
REM to change \cygwin to \foo\bar\baz\cygwin.
REM This batch file will almost always be run from the same drive (and
REM directory) as the drive that contains Cygwin/X, therefore you will
REM not need to add a drive letter to CYGWIN_ROOT. For example, you do
REM not need to change \cygwin to c:\cygwin if you are running this
REM batch file from the C drive.
SET RUN=%CYGWIN_ROOT%\bin\run -p /usr/X11R6/bin
REM Cleanup after last run.
if not exist %CYGWIN_ROOT%\tmp\.X11-unix\X0 goto CLEANUP-FINISH
attrib -s %CYGWIN_ROOT%\tmp\.X11-unix\X0
if exist %CYGWIN_ROOT%\tmp\.X11-unix rmdir %CYGWIN_ROOT%\tmp\.X11-unix
REM The error "Fatal server error: could not open default font 'fixed'" is
REM caused by using a DOS mode mount for the mount that the Cygwin/X
REM fonts are accessed through. See the Cygwin/X FAQ for more
if "%OS%" == "Windows_NT" goto OS_NT
REM Windows 95/98/Me
echo startxwin.bat - Starting on Windows 95/98/Me
REM Windows NT/2000/XP/2003
echo startxwin.bat - Starting on Windows NT/2000/XP/2003
REM Brief descriptions of XWin-specific options:
REM -screen scr_num [width height]
REM Enable screen scr_num and optionally specify a width and
REM height for that screen.
REM Most importantly, any parameters specified before the first -screen
REM parameter apply to all screens. Any options after the first
REM parameter apply only to the screen that precedes the parameter.
REM XWin -fullscreen -screen 0 -screen 1 -depth 8 -screen 2
REM All screens will be fullscreen, but screen 2 will be depth 8, while
REM screens 0 and 1 will be the default depth (whatever depth Windows
REM is currently running at).
REM Start an integrated Windows-based window manager. Not to be
REM with -rootless nor -fullscreen.combination (default).
REM Use a transparent root window with an external window manager
REM (such as twm). Not to be used with -multiwindow nor
REM with -fullscreen.
REM Use a window as large as possible on the primary monitor.
REM Create a root window that covers all monitors on a
REM system with multiple monitors.
REM Enable the integrated version of xwinclip. Do not use in
REM conjunction with the xwinclip program.
REM -depth bits_per_pixel
REM Specify the screen depth to run at (in bits per pixel) using a
REM DirectDraw-based engine in conjunction with the -fullscreen
REM option, ignored if the -fullscreen option is not specified.
REM By default, you will be using a DirectDraw based engine on any
REM system that supports it.
REM Trap Ctrl+Alt+Backspace as a server shutdown key combination.
REM Disable Ctrl+Alt+Backspace as a server shutdown key
REM Example:will not.
REM XWin -unixkill -screen 0 -screen 1 -screen 2 -nounixkill
REM Screens 0 and 1 will allow Ctrl+Alt+Backspace, but screen 2
REM Trap Alt+F4 as a server shutdown key combination (default).
REM Disable Alt+F4 as a server shutdown key combination.
REM Enable resizing of the server display window. Do not use in
REM with -multiwindow nor with -rootless.option.
REM Draw the server root window without a title bar or border.
REM Do not use with -mutliwindow nor with -rootless.
REM Hide the Windows mouse cursor anytime it is over any part of the
REM window, even if Cygwin/X is not the window with the focus.
REM -refresh rate_in_Hz
REM Specify a refresh rate to use when used with the -fullscreen
REM Enable the tray icon (default).
REM Disable the tray icon.
REM XWin -notrayicon -screen 0 -screen 1 -screen 2 -trayicon
REM Screens 0 and 1 will not have tray icons, but screen 2 will.
REM -emulate3buttons [timeout]
REM Emulate 3 button mouse with an optional timeout in milliseconds.
REM Specify an XF86Config-style configuration file.
REM Specify a keyboard device from the configuration file.
REM Startup the programs
REM Startup the X Server with the integrated Windows-based window
REM WARNING: Do not use 'xwinclip' in conjunction with the ``-clipboard''
REM command-line parameter for XWin. Doing so would start two clipboard
REM managers, which is never supposed to happen.
%RUN% XWin -multiwindow -clipboard -silent-dup-error
REM Startup an xterm, using bash as the shell.
%RUN% xterm -e /usr/bin/bash -l
REM Startup the twm window manager.
REM WARNING: Do not use an external window manager in conjunction with
REM the ``-multiwindow'' command-line parameter for XWin. Doing so
REM would start two window managers, which is never supposed to happen.
REM %RUN% twm
REM Set a background color. Only needed when not using -multwindow
REM %RUN% xsetroot -solid aquamarine4
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html