cc: ksh93-integration-discuss at opensolaris.org Subject: Re: [ksh93-integration-discuss] migrating from tcsh to ksh93 --------
> However, there are a couple of behaviors of tcsh that I don't know how > to make ksh93 reproduce. > > 1) bindkey ' ' magic-space > > What this does on tcsh is let me enter a command, say !! (as a > history command), and when I press the space bar, it expands the !! (or > whatever other history reference I have) so that I can then edit the > command. (This is useful when I want the last argument, but need to > make a change, or somesuch.) I rely on this a lot in tcsh, and it saves > me a lot of time. > > What key does tcsh use for this? Where does the cursor get positioned? When compiled with the BASH option, ksh93 has the histverify option which sends any command that has a csh history expansion back to the editor for editing. Would this be the equivalent? David Korn dgk at research.att.com