delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/11/21/12:55:36

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com, love_nicky85 AT yahoo DOT com
Subject: Re: what's wrong with my cygwin command prompt?
In-Reply-To: <7475831.post@talk.nabble.com>
Message-Id: <20061121181809.5CC7714CF67C@u53026a.matapp.unimib.it>
Date: Tue, 21 Nov 2006 19:18:09 +0100 (CET)
From: grenie AT matapp DOT unimib DOT it (Loic Grenie)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

> http://www.nabble.com/file/4253/cygwin2.JPG 
>
> Above image show that EACH time i type A command, it just pop to new command
> prompt, like this:
> (assumed i have a cpp file to compile using g++ compiler and there is no
> error and i want to run it....)

>
> Nick AT ACER-Nick
> $ g++ testing.cpp -o testing
>
> Nick AT ACER-Nick
> $ ./testing
> Hello, i'm newbie to this forum.

> Dont it supposed to be like this ? :

> Nick AT ACER-Nick
> $ g++ testing.cpp -o testing
> $ testing
> Hello, i'm newbie to this forum.

> So, something wrong with my cygwin installation?

    The default prompt is 3 lines high: first an empty line, then
  your-log-name AT your-machinename and then the classical "$ ". What you
  are observing is perfectly normal, but feel free to revert to a single
  line prompt if makes you feel better: add a PS1="$ " in your .bashrc if you
  want something more compact.

     Cheers,

        Loïc

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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