www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/18/15:17:31

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Received-SPF: pass (google.com: domain of d DOT sastre DOT medina AT gmail DOT com designates 10.180.106.67 as permitted sender) client-ip=10.180.106.67;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of d DOT sastre DOT medina AT gmail DOT com designates 10.180.106.67 as permitted sender) smtp.mail=d DOT sastre DOT medina AT gmail DOT com; dkim=pass header.i=d DOT sastre DOT medina AT gmail DOT com
Date: Sat, 18 Feb 2012 21:16:51 +0100
From: David Sastre Medina <d DOT sastre DOT medina AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: hexedit install flub...now shell seems rudimentary
Message-ID: <20120218201651.GB5319@jethro.local.lan>
References: <CALc-FG90mh+ct6t8Z=KALkaon3Gng9V24U8+1jykHpXBLApS-A AT mail DOT gmail DOT com> <4F3F98C1 DOT 6000400 AT cornell DOT edu>
MIME-Version: 1.0
In-Reply-To: <4F3F98C1.6000400@cornell.edu>
User-Agent: Mutt/1.5.21 (2010-09-15)
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

--f2QGlHpHGjS2mn6Y
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Feb 18, 2012 at 07:25:37AM -0500, Ken Brown wrote:
> On 2/18/2012 4:20 AM, Adrian Sandstrom wrote:
> >Would love if someone could help me get me back to my cozy Cygwin termin=
al.
> >
> >Problem:
> >When I use the cygwin shortcuts to cygwin.bat or mintty.exe I am
> >getting a basic terminal.
> >1) The command prompt displays "-bash-4.1$" instead of
> >"username AT directory" like before.
>=20
> It sounds like PS1 isn't being set.  This is normally done in
> /etc/profile.  You might start by comparing /etc/profile with
> /etc/defaults/etc/profile.  They should be identical unless you've
> customized /etc/profile at some point.
>=20
> The postinstall script for the base-files package should have taken
> care of updating /etc/profile, so you could also check to make sure
> the script was executed.

This is probably caused by incorrect permissions in the latest base-files'
package contents.
A release fixing this will be available shortly.
For the time being, please check and correct perms in:

/etc/bash.bash_logout
/etc/profile.d
/etc/profile.d/tzset.sh
/etc/profile.d/tzset.csh
/etc/profile.d/lang.csh
/etc/profile.d/lang.sh
/etc/bash.bashrc
/etc/skel/.inputrc
/etc/skel/.profile
/etc/skel/.bashrc
/etc/skel/.bash_profile
/etc/profile

All of them should have owner/group root.root and 644 perms (rw-r--r--)

Hope that helps.

--=20
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56

--f2QGlHpHGjS2mn6Y
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iF4EAREIAAYFAk9ABzMACgkQ95urBFKZ7FaorAD+NQ/bt+4YJTh/671BXulsFAwC
cUxAwSteMzmpAm8gWHQA/AilFc9zuOZQ+hNcHZFzKUIYapb+4KIqw8meIKHkoxtF
=aCQL
-----END PGP SIGNATURE-----

--f2QGlHpHGjS2mn6Y--

- Raw text -


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