Bug#548010: cupt: shell prints wrong error messages on unknown commands
Package: cupt Version: 1.0.0~beta1 Severity: minor Hi, when someone enters an unknown command into the cupt shell it says: cupt? E: unrecognized command 'x' It should probably say which command is unknown instead. Best Regards, Patrick -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: i386 (x86_64) Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages cupt depends on: ii libcupt-perl 1.0.0~beta1 alternative front-end for dpkg -- ii perl 5.10.0-25 Larry Wall's Practical Extraction ii sensible-utils 0.0.1 Utilities for sensible alternative cupt recommends no packages. Versions of packages cupt suggests: pn libterm-readline-gnu-perl none (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#548010: cupt: shell prints wrong error messages on unknown commands
Hi, Patrick Schoenfeld wrote: Package: cupt Version: 1.0.0~beta1 Severity: minor Hi, when someone enters an unknown command into the cupt shell it says: cupt? E: unrecognized command 'x' It should probably say which command is unknown instead. Sorry, I didn't understand. What you suggest cupt to print when user entered '?'? Help output? -- Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com C++/Perl developer, Debian Developer signature.asc Description: OpenPGP digital signature
Bug#548010: cupt: shell prints wrong error messages on unknown commands
On Wed, Sep 23, 2009 at 04:38:03PM +0300, Eugene V. Lyubimkin wrote: Hi, Patrick Schoenfeld wrote: Package: cupt Version: 1.0.0~beta1 Severity: minor Hi, when someone enters an unknown command into the cupt shell it says: cupt? E: unrecognized command 'x' It should probably say which command is unknown instead. Sorry, I didn't understand. What you suggest cupt to print when user entered '?'? Help output? Thats also a good idea, but no, what I suggested is that if I enter xyz that it prints E: unrecognized command 'xyz' and not E: unrecognized command 'x' x is not a placeholder here. It is always printed, regardless of what the user enters. For the above example this would mean to print E: unrecognized command '?' Regards, Patrick -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#548010: cupt: shell prints wrong error messages on unknown commands
Patrick Schoenfeld wrote: On Wed, Sep 23, 2009 at 04:38:03PM +0300, Eugene V. Lyubimkin wrote: Hi, Patrick Schoenfeld wrote: when someone enters an unknown command into the cupt shell it says: cupt? E: unrecognized command 'x' It should probably say which command is unknown instead. Sorry, I didn't understand. What you suggest cupt to print when user entered '?'? Help output? Thats also a good idea, but no, what I suggested is that if I enter xyz that it prints E: unrecognized command 'xyz' and not E: unrecognized command 'x' x is not a placeholder here. It is always printed, regardless of what the user enters. For the above example this would mean to print E: unrecognized command '?' Unreproducible for me (regardless libterm-readline-gnu-perl installed or not): $ cupt shell This is an interactive shell of the cupt package manager. Building the package cache... [done] cuptxyz E: unrecognized command 'xyz' cuptuiop E: unrecognized command 'uiop' cupt Can you post the full shell session log? Do you have some other Perl shell helper module installed (i.e. 'dpkg -l | grep libterm.*perl'?) -- Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com C++/Perl developer, Debian Developer signature.asc Description: OpenPGP digital signature
Bug#548010: cupt: shell prints wrong error messages on unknown commands
On Wed, Sep 23, 2009 at 05:05:59PM +0300, Eugene V. Lyubimkin wrote: Unreproducible for me (regardless libterm-readline-gnu-perl installed or not): $ cupt shell This is an interactive shell of the cupt package manager. Building the package cache... [done] cuptxyz E: unrecognized command 'xyz' cuptuiop E: unrecognized command 'uiop' cupt Hmm. I just noticed that xyz, etc. work fine, but ? doesn't. So my assumption from before wasn't true. Can you post the full shell session log? Do you have some other Perl shell helper module installed (i.e. p...@lisa ~ % sudo cupt shell W: attempt to set wrong option 'apt::periodic::update-package-lists' W: attempt to set wrong option 'apt::periodic::download-upgradeable-packages' W: attempt to set wrong option 'apt::periodic::autocleaninterval' E: bad config in file '/etc/apt/apt.conf.d/15update-stamp' W: skipped configuration file '/etc/apt/apt.conf.d/15update-stamp' W: attempt to set wrong option 'apt::archives::maxage' W: attempt to set wrong option 'apt::archives::minage' W: attempt to set wrong option 'apt::archives::maxsize' This is an interactive shell of the cupt package manager. Building the package cache... [done] cuptbla E: unrecognized command 'bla' cupt? E: unrecognized command 'x' cupt 'dpkg -l | grep libterm.*perl'?) ii libterm-readkey-perl 2.30-4 A perl module for simple terminal control ii libterm-readline-perl-perl 1.0302-1 Perl implementation of Readline libraries ii libterm-size-perl0.2-4+b1 Perl extension for retrieving terminal size Regards, Patrick -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#548010: cupt: shell prints wrong error messages on unknown commands
package cupt tags 548010 + pending thanks Patrick Schoenfeld wrote: On Wed, Sep 23, 2009 at 05:05:59PM +0300, Eugene V. Lyubimkin wrote: Unreproducible for me (regardless libterm-readline-gnu-perl installed or not): $ cupt shell This is an interactive shell of the cupt package manager. Building the package cache... [done] cuptxyz E: unrecognized command 'xyz' cuptuiop E: unrecognized command 'uiop' cupt Hmm. I just noticed that xyz, etc. work fine, but ? doesn't. So my assumption from before wasn't true. Aha. Now I reproduced with '?' too. It appears to be a strange shell behavior. I made cupt print help output however to make it not happen. -- Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com C++/Perl developer, Debian Developer signature.asc Description: OpenPGP digital signature