From owner-freebsd-current@FreeBSD.ORG Sun Aug 31 17:40:31 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E0561065677 for ; Sun, 31 Aug 2008 17:40:31 +0000 (UTC) (envelope-from pawel.worach@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by mx1.freebsd.org (Postfix) with ESMTP id 0B9918FC23 for ; Sun, 31 Aug 2008 17:40:30 +0000 (UTC) (envelope-from pawel.worach@gmail.com) Received: by ey-out-2122.google.com with SMTP id 6so629601eyi.7 for ; Sun, 31 Aug 2008 10:40:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=q3qfUuOfElHJN6nRDrgfFIJDymycpfbnxD8kUSa/ipk=; b=VBdZrJ0/QIFylWi8aVTC6KQru5Y9KBqfFRA6PN7zg61hy8LE+sSjzDLBMfeMh0VrFG Rj+VlXNFybn0mvKmp0+tWqnWMsb1bLsPiOV+87ezYG+uvnzVsMafSIIevzKCoQqpW2jz QLOp7rFwUGu93jqUdUZUTiPjrbwtrHVSudEW4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=lIeeldldDAKYO9BnmAMSgSS2gUlKfJlxrxgoeQVFNFsR2REKWOtfhRLmiPn075ouMk 5Y+0WYOJKQaPu7QYn/tq4OQ9+3RfVJO1miDW/n/ZTQVouY4UAce1dfHquhYV1LgHYLRr 5Sek6xLe78aDafJgmeWd7HZqNZ7Qs3cabdvWM= Received: by 10.210.20.17 with SMTP id 17mr5109401ebt.170.1220202629844; Sun, 31 Aug 2008 10:10:29 -0700 (PDT) Received: from ?192.168.1.102? ( [213.89.241.138]) by mx.google.com with ESMTPS id 7sm6245550eyg.0.2008.08.31.10.10.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 31 Aug 2008 10:10:28 -0700 (PDT) Message-ID: <48BAD085.1090507@gmail.com> Date: Sun, 31 Aug 2008 19:10:29 +0200 From: Pawel Worach User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b1pre) Gecko/20080830031141 Shredder/3.0b1pre MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: csh history and pts X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Aug 2008 17:40:31 -0000 Hi, Since the MPSAFETTY landing and pts being the default csh seems to loose the contents of ~/.history when "shutdown -r now" is issued, I'm not sure about the timeframe but I have not noticed this before and I use history quite a bit. Steps to reproduce (tested with root): 1) Login on console (ttyv0) 2) Issued a couple of commands 3) Logout 4) Login 5) 'history' and your previous session shows up, all good. 6) 'shutdown -r now' 7) After boot, login, 'history' and it's blank. At step #6 a reboot(8) does not cause this, only shutdown(8), or at least so it seems. Does shutdown(8) send a evil signal to csh so it looses the history? Relevant parts of .cshrc: set history = 2000 set savehist = (2000 merge) Regrads Pawel