--- modules/news.eselect (revision 851) +++ modules/news.eselect (working copy) @@ -189,12 +189,19 @@ esac done IFS=${ifs_save} + if [[ ${repo} = gentoo ]]; then + : + elif [[ ${#repo} -le 8 ]]; then + title="[${repo}] ${title}" + else + title="[${repo:0:6}..] ${title}" + fi if [[ ${stat} = unread ]]; then write_numbered_list_entry $((i++)) "$(highlight \ - "unread ${posted}$(space $((12 - ${#posted})))${title}")" + "N ${posted}$(space $((12 - ${#posted})))${title}")" else write_numbered_list_entry $((i++)) \ - "read ${posted}$(space $((12 - ${#posted})))${title}" + " ${posted}$(space $((12 - ${#posted})))${title}" fi done [[ $# -eq 0 ]] && ! is_output_mode brief \