Bug 44101

Summary: in 3.0.3, ctrl-z, fg breaks the connection
Product: [Retired] Red Hat Raw Hide Reporter: Pekka Savola <pekkas>
Component: ncftpAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: high Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-08-04 19:37:29 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:
Attachments:
Description Flags
patch for suspend problem none

Description Pekka Savola 2001-06-11 06:47:38 UTC
In 3.0.3-[12], ctrl-z and then fg break the existing connection:

---	
[root@linset /root]# ncftp linftp
NcFTP 3.0.3 (April 15, 2001) by Mike Gleason (ncftp).
Connecting to
linftp...                                                                 
linftp.xxx.fi FTP server (Version 6.5/OpenBSD, linux port 0.3.3) ready.
Logging
in...                                                                           
Guest login ok, access restrictions apply.
Logged in to
linftp.                                                                    
ncftp / > 
[1]+  Stopped                 ncftp linftp
[root@linset /root]# fg
ncftp linftp

ncftp / > 

You have not saved a bookmark for this site.

Would you like to save a bookmark to:
	ftp://linftp

Save? (yes/no) Not saved.  (If you don't want to be asked this, "set
confirm-close no")
---
In 3.0.2-2 with IPv6 patches, this works fine.

FWIW, this also happens on my FreeBSD 4.3 so it's clearly a problem with
3.0.3 itself.

Comment 1 Pekka Savola 2001-07-06 21:41:14 UTC
Revised signal handling appears broken.  Suspend is regarded the same as stop.

Comment 2 Pekka Savola 2001-07-29 08:15:30 UTC
Attached patch fixes this behaviour.  Additionally, when you resume from suspend, there will be no beep.

Comment 3 Pekka Savola 2001-07-29 08:16:13 UTC
Created attachment 25291 [details]
patch for suspend problem

Comment 4 Bernhard Rosenkraenzer 2001-08-04 19:37:25 UTC
*** Bug 50846 has been marked as a duplicate of this bug. ***

Comment 5 Bernhard Rosenkraenzer 2001-08-04 19:45:08 UTC
Fixed in 3.0.3-6