Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package tcsh for openSUSE:Factory checked in at 2023-10-20 23:16:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tcsh (Old) and /work/SRC/openSUSE:Factory/.tcsh.new.1945 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tcsh" Fri Oct 20 23:16:24 2023 rev:96 rq:1118948 version:6.24.10 Changes: -------- --- /work/SRC/openSUSE:Factory/tcsh/tcsh.changes 2023-10-12 11:58:58.289542914 +0200 +++ /work/SRC/openSUSE:Factory/.tcsh.new.1945/tcsh.changes 2023-10-20 23:17:13.607526315 +0200 @@ -1,0 +2,6 @@ +Thu Oct 12 11:10:59 UTC 2023 - Dr. Werner Fink <wer...@suse.de> + +- Try to make complete for command man faster and support all + separate manual page sections + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ complete.tcsh ++++++ --- /var/tmp/diff_new_pack.Ta02B5/_old 2023-10-20 23:17:15.311588489 +0200 +++ /var/tmp/diff_new_pack.Ta02B5/_new 2023-10-20 23:17:15.315588635 +0200 @@ -10,9 +10,8 @@ # 1999/06/28: <wer...@suse.de> resort to the order to fit complete.tcsh # found in tcsh-6.08.05, add the mh completes. # - set autolist=ambiguous - set noglob # + unset noglob set hosts foreach _f ("$HOME/.hosts" /etc/csh.hosts "$HOME/.rhosts" /etc/hosts.equiv) if ( -r $_f ) then @@ -33,8 +32,11 @@ else set _manpath="/usr{{/X11/man,/openwin/man,/share/man}/{man,cat},{/man/{man,cat}}}" endif + set _man_sections=(`\ls -1dfUA ${_manpath}*|sed s%/.\*/man%%|sort -u`) + set autolist=ambiguous + set noglob if ( -d /usr/lib/ispell/ ) then - set _hash=(`\ls -1fUA /usr/lib/ispell/|&\sed -rn \\%.\*\\.hash%{s%\.hash%%p}`) + set _hash=(`\ls -1fUA /usr/lib/ispell/|&sed -rn \\%.\*\\.hash%{s%\.hash%%p}`) else set _hash=(english deutsch) endif @@ -703,11 +705,14 @@ n@-u@T:$_maildir@ n/-f/f/ n/*/u/ endif - complete man 'n@[0-9n]@`\ls -1fUA ${_manpath}$:-1/|&\sed \\%.\*:%d\;s%\\.$:-1.\*\$%%|\sort -u`@' \ + alias _list_man_pages \ + 'find ${_manpath:h} \( -type f -o -type l \) -printf "%f\n"|&sed -r "\%find:.*:%d;s%([^.]+).([^ ]*?)%\1%g"|sort -u' + complete man 'n@[0-9n]{,p,mp}@`\ls -1fUA ${_manpath}$:-1/|&sed \\%.\*:%d\;s%\\.$:-1.\*\$%%|sort -u`@' \ c@-@"(- f k M P s S t)"@ n@-f@c@ n@-k@x:'<keyword>'@ n/-l/f/ C@./*@f@ n@-[MP]@d@ \ - 'N@-[MP]@`\ls -1 $:-1/man? |&\sed -n s%\\..\\+\$%%p`@' \ - 'n@-[sS]@`\ls -1 ${_manpath:h}|&\sed -n \\%/.\*:%d\;s%man%%p|\sort -u`@' \ - 'n@*@`\find ${_manpath:h} \( -type f -o -type l \) -printf "%f\n"|&\sed -r "\%find:.*:%d;s%([^.]+).([^ ]*?)%\1%g"|\sort -u`@' + 'N@-[MP]@`\ls -1 $:-1/man? |&sed -n s%\\..\\+\$%%p`@' \ + 'n@-[sS]@`\ls -1 ${_manpath:h}|&sed -n \\%/.\*:%d\;s%man%%p|sort -u`@' \ + 'p@1@`echo ${_man_sections};eval _list_man_pages`@' \ + 'n@*@`eval _list_man_pages`@' complete ps c/-t/x:'<tty>'/ c/-/"(a c C e g k l S t u v w x)"/ \ n/-k/x:'<kernel>'/ N/-k/x:'<core_file>'/ n/*/x:'<PID>'/ complete compress c/-/"(c f v b)"/ n/-b/x:'<max_bits>'/ n/*/f:^*.Z/