Slicer3:xterm wrapper

From Slicer Wiki
Revision as of 15:52, 31 December 2008 by Inorton (talk | contribs)
Jump to: navigation, search
Home < Slicer3:xterm wrapper

Copy this script to "Cygwin\bin\startxterm_admin.bat"

"""

@echo on

REM Change the DISPLAY variable as necessary. REM Default is 127.0.0.1 for a basic cygwin install.

SET DISPLAY=127.0.0.1:0.0


SET CYGWIN_ROOT=\cygwin SET RUN=%CYGWIN_ROOT%\bin\run -p /usr/bin

SET PATH=.;%CYGWIN_ROOT%\bin;%PATH%


%RUN% xterm -e /usr/bin/bash -l

"""