Hi, On Wed, 16 Apr 2008, Jan Kupec wrote:
So to sum up the proposal in one sentence: display selectables with summaries by default, show the detailed solvable list with archs and version if --details is used.
I agree with this proposal (just to leave no doubt here), and would even be more aggressive in removing uninteresting (to me :-) ) information.
$ zypper search zypp
S | Name | Summary | Type | Repository --+--------+---------------------------------+---------+----------- i | zypper | Command line package managem... | package | (multiple)
Just drop the Repository column in this case, it doesn't provide any information if it just contains "multiple".
See the attachment, if the package is found only in one repo, the repo name is displayed.
I see. I'm usually not particularly interested in the repo. Often it will be multiple repos, and then I would only see "multiple", not helping me at all. And if it's only one repo, I'm not interested in it either. After all, when I do "zypper in packagename" it will figure out the repo on it's own (it's only in one). And if it's multiple repos (so that it would have to ask me from which repo to install) the short output wouldn't help me. Get rid of that column I would say.
I like the idea of abbreviated output (bonus points for taking the environment variable $COLUMNS into account ;-) ).
I'll try :O) (https://bugzilla.novell.com/show_bug.cgi?id=304282)
$COLUMNS is not exported by default? How useless :-( Okay, easy way out: you already use readline in zypper, so you can use : -- Function: void rl_get_screen_size (int *rows, int *cols) Return Readline's idea of the terminal's size in the variables pointed to by the arguments. By that you don't need to fiddle with terminal escape sequences. Ciao, Michael. -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org