public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Fabian Groffen <grobian@gentoo.org>
To: gentoo-portage-dev@lists.gentoo.org
Subject: [gentoo-portage-dev] [PATCH] include status support for xterm-color and interix
Date: Mon, 12 May 2008 21:07:01 +0200	[thread overview]
Message-ID: <20080512190701.GK16108@gentoo.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 125 bytes --]

Attached patch adds statusbar support for xterm-color and interix
terminals.

-- 
Fabian Groffen
Gentoo on a different level

[-- Attachment #2: subm.patch --]
[-- Type: text/plain, Size: 498 bytes --]

--- ../../trunk/pym/portage/output.py	2008-05-12 19:25:13 +0200
+++ ./pym/portage/output.py	2008-05-08 21:17:50 +0200
@@ -246,7 +246,7 @@
 		if len(mystr) > max_len:
 			mystr = mystr[:max_len]
 		myt=os.environ["TERM"]
-		legal_terms = ["xterm","Eterm","aterm","rxvt","screen","kterm","rxvt-unicode","gnome"]
+		legal_terms = ["xterm","xterm-color","Eterm","aterm","rxvt","screen","kterm","rxvt-unicode","gnome","interix"]
 		for term in legal_terms:
 			if myt.startswith(term):
 				if not raw:

                 reply	other threads:[~2008-05-12 19:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080512190701.GK16108@gentoo.org \
    --to=grobian@gentoo.org \
    --cc=gentoo-portage-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox