Bug 44101 - in 3.0.3, ctrl-z, fg breaks the connection
Summary: in 3.0.3, ctrl-z, fg breaks the connection
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: ncftp
Version: 1.0
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact: David Lawrence
URL:
Whiteboard:
: 50846 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-06-11 06:47 UTC by Pekka Savola
Modified: 2007-04-18 16:33 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2001-08-04 19:37:29 UTC
Embargoed:


Attachments (Terms of Use)
patch for suspend problem (368 bytes, patch)
2001-07-29 08:16 UTC, Pekka Savola
no flags Details | Diff

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



Note You need to log in before you can comment on or make changes to this bug.