From owner-svn-src-head@freebsd.org Mon Oct 30 15:16:28 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C1DE3E5F769; Mon, 30 Oct 2017 15:16:28 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9F9C366632; Mon, 30 Oct 2017 15:16:28 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id E0C4510019; Mon, 30 Oct 2017 15:16:27 +0000 (UTC) Date: Mon, 30 Oct 2017 15:16:27 +0000 From: Alexey Dokuchaev To: Dan Mack Cc: Devin Teske , "src-committers@freebsd.org" , Eitan Adler , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" , Cy Schubert , Ed Maste , Warner Losh Subject: Re: svn commit: r325092 - head/usr.bin/fortune/datfiles Message-ID: <20171030151627.GA74374@FreeBSD.org> References: <201710291851.v9TIpM0I073542@slippy.cwsent.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.3 (2017-05-23) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Oct 2017 15:16:28 -0000 On Mon, Oct 30, 2017 at 09:47:22AM -0500, Dan Mack wrote: > ... > I use ESC-P / ESC-N a lot; it's a neat feature that tcsh has had for a > long time, maybe since the beginning. However it's a tcsh feature, not > sh, bash, or csh IIRC. But csh is actually tcsh on FreeBSD but I'm sure > most people already know this on this list. It is the same as up/down arrows? Yeah, one of the best tcsh(1) features! > To emulate this behaviour in bash, I simply create a .inputrc file in my > $HOME with the following contents: > > # .inputrc field > "\ep": history-search-backward > "\en": history-search-forward On GNU/Linux boxes mine has: "\e[A": history-search-backward "\e[B": history-search-forward ./danfe