delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/08/08/13:48:16

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT org>
Subject: Re: How to replace default bash window with rxvt / bash shell?
Date: Fri, 08 Aug 2008 12:47:06 -0500
Lines: 50
Message-ID: <g7i0qs$meg$1@ger.gmane.org>
References: <18895814 DOT post AT talk DOT nabble DOT com>
Mime-Version: 1.0
User-Agent: Thunderbird 2.0.0.16 (Windows/20080708)
In-Reply-To: <18895814.post@talk.nabble.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

CheapLisa wrote:

> I want to replace the default cygwin bash window with something where I c=
an
> have multiple tabs
> or tab like features.  I do not know of any command line commando that wo=
uld
> not want this feature
> and hope that in the future something else would be provided by default.
>=20
> It looks like the best combination is "rxvt" and "screen" used together.

There's other options with real tabs, Terminator is one, another was=20
discussed recently on this list.  They all have glitches, I use mrxvt=20
but that one needs Cygwin/X or similar running.

> So I was able to crate an rxvt.bat file and create a short cut to it (icon
> on desktop)
> but when it launches it is not the bash shell nor is it a login shell.

You don't need a batch file, just create a shortcut, edit its properties=20
and put something like:

C:\cygwin\bin\rxvt.exe -sl 2048 -geometry +56+616 -e /bin/bash --login -i

in the target field.  You may also add a nice icon (for instance=20
C:\Cygwin\cygwin.ico)

> When I do $echo $SHELL, I get /bin/sh and when I type $alias, I get nothi=
ng
> so it has not sourced my environment config files.

That's controlled by the parameters you pass to bash, that's why the=20
"--login -i" is there above.

[snip]
>  Also when running the screen command I always get some text and then
> instructions
>  to press the spacebar/or enter.  That is very nice but how is this
> surpressed?

Don't use screen (not recently anyway) but isn't it there a "quiet" option?
--=20
Ren=E9 Berber


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019