Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 94247 Details for
Bug 143892
app-dicts/lexa-0.5 - command line dictionary (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Makes color output work when TERM="xterm-color"
lexa-0.5-xterm-color.patch (text/plain), 646 bytes, created by
Adrian Perez
on 2006-08-14 09:16:07 UTC
(
hide
)
Description:
Makes color output work when TERM="xterm-color"
Filename:
MIME Type:
Creator:
Adrian Perez
Created:
2006-08-14 09:16:07 UTC
Size:
646 bytes
patch
obsolete
>--- lexa.py.orig 2006-07-29 17:41:52.129185732 +0200 >+++ lexa.py 2006-07-29 17:42:16.392979488 +0200 >@@ -12,11 +12,11 @@ > # Try to set color escapes which work across various types of terminals. > # Problem: we need to wrap the escapes in \001..\002 for long lines not to > # wrap in random ways, but \001,\002 generate on-screen garbage in old > # xterms and Emacs terminals. > try: >- if os.environ['TERM'] in ['emacs', 'dumb', 'eterm', 'xterm']: >+ if os.environ['TERM'] in ['emacs', 'dumb', 'eterm', 'xterm', 'xterm-color']: > enabled = 'no' > else: > enabled = 'yes' > except: # Windows doesn't set $TERM > enabled = 'no'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 143892
:
94245
|
94246
| 94247