I've been upgrading a few servers to 4.9-STABLE recently. Some of them via cvsup from older versions and some of them via installing 4.9-RELEASE and then cvsuping to STABLE. In both cases I cannot send ctrl+c through ssh! If I am on the console there is no problem but if I am through a ptty obviously ctrl+c does not send the signal correctly. E.g. if I do tail -f /some/file.log I can not terminate it! Ctrl+Z works fine. Despite when my job is susspended I cannot kill pid. Instead I have to kill -9 pid. any fixes? Thanks Ryan
Hi, I also experience this problem since 4.9 was released and I upgraded my servers! The interesting part is that some of the applications does seem to receive the signal correct, e.g. ping some.host is interrupted with ctrl+c but tail -f file - is not. Ctr+Z is working well! The terminal type I use is: cons25w but the same behaviour is seen on cons25. The servers are 4.9-STABLE (cvsuped 2-3 weeks ago). Rumen Telbizov On Wed, Mar 24, 2004 at 09:25:18PM -0600, Ryan Pekarik wrote:> I've been upgrading a few servers to 4.9-STABLE recently. > Some of them via cvsup from older versions and some of > them via installing 4.9-RELEASE and then cvsuping to STABLE. > > > In both cases I cannot send ctrl+c through ssh! > If I am on the console there is no problem but if I am > through a ptty obviously ctrl+c does not send the > signal correctly. > E.g. if I do tail -f /some/file.log I can not terminate it! > Ctrl+Z works fine. Despite when my job is susspended > I cannot kill pid. Instead I have to kill -9 pid. > > any fixes? > > Thanks > > Ryan > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >
I fixed it myself, here is the fix: make sure you have sshd_enable="YES" in your /etc/rc.conf If you do not have it in there your tail will not work properly I have sent in the bug report to fbsd as well. Thanks, Ryan ----- Original Message ----- From: Ryan Pekarik To: freebsd-stable@freebsd.org Sent: Wednesday, March 24, 2004 9:25 PM Subject: freebsd 4.9 stable tail wont CTRL C I've been upgrading a few servers to 4.9-STABLE recently. Some of them via cvsup from older versions and some of them via installing 4.9-RELEASE and then cvsuping to STABLE. In both cases I cannot send ctrl+c through ssh! If I am on the console there is no problem but if I am through a ptty obviously ctrl+c does not send the signal correctly. E.g. if I do tail -f /some/file.log I can not terminate it! Ctrl+Z works fine. Despite when my job is susspended I cannot kill pid. Instead I have to kill -9 pid. any fixes? Thanks Ryan _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscribe@freebsd.org