Bug 596761

Summary: Ctrl-\ causes guestfish to abort
Product: [Community] Virtualization Tools Reporter: Matthew Booth <mbooth>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: gaowanlong, mbooth, rjones, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-04 12:48:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matthew Booth 2010-05-27 13:20:23 UTC
Description of problem:
If the user types Ctrl-\ at the guestfish prompt, guestfish will immediately abort:

Welcome to guestfish, the libguestfs filesystem interactive shell for
editing virtual machine filesystems.

Type: 'help' for help with commands
      'quit' to quit the shell

><fs> sh: line 1: 21525 Quit                    guestfish $a

While this key combination is apparently intended to cause the process which currently has control of the terminal to abort, this is surprising behaviour in an interactive shell. I suggest it should be ignored.

Version-Release number of selected component (if applicable):
libguestfs-1.2.7-1.el5.1

Comment 1 Richard W.M. Jones 2011-07-12 09:29:11 UTC
Reassigning to upstream.

Comment 2 Wanlong Gao 2011-12-28 10:04:28 UTC
sent patch to upstream:
https://www.redhat.com/archives/libguestfs/2011-December/msg00201.html

Comment 4 Richard W.M. Jones 2012-01-04 12:48:05 UTC
Applied, let's close this, thanks.