ksh, bash, zsh equivalent for tcsh complete-word-fwd?

ksh, bash, zsh equivalent for tcsh complete-word-fwd?

Post by Paul Carv » Thu, 15 May 1997 04:00:00



In tcsh the command complete-word-fwd (which I have bound to the tab
key) completes the current word even if the completion is ambiguous.  

I prefer pressing tab a couple of times rather than doing a partial
completion then typing a letter then another partial completion etc.
Unfortunately, I haven't been able to get this behaviour in ksh, bash,
or zsh.  Is there any shell other than tcsh that has this feature?

Paul

PS.  Why is the bash executable almost 3 Meg while the tcsh executable
is under 1/2 Meg?  (Solaris 2.5)
--
Remove the capital letters from my email address if
you wish to contact me by email.

Paul Carver

 
 
 

ksh, bash, zsh equivalent for tcsh complete-word-fwd?

Post by robe » Thu, 15 May 1997 04:00:00



 >In tcsh the command complete-word-fwd (which I have bound to the tab
 >key) completes the current word even if the completion is ambiguous.  

With zsh, I think you might want to look at menu completion
(MENU_COMPLETE, menu-complete, ...).

                                                                    robert

 
 
 

ksh, bash, zsh equivalent for tcsh complete-word-fwd?

Post by Mohit Aro » Sat, 17 May 1997 04:00:00



> PS.  Why is the bash executable almost 3 Meg while the tcsh executable
> is under 1/2 Meg?  (Solaris 2.5)

Looks like you haven't stripped your bash. I'm using Solaris 2.5.1 and
the sizes of tcsh and bash after stripping are 0.3Meg and 0.4Meg respectively.

See 'man strip' for information on stripping.

--

Department of Computer Science          smail:  8020 Braesmain Drive #1801  
Rice University                                 Houston, TX-77025    
phone: (713) 527-8750 (x2265)                   phone:  (713) 662-0501        

 
 
 

1. tcsh v. bash/ksh/zsh

Awhile back I started a thread about the merits of tcsh v. csh; it
quickly blossomed into a thread about (t)csh vs. bash/ksh/zsh.

Many posters claimed that bash and ksh have good history editing
commands.  My question:  as an *interactive* shell, are bash and ksh as
convenient as tcsh?  I don't want to bother memorizing syntax to edit
command lines; I like tcsh's use of the arrow keys to edit previous
command lines.  Do bash or ksh come with something similar?  If so, is
it the default, or does one have to edit some file?

sjfromm

Sent via Deja.com http://www.deja.com/
Before you buy.

2. PLEEEASE help--Slackware won't install from/mount CD!

3. csh, tcsh, ksh, bash and zsh comparison

4. 2.5.73-bk5 regression test results

5. Am at sea with so many shells -- tcsh, ksh, zsh or bash?

6. Make and Soft link Question

7. How do I detect which shell (ksh, bash, csh, zsh, tcsh) is currently used?

8. problems with remote access

9. bash menu-completing dir1 for dir1/dir2 (like in zsh)??

10. equivalent zsh syntax for bash command

11. FreeBSD/OS X: tcsh vs bash vs zsh?

12. FTP sites for shells (tcsh, ksh, zsh)?

13. zsh, tcsh, ksh differences