From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marko Vojinovic Newsgroups: gmane.emacs.help Subject: Re: how to change background color when running emacs -nw Date: Wed, 14 Aug 2013 11:38:11 +0100 Message-ID: <20130814113811.325525b5@Yoda> References: <877gfofz5i.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1376476727 970 80.91.229.3 (14 Aug 2013 10:38:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Aug 2013 10:38:47 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 14 12:38:49 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V9YTZ-0001cS-Ee for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Aug 2013 12:38:49 +0200 Original-Received: from localhost ([::1]:37237 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9YTY-0006bC-Sl for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Aug 2013 06:38:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36302) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9YTA-0006XC-Jm for help-gnu-emacs@gnu.org; Wed, 14 Aug 2013 06:38:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V9YT2-0002zp-7N for help-gnu-emacs@gnu.org; Wed, 14 Aug 2013 06:38:24 -0400 Original-Received: from mail-we0-x233.google.com ([2a00:1450:400c:c03::233]:47019) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9YT1-0002zZ-OX for help-gnu-emacs@gnu.org; Wed, 14 Aug 2013 06:38:15 -0400 Original-Received: by mail-we0-f179.google.com with SMTP id t57so4544493wes.38 for ; Wed, 14 Aug 2013 03:38:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=W/znPiqtJSOXNvSyQ9BIlrWWKM9fyqbc1vP6g/8K7JY=; b=bCYJwrWvfNr8ZuqsVcdcfNn7XroW2AN4V1Y4T9oK9qcDStX7aqc0FMPpwe+0vspmGF 6GUp/MJmIpwNfRBuaUtvmosa7+a6U6mzyg+xHIn0rMNzt8FS7vmatJJqbaM0VtWJOt0L k2QfAjv74hpT7C7n+QXt27f0/zjvLtgSpt7dPT6xQg6wazB+3qawxF8KOGzyjiKJdw7M mFFxHSqMLEEfy51GYUbiR1X9jnkvEf2OivOXb3Gzt7dPaxEi1s/gEgH8h+0Rmm20GWq7 KP9thVrPCDK3s2vm78xkeHdFT6kcFIs4jYo87BTN93xTR62rFmhyOnHYyjCklaBUCjfu kIqA== X-Received: by 10.180.84.65 with SMTP id w1mr1430215wiy.4.1376476694734; Wed, 14 Aug 2013 03:38:14 -0700 (PDT) Original-Received: from Yoda (78.130.40.43.rev.optimus.pt. [78.130.40.43]) by mx.google.com with ESMTPSA id jf9sm2113621wic.5.1969.12.31.16.00.00 (version=SSLv3 cipher=RC4-SHA bits=128/128); Wed, 14 Aug 2013 03:38:13 -0700 (PDT) In-Reply-To: <877gfofz5i.fsf@gmail.com> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; x86_64-redhat-linux-gnu) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c03::233 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:92876 Archived-At: On Wed, 14 Aug 2013 10:35:21 +0200 Thorsten Jolitz wrote: > Lalit Saraswat writes: > > > > I am running emacs in no window mode. but emacs dont take konsole's > > background color. > > How can i change the background colour to white or whatever used by > > konsole. > > doesn't something like > > ,-------------------------------- > | $ emacs -nw -fg wheat -bg black > `-------------------------------- > > work? I believe the OP wants emacs to autodetect the background color of a parent terminal process, and set that same color as its own background at startup. Some people use different background colors for user/root/remote shells, and I can imagine that they would want this color to propagate into emacs automatically, whatever that color may be in each particular instance. Best, :-) Marko