Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Oct 1998 21:32:08 -0500 (EST)
From:      Brian Feldman <green@zone.syracuse.net>
To:        Parag Patel <parag@cgt.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: Stupid ksh tricks [Was: Re: Changing sh for compatibility sake]
Message-ID:  <Pine.BSF.4.05.9810282130250.8727-100000@zone.syracuse.net>
In-Reply-To: <199810281822.KAA15056@pinhead.parag.codegen.com>

next in thread | previous in thread | raw e-mail | index | archive | help
set -o vi-tabcomplete

-Brian Feldman

On Wed, 28 Oct 1998, Parag Patel wrote:

> 
> A minor aside regarding some stupid ksh tricks...
> 
> My fingers have gotten used to hitting TAB in bash for completing file names.  I'd avoided pdksh only for this one reason.  (Sad, I know.)
> 
> I recently dug through the man-page for pdksh and discovered that adding these following lines:
> 
>         case "$KSH_VERSION" in
>         *"PD KSH"*)
>                 bind '^I=complete'
>                 bind '^I^I=complete-list'
>                 ;;
>         esac
> 
> to my .kshrc (which is linked to .bashrc for me) and things work just fine.  It's not *exactly* the same output, but it's pretty much the same behavior and so my fingers don't have to be retrained.  I've switched over to pdksh now.
> 
> I also have some ksh functions to mimic the csh/bash pushd/popd commands, so if anyone's interested in these, please let me know and I'll email my .kshrc or put it up for ftp.
> 
> As an added bonus you also get a function for setting the title bar in several terminal emulators (xterm, hpterm, and Mac NCSA Telnet) to the current directory stack.
> 
> 
> 	-- Parag
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9810282130250.8727-100000>