delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/10/21:14:43

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT ptd DOT 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 AT cygwin DOT com
Subject: Re: Newbie Alias and Profile questions
References: <52F979B0 DOT 2080604 AT ptd DOT net> <52F97C44 DOT 7060508 AT cygwin DOT com>
In-Reply-To: <52F97C44.7060508@cygwin.com>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019