From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QPPmo-0000ct-VX for garchives@archives.gentoo.org; Thu, 26 May 2011 01:54:55 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 62DF91C01A; Thu, 26 May 2011 01:53:07 +0000 (UTC) Received: from mail-pv0-f181.google.com (mail-pv0-f181.google.com [74.125.83.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 256991C01A for ; Thu, 26 May 2011 01:53:06 +0000 (UTC) Received: by pvg13 with SMTP id 13so117592pvg.40 for ; Wed, 25 May 2011 18:53:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=jedZf4IC7TGtpC/PfZ2Iy5QtKegaAsxEAl3EnozRThc=; b=ODvTgq8Qv6Nk0T8jdI7I3lyo0AdoOgOvtXnZWC1rA8y9BiOSQCFf8WSMyKWQ34Tibp GkETJjffOQQabSb+cU4+wi+R68vXeZCJUDxdqG3xl2r45sSKiOwQ97i4GQfvEcax+KA2 DjhzbhO9ZaPWqFtrW15BDjgx5zSYHtCBDrXJA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=MdCwSZNK6VTEDKk5suO3p8Fsr14XkDblbGRVeODaLbMO8G4ZpU2+8Jv7dYmPQDDp1S D1Qq2J+vMrAn+6qGjDAMl1c2rF+h1HbZhO5rmhJwImnsCx013pqYF+TQ6pKlu8n5neWY 2bRLjfTj7s+xS4JRwd0SKsiwRAFfKeWkV/Rq0= Received: by 10.68.66.137 with SMTP id f9mr90035pbt.407.1306374786492; Wed, 25 May 2011 18:53:06 -0700 (PDT) Received: from [192.168.1.110] (pool-173-51-100-120.lsanca.fios.verizon.net [173.51.100.120]) by mx.google.com with ESMTPS id m9sm465962pbd.33.2011.05.25.18.53.04 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 25 May 2011 18:53:04 -0700 (PDT) Message-ID: <4DDDB27F.9010307@gmail.com> Date: Wed, 25 May 2011 18:53:03 -0700 From: Andy Wilkinson User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110507 Lightning/1.0b3pre Thunderbird/3.1.10 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Ctrl+C not working over ssh? References: <4DDBE1A5.6000104@gmail.com> <20110524193800.GU20163@ns1.bonedaddy.net> <4DDC3130.5020209@gmail.com> <20110525140807.GZ20163@ns1.bonedaddy.net> In-Reply-To: <20110525140807.GZ20163@ns1.bonedaddy.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: aa825bf32fc5790436974ed0afd3f952 On 05/25/2011 07:08 AM, Todd Goodman wrote: > * Andy Wilkinson [110524 18:02]: >> On 05/24/2011 12:38 PM, Todd Goodman wrote: >>> * Andy Wilkinson [110524 12:24]: >>>> I can't say for sure when this started, as I have gone a while without >>>> accessing my computer remotely much, but perhaps since my last upgrade >>>> (which may have included openrc), ctrl-c doesn't work over ssh. I have >>>> tested this from multiple workstations and even my droid, using >>>> different terminal emulators, and have got consistent results. >>>> >>>> I'm not even sure where to start looking. Googling didn't find me much >>>> (at least, not much that's current at all; 5 year-old ubuntu bugs aren't >>>> very useful), and I'm not sure at all what might be causing this. Could >>>> anyone here point me to something that might be causing this? >>>> >>>> Thanks, >>>> >>>> -Andy >>> I don't have any problems. What does 'stty -a' show for the intr= bit? >>> >>> Todd >>> >> $ stty -a >> speed 38400 baud; rows 23; columns 80; line = 0; >> intr = ^C; ... >> >> Which looks right, but when I try to use Ctrl-C, this happens: >> >> $ ping localhost >> PING localhost (127.0.0.1) 56(84) bytes of data. >> 64 bytes from localhost (127.0.0.1): icmp_req=1 ttl=64 time=0.037 ms >> ^C64 bytes from localhost (127.0.0.1): icmp_req=2 ttl=64 time=0.032 ms >> ^C^C^C64 bytes from localhost (127.0.0.1): icmp_req=3 ttl=64 time=0.032 ms >> ^C^C^C^C^C^C64 bytes from localhost (127.0.0.1): icmp_req=4 ttl=64 >> time=0.034 ms >> ^C^C^C^C^C^C64 bytes from localhost (127.0.0.1): icmp_req=5 ttl=64 >> time=0.032 ms >> ^Z >> >> This does NOT happen locally: from a console or terminal at the machine, >> I can interrupt just fine. Ctrl-Z does//work over ssh. >> >> Thanks, >> >> -Andy > Very strange (as someone else said.) > > Only thing I can think of is that something in your startup scripts > (.profile, .bashrc, etc.) are doing something different between the > two logins. > > I've seen that most often when they do things based on TERM and it's > different between a local login and remote. > > Maybe make sure your startup scripts run with a 'set -x' at the > beginning and compare the output? > > Good luck, > > Todd > Well, for no good reason, a reboot once I was back at the machine fixed the issue. I'm not sure why; I didn't change anything. I hate not knowing why reboots fix things. :( -Andy