From owner-freebsd-questions@FreeBSD.ORG Fri Oct 31 04:42:48 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32F611065673; Fri, 31 Oct 2008 04:42:48 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 851078FC20; Fri, 31 Oct 2008 04:42:47 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (adsl25-227.kln.forthnet.gr [77.49.152.227]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id m9V4gHST029518 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 31 Oct 2008 06:42:28 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id m9V4gGWt094671; Fri, 31 Oct 2008 06:42:16 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id m9V4gEwb094670; Fri, 31 Oct 2008 06:42:14 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Polytropon In-Reply-To: <20081030093015.2188f1f0.freebsd@edvax.de> (Polytropon's message of "Thu, 30 Oct 2008 09:30:15 +0100") Date: Fri, 31 Oct 2008 06:19:23 +0200 Message-ID: <87wsfp5rck.fsf@kobe.laptop> References: <20081030070459.11029e7b.freebsd@edvax.de> <20081030061002.GB97010@icarus.home.lan> <20081030093015.2188f1f0.freebsd@edvax.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: m9V4gHST029518 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.853, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.55, BAYES_00 -2.60, FB_WORD1_END_DOLLAR 0.00) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: Jeremy Chadwick , FreeBSD Questions Subject: Re: Status line for text mode console 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: Fri, 31 Oct 2008 04:42:48 -0000 On Thu, 30 Oct 2008 09:30:15 +0100, Polytropon wrote: > On Wed, 29 Oct 2008 23:10:02 -0700, Jeremy Chadwick wrote: >> Sounds like something screen(1) offers. See sysutils/screen. > > Much too complicated. :-) I'm using screen on a daily basis to manage > multiple SSH sessions (very comfortable tool), but for something that > should run locally (a local terminal session) it doesn't seem to be > the right tool. That's right, but screen(1) is pretty easy to configure this way. You just have to add a `.screenrc' file with: caption always "%{= bf}%5n %t (%H) %l%=%Y-%m-%d %c:%s " This should produce a colored, blue 'hardstatus' line near the bottom of the screen window, that displays something like this: ,----------------------------------------------------------------------- | bash$ | | | 0 shell (kobe) 0.44 0.52 0.58 2008-10-31 6:14:00 `----------------------------------------------------------------------- FWIW, I regularly use screen(1) in console sessions too, because ssh sessions to `other' OS types work much better with a terminal type of `screen'. Some Linux and Solaris systems do funny things when the environment includes `TERM=cons25' :(