X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=OK5vQIBZ9LK/c3wCursGAID/fpmnBUmxmaHpjeorKM7
	0TMDigZo2nEgVmhwUrlMzacJGpg0/vOjYQ/CIM2NVT5dzVO07WyueqhY7xqeWNdG
	yre03OwF9xaLeHGeRFtqWxZPvc7/7Y4BBn1ijJ4BJQIDctgo2MW+R++1R/CQYkMY
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=79UEe8Jd0IHZ6SmvbQfqPzpZ7jA=; b=dmHq2ABsSw/vYjuzR
	gpBn3vppOHBFIxxshfg8++MLyxAnxxtw8rv+t8cBR7ciuGvYPMxdFI2xG3ofuiSS
	roL+MVFL5Xh9HLHQmOPJjdO25O8SCxfthMJCLmQhiKS6soWD4AInB4YeVrKSx2aj
	DfydGrTa2yedpnqGQjRAbRl+ZM=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2
X-HELO: proxyz12.mailnet.ptd.net
Message-ID: <52F98759.6040101@ptd.net>
Date: Mon, 10 Feb 2014 21:13:45 -0500
From: Mike Rushton <mrushton@ptd.net>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Newbie Alias and Profile questions
References: <52F979B0.2080604@ptd.net> <52F97C44.7060508@cygwin.com>
In-Reply-To: <52F97C44.7060508@cygwin.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

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 more use of the term Newbie :-)  )


On 2/10/2014 8:26 PM, Larry Hall (Cygwin) wrote:
> 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 put this code in and it seems to get overwritten.
>> I don't understand what I am doing wrong.
>
> Overwritten?  By what?  What's your home directory?
>
>> It is a minor thing that i can't clear the screen, but i want to work at
>> this and try to fix this.
>
> OK but 'clear' will do what you want.
>
>> Then I want to add a script to my profile.   but what one the 
>> .profile or
>> .bash_profile ?
>
> Unless you want it available to all users and other shells, put it in 
> your
> .bash_profile.
>
>> Other that these problems, I am converting my Korn shell scripts to bash
>> under Cygwin and it is going pretty good so far.
>
> FYI, at least the last 2 questions above are general UNIX/Linux 
> questions.
> You should consult a good UNIX/Linux resource for some basic user 
> tutorials
> and guides.
>
>
>


--
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

