Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 290971 Details for
Bug 388233
eselect news feature request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for news.eselect
news.eselect.patch (text/plain), 1.02 KB, created by
Ulrich Müller
on 2011-10-27 05:47:16 UTC
(
hide
)
Description:
Patch for news.eselect
Filename:
MIME Type:
Creator:
Ulrich Müller
Created:
2011-10-27 05:47:16 UTC
Size:
1.02 KB
patch
obsolete
>--- modules/news.eselect (revision 851) >+++ modules/news.eselect (working copy) >@@ -167,6 +167,7 @@ > > do_list() { > local item stat repo dir header line title posted i=1 >+ local cols=${COLUMNS:-80} > local ifs_save=${IFS-$' \t\n'} > local -a repos dirs > >@@ -189,13 +190,17 @@ > esac > done > IFS=${ifs_save} >+ [[ ${repo} != gentoo ]] && title="[${repo}] ${title}" >+ line="${posted}$(space $((12 - ${#posted})))${title}" >+ # truncate the line if it is too long >+ (( 11 + ${#line} >= cols && cols >= 72 )) \ >+ && line="${line:0:cols-15}..." > if [[ ${stat} = unread ]]; then >- write_numbered_list_entry $((i++)) "$(highlight \ >- "unread ${posted}$(space $((12 - ${#posted})))${title}")" >+ write_numbered_list_entry ${i} "$(highlight "N ${line}")" > else >- write_numbered_list_entry $((i++)) \ >- "read ${posted}$(space $((12 - ${#posted})))${title}" >+ write_numbered_list_entry ${i} " ${line}" > fi >+ (( i++ )) > done > [[ $# -eq 0 ]] && ! is_output_mode brief \ > && write_kv_list_entry "(none found)" ""
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 388233
:
290921
|
290949
| 290971