From owner-freebsd-questions@FreeBSD.ORG Mon May 15 15:56:01 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8233C16AA0E for ; Mon, 15 May 2006 15:56:01 +0000 (UTC) (envelope-from salm@freemail.it) Received: from mail-relay-3.tiscali.it (mail-relay-3.tiscali.it [213.205.33.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5282343E8F for ; Mon, 15 May 2006 15:55:08 +0000 (GMT) (envelope-from salm@freemail.it) Received: from [192.168.0.16] (84.221.58.119) by mail-relay-3.tiscali.it (7.3.104) id 44329D4C004C8844 for freebsd-questions@freebsd.org; Mon, 15 May 2006 17:53:58 +0200 Message-ID: <4468A418.5000406@freemail.it> Date: Mon, 15 May 2006 17:54:00 +0200 From: Salvatore User-Agent: Mozilla Thunderbird 1.5 (X11/20060111) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Smile in the terminal prompt X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 15:56:06 -0000 Hi, my terminal (bash) prompt is: PS1='\e[0;31m\]\e[7m[\h - \u] [\w]\e[m\]\e[27m\n[\!]$ ' After upgrading to freebsd 6.1, the prompt looks different: - it shows two smiles at both end of the first line and the red background is white. Does that happens to you too if you set the prompt above? I know that the prompt is wrong (it lacks the start invisible chars \[; a better version could be PS1='\[\e[1;37m\]\[\e[41m\][\h - \u] [\w]\[\e[0m\]\n[\!]$ '), but WHY before the upgrade it looked right and now it shows these smiles? At first, I worried that some hackers have made me a joke... (I hope not!) bye Salvatore