X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org X-YMail-OSG: 0OQX0nwVM1knV3AgN6ot7136BCgZc.c7A6k_6nR5BwSVJe6.xH7ythSj1pjUZkTLuGB9T7WKK5iU8PSh4djde_BhSRph0IZpz2hPOlBzkiQSmp03 Date: Mon, 31 Mar 2008 08:49:26 +0200 (CEST) From: Marco Atzeri Subject: RE: Changing cygwin account name (cygwin only) To: cygwin AT cygwin DOT com In-Reply-To: <0481DB75F122450C86C48D5D92F43A30@acer22fc5bc362> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <311272.5713.qm@web25004.mail.ukl.yahoo.com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 --- Hussein Patwa ha scritto: > One more question though, how can I change the way > bash (and tcsh as I > sometimes use it for a change) display the type > prompt? I use a screen > reader and it can get tedious hearing it read out > the whole user AT host each > time the prompt appears. Can I change it to just > user, or rename the host > part (which is a random laptop name ACER-12345678 > for example) to say just > patwa AT laptop without changing the windows name for > it? I'd experiment with > passwd, but I'm not sure if the machine name given > in there is taken from > windows, or whether it would break if I changed it. > Hope this makes sense. > Sorry, but after all the problems, download, > install, delete, re-install > cycles I've had this weekend I'm weary of doing > anything on my own that > might break what's an almost perfect setup now. > to redefine the prompt you need to assign a new value to variable PS1 for your scope should be something simple as PS1='\w\n\$ ' so you have only the current directory and no username and host. http://www.linuxselfhelp.com/howtos/Bash-Prompt/Bash-Prompt-HOWTO-2.html To define it permanenly, add the command to the file .bashrc in your home dir. Regards Marco ___________________________________ Scopri il Blog di Yahoo! Mail: trucchi, novità, consigli... e la tua opinione! http://www.ymailblogit.com/blog/ -- 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/