El día sábado, abril 08, 2017 a las 08:00:58a. m. -0700, Kevin J. McCarthy escribió:
> On Fri, Apr 07, 2017 at 11:22:27PM +0200, Matthias Apitz wrote: > > With a recent update of my FreeBSD ports I got mutt-1.8.0 and I'm facing > > the problem that, when I want to attach some file from a dir and do not know > > its name, I'm used to press TAB to get a list of the files corresponding > > to the typed part of the name. > > > > Now it gives only a blank screen. > > Hi Matthias, > > Do you know what version you upgraded from? Not very much changed from > 1.7.0 to 1.8.0 with the browser. Would you be able to try with a > vanilla 1.8.0 release? Hi Kevin, I watched with truss what's happening in the proc when pressig TAB: ... sigprocmask(SIG_SETMASK,{ SIGHUP|SIGINT|SIGQUIT|SIGILL|SIGTRAP|SIGABRT|SIGEMT|SIGFPE|SIGKILL|SIGBUS|SIGSEGV|SIGSYS|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0) sigaction(SIGINT,{ 0x802d9dcb0 SA_RESTART|SA_SIGINFO ss_t },{ 0x802d9dcb0 SA_SIGINFO ss_t }) = 0 (0x0) sigprocmask(SIG_SETMASK,{ },0x0) = 0 (0x0) ioctl(0,TIOCGETA,0xffffa0d0) = 0 (0x0) sigprocmask(SIG_SETMASK,{ SIGHUP|SIGINT|SIGQUIT|SIGILL|SIGTRAP|SIGABRT|SIGEMT|SIGFPE|SIGKILL|SIGBUS|SIGSEGV|SIGSYS|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0) sigaction(SIGINT,{ 0x802d9dcb0 SA_SIGINFO ss_t },{ 0x802d9dcb0 SA_RESTART|SA_SIGINFO ss_t }) = 0 (0x0) sigprocmask(SIG_SETMASK,{ },0x0) = 0 (0x0) poll({ 0/POLLIN },1,120000) = 1 (0x1) read(0,"a",1) = 1 (0x1) ^^^^^^^^^^^^^ I pressed 'a' for attach files sigprocmask(SIG_SETMASK,{ SIGHUP|SIGINT|SIGQUIT|SIGILL|SIGTRAP|SIGABRT|SIGEMT|SIGFPE|SIGKILL|SIGBUS|SIGSEGV|SIGSYS|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0) sigaction(SIGINT,{ 0x802d9dcb0 SA_RESTART|SA_SIGINFO ss_t },{ 0x802d9dcb0 SA_SIGINFO ss_t }) = 0 (0x0) sigprocmask(SIG_SETMASK,{ },0x0) = 0 (0x0) write(1,"\^[[?25h",6) = 6 (0x6) write(1,"\r\^[[17BAdjuntar archivo ('?' para lista): ",41) = 41 (0x29) sigprocmask(SIG_SETMASK,{ SIGHUP|SIGINT|SIGQUIT|SIGILL|SIGTRAP|SIGABRT|SIGEMT|SIGFPE|SIGKILL|SIGBUS|SIGSEGV|SIGSYS|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0) sigaction(SIGINT,{ 0x802d9dcb0 SA_SIGINFO ss_t },{ 0x802d9dcb0 SA_RESTART|SA_SIGINFO ss_t }) = 0 (0x0) sigprocmask(SIG_SETMASK,{ },0x0) = 0 (0x0) read(0,"a",1) = 1 (0x1) ^^^^^^^^^^^^^ I pressed 'a' for all files names starting with 'a' sigprocmask(SIG_SETMASK,{ SIGHUP|SIGINT|SIGQUIT|SIGILL|SIGTRAP|SIGABRT|SIGEMT|SIGFPE|SIGKILL|SIGBUS|SIGSEGV|SIGSYS|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0) sigaction(SIGINT,{ 0x802d9dcb0 SA_RESTART|SA_SIGINFO ss_t },{ 0x802d9dcb0 SA_SIGINFO ss_t }) = 0 (0x0) sigprocmask(SIG_SETMASK,{ },0x0) = 0 (0x0) write(1,"\^[[30;17H: \^[[38;5;0m\^[[48;5;7ma \^[[30;20H\^[[m\^O\^[[39;49m\^[[38;5;0m\^[[48;5;15m",84) = 84 (0x54) sigprocmask(SIG_SETMASK,{ SIGHUP|SIGINT|SIGQUIT|SIGILL|SIGTRAP|SIGABRT|SIGEMT|SIGFPE|SIGKILL|SIGBUS|SIGSEGV|SIGSYS|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0) sigaction(SIGINT,{ 0x802d9dcb0 SA_SIGINFO ss_t },{ 0x802d9dcb0 SA_RESTART|SA_SIGINFO ss_t }) = 0 (0x0) sigprocmask(SIG_SETMASK,{ },0x0) = 0 (0x0) poll({ 0/POLLIN },1,120000) = 1 (0x1) read(0,"\t",1) = 1 (0x1) ^^^^^^^^^^^^^ I pressed 'TAB' to get all files names starting with 'a' sigprocmask(SIG_SETMASK,{ SIGHUP|SIGINT|SIGQUIT|SIGILL|SIGTRAP|SIGABRT|SIGEMT|SIGFPE|SIGKILL|SIGBUS|SIGSEGV|SIGSYS|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0) sigaction(SIGINT,{ 0x802d9dcb0 SA_RESTART|SA_SIGINFO ss_t },{ 0x802d9dcb0 SA_SIGINFO ss_t }) = 0 (0x0) sigprocmask(SIG_SETMASK,{ },0x0) = 0 (0x0) open(".",O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,06) = 4 (0x4) fstatfs(4,{ fstypename=ufs,mntonname=/,mntfromname=/dev/ada0p2,fsid= }) = 0 (0x0) getdirentries(0x4,0x803c5e000,0x1000,0x803248008) = 4088 (0xff8) stat("atril.core",{ mode=-r-------- ,inode=15905554,size=0,blksize=32768 }) = 0 (0x0) getdirentries(0x4,0x803c5e000,0x1000,0x803248008) = 4080 (0xff0) getdirentries(0x4,0x803c5e000,0x1000,0x803248008) = 2660 (0xa64) getdirentries(0x4,0x803c5e000,0x1000,0x803248008) = 0 (0x0) ^^^^^^^^^^^^^ mutt is opening '.' and reading its contents; close(4) = 0 (0x0) sigprocmask(SIG_SETMASK,{ SIGHUP|SIGINT|SIGQUIT|SIGILL|SIGTRAP|SIGABRT|SIGEMT|SIGFPE|SIGKILL|SIGBUS|SIGSEGV|SIGSYS|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0) sigaction(SIGINT,{ 0x802d9dcb0 SA_SIGINFO ss_t },{ 0x802d9dcb0 SA_RESTART|SA_SIGINFO ss_t }) = 0 (0x0) sigprocmask(SIG_SETMASK,{ },0x0) = 0 (0x0) poll({ 0/POLLIN },1,120000) = 1 (0x1) read(0,"\t",1) = 1 (0x1) sigprocmask(SIG_SETMASK,{ SIGHUP|SIGINT|SIGQUIT|SIGILL|SIGTRAP|SIGABRT|SIGEMT|SIGFPE|SIGKILL|SIGBUS|SIGSEGV|SIGSYS|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0) sigaction(SIGINT,{ 0x802d9dcb0 SA_RESTART|SA_SIGINFO ss_t },{ 0x802d9dcb0 SA_SIGINFO ss_t }) = 0 (0x0) sigprocmask(SIG_SETMASK,{ },0x0) = 0 (0x0) __getcwd("/usr/home/guru",256) = 0 (0x0) stat("/usr/home/guru",{ mode=drwxr-xr-x ,inode=15890989,size=15872,blksize=32768 }) = 0 (0x0) open("/usr/home/guru",O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,035405400) = 4 (0x4) fstatfs(4,{ fstypename=ufs,mntonname=/,mntfromname=/dev/ada0p2,fsid= }) = 0 (0x0) getdirentries(0x4,0x803c5e000,0x1000,0x803248008) = 4088 (0xff8) lstat("/usr/home/guru/atril.core",{ mode=-r-------- ,inode=15905554,size=0,blksize=32768 }) = 0 (0x0) lstat("/usr/home/guru/atril.tr.gz",{ mode=-rw-r--r-- ,inode=15891011,size=140559,blksize=32768 }) = 0 (0x0) lstat("/usr/home/guru/at-cpin.txt",{ mode=-rw-r--r-- ,inode=15905582,size=93,blksize=32768 }) = 0 (0x0) getdirentries(0x4,0x803c5e000,0x1000,0x803248008) = 4080 (0xff0) lstat("/usr/home/guru/appear-in-01.png",{ mode=-rw-r--r-- ,inode=15891827,size=932811,blksize=32768 }) = 0 (0x0) lstat("/usr/home/guru/amd64",{ mode=drwxr-xr-x ,inode=21433394,size=512,blksize=32768 }) = 0 (0x0) ^^^^^^^^^^^^^ mutt is seeing doing stat for the files found starting with letter 'a' getdirentries(0x4,0x803c5e000,0x1000,0x803248008) = 2660 (0xa64) getdirentries(0x4,0x803c5e000,0x1000,0x803248008) = 0 (0x0) close(4) = 0 (0x0) now mutt writes the result to the screen, but the file names are not included in the write to STDOUT: write(1,"\^[[?25l",6) = 6 (0x6) write(1,"\^[[1;3H\^[[38;5;2m\^[[48;5;4m\^[[1mSalir c:Directorio m:Patr\M-C\M-3n ?:Ayuda \^[[2;9H\^[[m\^O\^[[38;5;0m\^[[48;5;7m \^[[3;11H \^[[4;11H \n\b\b\b\b \n\^[[8D \n\^[[14D \^[[8;10H \n\^[[21D \r\n\n\n \^[[13;1H \^[[29;10H\^[[38;5;2m\^[[48;5;4m\^[[1mDirectorio [/usr/home/guru], patr\M-C\M-3n de archivos: !^\\.[^.] \^[[30;1H\^[[m\^O\^[[38;5;0m\^[[48;5;7m \^[[2;100H\^[[m\^O\^[[39;49m\^[[38;5;0m\^[[48;5;15m",766) = 766 (0x2fe) sigprocmask(SIG_SETMASK,{ SIGHUP|SIGINT|SIGQUIT|SIGILL|SIGTRAP|SIGABRT|SIGEMT|SIGFPE|SIGKILL|SIGBUS|SIGSEGV|SIGSYS|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0) sigaction(SIGINT,{ 0x802d9dcb0 SA_SIGINFO ss_t },{ 0x802d9dcb0 SA_RESTART|SA_SIGINFO ss_t }) = 0 (0x0) sigprocmask(SIG_SETMASK,{ },0x0) = 0 (0x0) poll({ 0/POLLIN },1,120000) = 1 (0x1) read(0,"q",1) = 1 (0x1) ^^^^^^^^^^^^^ I typed 'q' to leave the window HIH matthias -- Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045 Aus "Nie wieder Krieg!" wurde "Nie wieder Krieg ohne Deutschlands Truppen" The "No wars anymore!" changed now to "No wars anymore without German battle groups!" El "¡Nunca jamás guerra!" ha cambiado a "¡Nunca jamás guerra sin tropas alemanas!"