Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <5.2.1.1.2.20030724182510.02a759a8@pop.sonic.net> X-Sender: rschulz AT pop DOT sonic DOT net Date: Thu, 24 Jul 2003 18:40:55 -0700 To: cygwin AT cygwin DOT com From: Randall R Schulz Subject: Re: how to make cygwin run under shells other than bash In-Reply-To: <200307250105.h6P15OZ20054@perseus.services.brown.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Damien, Here's the stock Cygwin.bat file: -==--==--==--==--==--==--==--==--==--==- @echo off D: chdir \cygwin\bin bash --login -i -==--==--==--==--==--==--==--==--==--==- All you have to do to substitute tcsh for BASH is change the last line. The options are slightly different, though (check the man page, of course): -==--==--==--==--==--==--==--==--==--==- @echo off D: chdir \cygwin\bin tcsh -l -==--==--==--==--==--==--==--==--==--==- However, I find it more straightforward to create a Windows shortcut that launches my shell directly without any BAT file. An easy way to do this is to use right-mouse drag on /cygwin/bin/tcsh.exe (which is probably C:\cygwin\bin\tcsh.exe or D:\cygwin\bin\tcsh.exe or something analogous) to create a copy on the desktop or in the QuickLaunch bar or in your Start menu. When you release the mouse, choose "Create Shortcut(s) Here". Then open the newly created shortcut's Properties dialog and make any changes you like, such as window size and placement, font and cursor preferences, background and foreground colors, etc. (QuickEdit mode is usually a good idea). I like to give the shortcut the Cygwin icon, which is conveniently available in /Cygwin.ico. I recommend setting the "Start in:" field to you Cygwin home directory. In the "Target:" field be sure to add the "-l" (login shell) option. From now on, you can start a tcsh shell in a new console window by activating this shortcut. Good luck. Randall Schulz At 18:05 2003-07-24, Damien Suttle wrote: >Hi, >my favorite shell is tcsh, but cygwin always starts up in bash. I >tried playing with the cygwin.bat file, but i couldn't get it to >work. does anyone know how to reconfigure cygwin to start up in other shells? > >Thank you. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/