Re: Username and Computer Name
On Mon, May 14, 2012 at 11:19 PM, Pascal J. Bourguignon wrote: But since you couldn't type the man bash command, I don't expect you to be able to type the more complex man bash | grep -C 3 PS1 command. And since you've not been able to read the bash manual, how could I expect you to be able to read the extracts? Harsh, man just harsh; but I understand your point. You should point the OP to Unix in a Nutshell from publisher O'Reily. -- Earnie -- https://sites.google.com/site/earnieboyd -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Username and Computer Name
On 05/14/2012 08:19 PM, Pascal J. Bourguignon wrote: m...@kalani.com writes: Could you please explain more into detail on how to obtain a PS1? What else can we tell you? You've been explained how to learn about it, and you haven't. What can we do? You can lead a horse to water but you can't make him think! Max, if you are having difficulty with such basic concepts then perhaps Cygwin is not for you. If you wish to muddle through you will need to do your own homework. This means when somebody says something like Google this you Google this then do a lot of reading, thinking and formulate questions based on your research if needed. Nobody here will put the knowledge in your head. -- Andrew DeFaria http://defaria.com Very funny Scotty - now beam down my clothes. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Username and Computer Name
On 05/15/2012 07:12 AM, Earnie Boyd wrote: On Mon, May 14, 2012 at 11:19 PM, Pascal J. Bourguignon wrote: But since you couldn't type the man bash command, I don't expect you to be able to type the more complex man bash | grep -C 3 PS1 command. And since you've not been able to read the bash manual, how could I expect you to be able to read the extracts? Harsh, man just harsh; but I understand your point. You should point the OP to Unix in a Nutshell from publisher O'Reily. Not harsh at all. Granted I understand some people are new to this and are very green. But when you are given specific instructions like do a man bash and look for PS1 and it's quite clear you didn't bother to lift a finger in that regard, then you deserve what you call harsh treatment. BTW I call it the truth. At a minimum Max should have done man bash and looked for PS1 and reported back something like I tried that but could not find PS1 or I read the man bash output and I'm still confused about PS1. Max did none of that. When people refuse to take even minimal steps to help themselves then I have lost a bit of initially bestowed respect. BTW it is my theory that people who typically act in this manner probably (read definitely) suffer the most frustration with their computers in many areas. It's the only thing that still warms my heart. -- Andrew DeFaria http://defaria.com If you can't be kind, at least have the decency to be vague. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Username and Computer Name
I am installing cygwin on a new computer and I was told that the green username@computername ' is supposed to be hidden, and that I somehow installed Cygwin improperly. Could someone please explain how to hide or setup cygwin properly to not show this? Mahalo, Max -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Username and Computer Name
On 5/14/2012 4:19 PM, m...@kalani.com wrote: I am installing cygwin on a new computer and I was told that the green username@computername ' is supposed to be hidden, and that I somehow installed Cygwin improperly. That's not true, whoever told you that is either joking or making fun at your expense. Could someone please explain how to hide or setup cygwin properly to not show this? You can change it any way you want, its part of the shell prompt, controlled by environment variable PS1 (and PROMPT_COMMAND for the window title). -- René Berber -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Username and Computer Name
On 2012-05-14 21:19Z, m...@kalani.com wrote: I am installing cygwin on a new computer and I was told that the green username@computername ' is supposed to be hidden, and that I somehow installed Cygwin improperly. That's a normal part of the default bash prompt. (Perhaps your employer would prefer that you remove it?) Could someone please explain how to hide or setup cygwin properly to not show this? Run 'man bash' and look for PS1. Remove the '\u@\h' part. To make the change permanent, set your own PS1 in '~/.bash_profile'. This isn't cygwin specific, so you can google for more details. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Username and Computer Name
Hello Greg, Could you please explain more into detail on how to obtain a PS1? Mahalo, Max On 2012-05-14 21:19Z, m...@kalani.com wrote: I am installing cygwin on a new computer and I was told that the green username@computername ' is supposed to be hidden, and that I somehow installed Cygwin improperly. That's a normal part of the default bash prompt. (Perhaps your employer would prefer that you remove it?) Could someone please explain how to hide or setup cygwin properly to not show this? Run 'man bash' and look for PS1. Remove the '\u@\h' part. To make the change permanent, set your own PS1 in '~/.bash_profile'. This isn't cygwin specific, so you can google for more details. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Username and Computer Name
m...@kalani.com writes: Could you please explain more into detail on how to obtain a PS1? What else can we tell you? You've been explained how to learn about it, and you haven't. What can we do? Run 'man bash' and look for PS1. Remove the '\u@\h' part. To make the change permanent, set your own PS1 in '~/.bash_profile'. This isn't cygwin specific, so you can google for more details. If you don't know how to look for a string in a text by reading that text, you could try to use a computer command: man bash | grep -C 3 PS1 But since you couldn't type the man bash command, I don't expect you to be able to type the more complex man bash | grep -C 3 PS1 command. And since you've not been able to read the bash manual, how could I expect you to be able to read the extracts? -- __Pascal Bourguignon__ http://www.informatimago.com/ A bad day in () is better than a good day in {}. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple