Re: svn commit: r325092 - head/usr.bin/fortune/datfiles

2017-10-31 Thread Alexey Dokuchaev
On Tue, Oct 31, 2017 at 09:56:47AM -0500, Dan Mack wrote: > Alexey Dokuchaev writes: > > ... > > I find this separation useless and actually mitigating the good. When > > I want to scroll the history without any search I'd simply won't type > > anything. Binding prefix-search

Re: svn commit: r325092 - head/usr.bin/fortune/datfiles

2017-10-31 Thread Dan Mack
Alexey Dokuchaev writes: > On Mon, Oct 30, 2017 at 04:35:04PM -0500, Dan Mack wrote: >> Definately different. Better? Maybe for some. I most always search >> command history by prefix and then just using multiple ESC-p invocations >> to find the one command to

Re: svn commit: r325092 - head/usr.bin/fortune/datfiles

2017-10-31 Thread Dan Mack
Devin Teske writes: >> On Oct 30, 2017, at 2:35 PM, Dan Mack wrote: >> >> Devin Teske writes: >> >>> Better in bash which allows you to filter not only on "begins with" >>> but also "contains" (which is arguably more valuable than "begins

Re: svn commit: r325092 - head/usr.bin/fortune/datfiles

2017-10-31 Thread Konstantin Belousov
On Tue, Oct 31, 2017 at 09:56:15AM +0100, Baptiste Daroussin wrote: > On Mon, Oct 30, 2017 at 10:33:20AM -0700, Eitan Adler wrote: > > On 30 October 2017 at 08:15, Baptiste Daroussin wrote: > > >> > > >> - Prefer UTF-8 over ISO-8859-1 > > >> - Remove some references to

Re: svn commit: r325092 - head/usr.bin/fortune/datfiles

2017-10-31 Thread Baptiste Daroussin
On Mon, Oct 30, 2017 at 10:33:20AM -0700, Eitan Adler wrote: > On 30 October 2017 at 08:15, Baptiste Daroussin wrote: > >> > >> - Prefer UTF-8 over ISO-8859-1 > >> - Remove some references to printing man pages > > > > Why? it was still valid. > > (a) Virtually no one needs

Re: svn commit: r325092 - head/usr.bin/fortune/datfiles

2017-10-31 Thread Alexey Dokuchaev
On Mon, Oct 30, 2017 at 04:35:04PM -0500, Dan Mack wrote: > Definately different. Better? Maybe for some. I most always search > command history by prefix and then just using multiple ESC-p invocations > to find the one command to edit/re-execute. Less frequently I want to > search the whole

Re: svn commit: r325092 - head/usr.bin/fortune/datfiles

2017-10-30 Thread Devin Teske
> On Oct 30, 2017, at 2:35 PM, Dan Mack wrote: > > Devin Teske writes: > >> Better in bash which allows you to filter not only on "begins with" >> but also "contains" (which is arguably more valuable than "begins >> with"). > > Definately different.

Re: svn commit: r325092 - head/usr.bin/fortune/datfiles

2017-10-30 Thread Devin Teske
> On Oct 30, 2017, at 2:35 PM, Dan Mack wrote: > > Devin Teske writes: > >> Better in bash which allows you to filter not only on "begins with" >> but also "contains" (which is arguably more valuable than "begins >> with"). > > Definately different.

Re: svn commit: r325092 - head/usr.bin/fortune/datfiles

2017-10-30 Thread Dan Mack
Devin Teske writes: > Better in bash which allows you to filter not only on "begins with" > but also "contains" (which is arguably more valuable than "begins > with"). Definately different. Better? Maybe for some. I most always search command history by prefix and then just

Re: svn commit: r325092 - head/usr.bin/fortune/datfiles

2017-10-30 Thread Devin Teske
> On Oct 30, 2017, at 7:47 AM, Dan Mack wrote: > > Devin Teske writes: > > > >>> Or better yet, ctrl-r in bash and zsh, or up-arrow in tcsh. >> >> Since we are responding to emaste's astute observation with random >> personal favorites when it comes to

Re: svn commit: r325092 - head/usr.bin/fortune/datfiles

2017-10-30 Thread Devin Teske
> On Oct 30, 2017, at 8:16 AM, Alexey Dokuchaev wrote: > >> 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 >>

Re: svn commit: r325092 - head/usr.bin/fortune/datfiles

2017-10-30 Thread Devin Teske
-- Devin -- Devin > On Oct 30, 2017, at 7:47 AM, Dan Mack wrote: > > Devin Teske writes: > > > >>> Or better yet, ctrl-r in bash and zsh, or up-arrow in tcsh. >> >> Since we are responding to emaste's astute observation with random >> personal

Re: svn commit: r325092 - head/usr.bin/fortune/datfiles

2017-10-30 Thread Eitan Adler
On 30 October 2017 at 08:15, Baptiste Daroussin wrote: >> >> - Prefer UTF-8 over ISO-8859-1 >> - Remove some references to printing man pages > > Why? it was still valid. (a) Virtually no one needs this anymore (b) it uses non-CUPS utilities, which while they still work are

Re: svn commit: r325092 - head/usr.bin/fortune/datfiles

2017-10-30 Thread Alexey Dokuchaev
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

Re: svn commit: r325092 - head/usr.bin/fortune/datfiles

2017-10-30 Thread Baptiste Daroussin
On Sun, Oct 29, 2017 at 04:53:33AM +, Eitan Adler wrote: > Author: eadler > Date: Sun Oct 29 04:53:33 2017 > New Revision: 325092 > URL: https://svnweb.freebsd.org/changeset/base/325092 > > Log: > Modernize freebsd-tips a bit > > - Prefer UTF-8 over ISO-8859-1 > - Remove some

Re: svn commit: r325092 - head/usr.bin/fortune/datfiles

2017-10-30 Thread Dan Mack
Devin Teske writes: >> Or better yet, ctrl-r in bash and zsh, or up-arrow in tcsh. > > Since we are responding to emaste's astute observation with random > personal favorites when it comes to history actions in an interactive > shell... > > How about Esc-P and Esc-N? In

Re: svn commit: r325092 - head/usr.bin/fortune/datfiles

2017-10-29 Thread Cy Schubert
In message , Eitan Adler writes: > On 29 October 2017 at 12:47, Devin Teske wrote: > > > I doubt many people use /bin/sh as an interactive shell, but the tip > ought not lead those who do astray >

Re: svn commit: r325092 - head/usr.bin/fortune/datfiles

2017-10-29 Thread Eitan Adler
On 29 October 2017 at 12:47, Devin Teske wrote: I doubt many people use /bin/sh as an interactive shell, but the tip ought not lead those who do astray Will fix. >>> >>> Yes. /bin/sh on FreeBSD doesn't grok it, though bash and some other shells >>> available as

Re: svn commit: r325092 - head/usr.bin/fortune/datfiles

2017-10-29 Thread Devin Teske
> On Oct 29, 2017, at 11:51 AM, Cy Schubert wrote: > > In message om> > , Warner Losh writes: >> --94eb2c114c9a7c3c21055cb3566c >> Content-Type: text/plain; charset="UTF-8" >> On Sun, Oct 29,

Re: svn commit: r325092 - head/usr.bin/fortune/datfiles

2017-10-29 Thread Ian Lepore
On Sun, 2017-10-29 at 11:51 -0700, Cy Schubert wrote: > In message gmail.c > om> > , Warner Losh writes: > > > > --94eb2c114c9a7c3c21055cb3566c > > Content-Type: text/plain; charset="UTF-8" > > > > On Sun, Oct 29, 2017 at 8:26 AM, Ed

Re: svn commit: r325092 - head/usr.bin/fortune/datfiles

2017-10-29 Thread Steven Hartland
I’ve still had to use rehash on several occasions for it to detect new apps, so remove that reference might be a mistake On Sun, 29 Oct 2017 at 18:51, Cy Schubert wrote: > In message > om> > , Warner

Re: svn commit: r325092 - head/usr.bin/fortune/datfiles

2017-10-29 Thread Cy Schubert
In message , Warner Losh writes: > --94eb2c114c9a7c3c21055cb3566c > Content-Type: text/plain; charset="UTF-8" > > On Sun, Oct 29, 2017 at 8:26 AM, Ed Maste wrote: > > > On 29 October 2017 at 00:53, Eitan

Re: svn commit: r325092 - head/usr.bin/fortune/datfiles

2017-10-29 Thread Warner Losh
On Sun, Oct 29, 2017 at 8:26 AM, Ed Maste wrote: > On 29 October 2017 at 00:53, Eitan Adler wrote: > > Author: eadler > > Date: Sun Oct 29 04:53:33 2017 > > New Revision: 325092 > > URL: https://svnweb.freebsd.org/changeset/base/325092 > > > > Log: > >

Re: svn commit: r325092 - head/usr.bin/fortune/datfiles

2017-10-29 Thread Ed Maste
On 29 October 2017 at 00:53, Eitan Adler wrote: > Author: eadler > Date: Sun Oct 29 04:53:33 2017 > New Revision: 325092 > URL: https://svnweb.freebsd.org/changeset/base/325092 > > Log: > Modernize freebsd-tips a bit ... > % > Want to run the same command again? > -In tcsh

svn commit: r325092 - head/usr.bin/fortune/datfiles

2017-10-28 Thread Eitan Adler
Author: eadler Date: Sun Oct 29 04:53:33 2017 New Revision: 325092 URL: https://svnweb.freebsd.org/changeset/base/325092 Log: Modernize freebsd-tips a bit - Prefer UTF-8 over ISO-8859-1 - Remove some references to printing man pages - Combine duplicate '!!' tips - 'rehash' is no