Bug 334268

Summary: Control-C should not exit zypper shell
Product: [openSUSE] openSUSE 10.3 Reporter: Adam Spiers <aspiers>
Component: libzyppAssignee: Jan Kupec <jkupec>
Status: RESOLVED WONTFIX QA Contact: Duncan Mac-Vicar <dmacvicar>
Severity: Minor    
Priority: P4 - Low CC: chrubis
Version: Final   
Target Milestone: Future/Later   
Hardware: Other   
OS: Other   
Whiteboard: patches-welcome
Found By: Field Engineer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on: 340505    
Bug Blocks:    

Description Adam Spiers 2007-10-16 12:53:36 UTC
If I want to interrupt an operation from within the zypper shell, such as a search which has gone AWOL (see bug #333994), Control-C should ideally return me to the zypper> prompt.  Instead it kills the process and returns me to my normal zsh prompt.  This is bad because it forces the user to re-read the repository caches upon the next zypper operation which needs them.  This could be especially slow with aggressive autorefresh settings.
Comment 1 Jan Kupec 2007-11-09 10:19:28 UTC
I agree.
Comment 2 Jan Kupec 2008-03-20 16:13:36 UTC
*** Bug 372704 has been marked as a duplicate of this bug. ***
Comment 3 Jan Kupec 2008-04-29 20:42:50 UTC
for post 11.0
Comment 4 Jan Kupec 2008-09-02 08:28:25 UTC
reopened, low priority
Comment 5 Jan Kupec 2009-07-13 18:03:20 UTC
Adam, the fate of zypper's shell is currently unknown, since it requires a lot of work, and is not so needed since he speedup of the zypp tools in 11.0. Closing as WONTFIX, but patches are still welcome, if someone wants to hack the shell.