This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: hexedit install flub...now shell seems rudimentary


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 terminal.
> >
> >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@directory" like before.
> 
> 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.
> 
> 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.

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

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]