delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/08/22/09:01:59

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_50,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4E525330.5070305@cs.umass.edu>
Date: Mon, 22 Aug 2011 09:01:36 -0400
From: Eliot Moss <moss AT cs DOT umass DOT edu>
Reply-To: moss AT cs DOT umass DOT edu
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20110812 Thunderbird/6.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: How to use only one line (remove the logged in info)?
References: <32310919 DOT post AT talk DOT nabble DOT com>
In-Reply-To: <32310919.post@talk.nabble.com>
X-IsSubscribed: yes
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

On 8/22/2011 8:54 AM, icet wrote:
>
> Hi, could someone tell me how can I make the terminal use only one line
> instead of two? Right now it is like this
>
> Administrator AT ddv~
> #
>
> I would like either
> #
>
> or
> Administrator AT ddv~ #

Assuming you're talking about bash, you want to manipulate
the setting of environment variable PS1.  See "man bash" ...

This is not cygwin specific.

Regards -- Eliot Moss

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