From owner-freebsd-stable@FreeBSD.ORG  Sat Jan 25 13:30:48 2014
Return-Path: <owner-freebsd-stable@FreeBSD.ORG>
Delivered-To: stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id A30E553B
 for <stable@freebsd.org>; Sat, 25 Jan 2014 13:30:48 +0000 (UTC)
Received: from mail-qa0-x22f.google.com (mail-qa0-x22f.google.com
 [IPv6:2607:f8b0:400d:c00::22f])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 619FD120B
 for <stable@freebsd.org>; Sat, 25 Jan 2014 13:30:48 +0000 (UTC)
Received: by mail-qa0-f47.google.com with SMTP id j5so5145509qaq.6
 for <stable@freebsd.org>; Sat, 25 Jan 2014 05:30:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:in-reply-to:references:date:message-id:subject
 :from:to:cc:content-type;
 bh=iDSWlvpCKYC7vg31mQ+nlm/0sjTr0KQp6B4lJTmaT/A=;
 b=RFC0TKOPL8wuumnA8D7AE8sHgErDSI+hXe2ozCVDGQbPOaxlMZ+UsxN7ZnMXhPjNpQ
 edXsz0nqPUt3TlAfxQTmyv8AzUUbrB60j8X+U8Yo2ZmDGIBTjMuSTV2qjUBluI6zoJS0
 W0cOL2aa2XXsp3opXt2XPWXvOTk2bxWnUXgBWf16Mw1GMXSmrdi9oVqvWLiwqCK/kwTR
 YyCqXM8lxU0yCfBmuwXSWdeNrya2aWZdpRaWDDBqzqzh0XLnT8vkseWnZ13YSXPudcC4
 LCLiQsK923Za0bxS/7zfHHvqtErUe2p7f2sgfP1NC705amAa7pFZ2K+c034vB+hsmTMu
 sDSg==
MIME-Version: 1.0
X-Received: by 10.224.89.71 with SMTP id d7mr28545135qam.26.1390656641344;
 Sat, 25 Jan 2014 05:30:41 -0800 (PST)
Sender: adrian.chadd@gmail.com
Received: by 10.224.52.8 with HTTP; Sat, 25 Jan 2014 05:30:41 -0800 (PST)
In-Reply-To: <CAPJF9wnvHiT2zctAYZujsPR0k8zzhkUbfKAeYjUB7mZ4E+s18w@mail.gmail.com>
References: <52E0E917.3060403@li.ru> <52E0EA2A.4000105@ksu.ru>
 <CAPJF9wnvHiT2zctAYZujsPR0k8zzhkUbfKAeYjUB7mZ4E+s18w@mail.gmail.com>
Date: Sat, 25 Jan 2014 05:30:41 -0800
X-Google-Sender-Auth: duPPUfd7TZmZCSPlejueONcjrD0
Message-ID: <CAJ-Vmo=ETU0VSK++K3Q_AZCRWv5uFgLws845a3ciYufCBcjvGg@mail.gmail.com>
Subject: Re: 10.0, csh history merge broken?
From: Adrian Chadd <adrian@freebsd.org>
To: Alexander Yerenkow <yerenkow@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Cc: "stable@freebsd.org" <stable@freebsd.org>,
 "Marat N.Afanasyev" <amarat@li.ru>
X-BeenThere: freebsd-stable@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-stable>,
 <mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable/>
List-Post: <mailto:freebsd-stable@freebsd.org>
List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>,
 <mailto:freebsd-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 25 Jan 2014 13:30:48 -0000

http://www.tcsh.org/tcsh.html/Special_shell_variables.html#savehist ?


-a


On 25 January 2014 01:31, Alexander Yerenkow <yerenkow@gmail.com> wrote:
> This definitely deserve a PR and a fix.
> And it seems that is cause of my problem described in PR 185603 - we worked
> in three hands under root (ssh then tmux) and somehow got broken history
> file - noticed after few reboots.
> As a side effect, if history file will be large enough - it will prevent
> you from logging in :)
>
>
> 2014/1/23 Marat N.Afanasyev <amarat@li.ru>
>
>> Marat N.Afanasyev wrote:
>>
>>> Hello!
>>>
>>> I issued
>>>
>>> shutdown -p now
>>>
>>> as root while several user csh were running, after reboot user .history
>>> file was corrupted:
>>>
>>> #+1360668026
>>> less /etc/ma#+136066#+136cd /usr/grep KERB *
>>> #+1360668067
>>> cd /usr/src/contrib/bind9/##+1360668073ggrep -i kerboros *
>>> #+1360668076
>>> grep -iR kerboros *
>>> #+1360704099
>>> cd /usr/ports/www/mod_pag#+136084#+136fetch -oman sudoers
>>> #+1361372281
>>> cd /usr/ports/editors/openoffice-3-devel/
>>> #+1361690297
>>> telnet 19#+13617995m#+man uh#+1#+13617995m#+man xh#+1#+13617995a#+man ehci
>>>
>>> I have
>>>
>>> savehist        (1000 merge)
>>>
>>> set in user .cshrc
>>>
>>> I think that merging histories from different csh was broken somehow
>>>
>>>  I forgot to mention revision of 10.0:
>>
>> FreeBSD zealot.ksu.ru 10.0-PRERELEASE FreeBSD 10.0-PRERELEASE #0 r260903:
>> Mon Jan 20 16:45:26 MSK 2014 root@zealot.ksu.ru:/mnt/
>> ssdtmp/obj/mnt/mod_usr/10.0/sys/ZEALOT  amd64
>>
>> --
>> SY, Marat
>>
>>
>
>
> --
> Regards,
> Alexander Yerenkow
> _______________________________________________
> 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"