Re: Newbie Alias and Profile questions

2014-04-13 Thread Ken Jackson
On 02/10/2014 08:15 PM, Mike Rushton wrote: I am trying to put an alias in a .bashrc alias clear='printf "\033c"' Sometimes 'clear' is installed and sometimes it's not, so I put this line in my ~/.bashrc file on all Linux, BSD and Cygwin systems: test -z "$(type -t clear)" && alias clear='e

Re: Newbie Alias and Profile questions

2014-02-16 Thread Thorsten Kampe
* Mike Rushton (Mon, 10 Feb 2014 20:15:28 -0500) > I am trying to put an alias in a .bashrc > > alias clear='printf "\033c"' clear is part of the ncurses package, so I would simply install this. > But what .bashrc do I put this in ? in /ect/skel or the one my user > directory. I put this cod

Re: Newbie Alias and Profile questions

2014-02-12 Thread Andrey Repin
Greetings, Mike Rushton! Please don't http://cygwin.com/acronyms/#TOFU > OK, I got it working ... I have my home in an directory other that what > Cygwin defaults because other software run needs > I thought my files were being overwritten ... but no - I was modifying > the wrong files. > Af

Re: Newbie Alias and Profile questions

2014-02-12 Thread Mike Rushton
OK, I got it working ... I have my home in an directory other that what Cygwin defaults because other software run needs I thought my files were being overwritten ... but no - I was modifying the wrong files. After I found the correct files and modified the .bash_profile everything was fine

Re: Newbie Alias and Profile questions

2014-02-10 Thread Mike Rushton
Well let me work at it tomorrow. I know how to do this on other unix systems, just that Cygwin is not acting as I am used too. I have done things like this on some versions of RHEL, UnixWare, Xenix, MKS Tookit. I guess I have to keep reading the Documentation and trying things. ( and no m

Re: Newbie Alias and Profile questions

2014-02-10 Thread Christopher Faylor
Can we have a moratorium on the term "newbie" please? Please just ask your questions. On Mon, Feb 10, 2014 at 08:15:28PM -0500, Mike Rushton wrote: >Can some one give me some hints about this ? > >I read the documentation and can't figure this out. > >I am trying to put an alias in a .bashrc > >a

Re: Newbie Alias and Profile questions

2014-02-10 Thread Larry Hall (Cygwin)
On 2/10/2014 8:15 PM, Mike Rushton wrote: Can some one give me some hints about this ? I read the documentation and can't figure this out. I am trying to put an alias in a .bashrc alias clear='printf "\033c"' But what .bashrc do I put this in ? in /ect/skel or the one my user directory. I

Newbie Alias and Profile questions

2014-02-10 Thread Mike Rushton
Can some one give me some hints about this ? I read the documentation and can't figure this out. I am trying to put an alias in a .bashrc alias clear='printf "\033c"' But what .bashrc do I put this in ? in /ect/skel or the one my user directory. I put this code in and it seems to get overw