Re: What program let you finish typing a file name when you hit ESC.

2003-07-08 Thread Dan Nelson
In the last episode (Jul 08), parv said:
 in message [EMAIL PROTECTED], wrote DanB thusly...
 
  What program let you finish typing a file name when you hit ESC?
 
 A shell.  At least bash2  ksh93 can, depending upon configuration.

Most newer shells use TAB instead of ESC, because ESC also starts
cursor and function key sequences.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What program let you finish typing a file name when you hit ESC.

2003-07-08 Thread rcooley
Heh...  The version of PDKSH in the FreeBSD ports does that.  I found it 
rather annoying that (for some reason) tab completion didn't work, but 
ESC completion did.

To set the options for PDKSH, or most any other shell, look at the 
output of set -o.

DanB wrote:
What program let you finish typing a file name when you hit ESC?

Dan

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What program let you finish typing a file name when you hit ESC.

2003-07-08 Thread Jerry McAllister
 
 What program let you finish typing a file name when you hit ESC?

The shell tcsh does this, except that it uses TAB instead of ESC.  
I think that is safer.   Probably some other more modern shells also 
do something like this.

Just type /bin/tcsh  (or /usr/local/bin/tcsh - depending on which version
you have somewhere in OS 4.xx FreeBSD began putting tcsh in /bin as part
of the standard distribution)  and then you are working in that shell.   
You can also put this shell in your /etc/passwd file as your login in 
shell (providing you have permission to modify the passwd file).   Then 
you will automatically be in that shell when you log in.   

Just a caution:  Don't use a shell for root in the /etc/passwd file that 
is not in the root file system.   So, if you have a /usr file system, for 
example, don't use /usr/local/bin/tcsh or whatever because it might not be 
available if that other file system cannot be mounted for some reason.   
But, /bin/tcsh should always be OK, since almost no-one (in their right 
mind) would make /bin a separate file system.   You can make a copy 
of /usr/local/bin/tcsh in /bin if that is your situation)

Use either chsh(1) or vipw(8) to modify the passwd file.

Also, make sure that this shell - full path - is listed in /etc/shells.

jerry

 
 Dan
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


What program let you finish typing a file name when you hit ESC.

2003-07-07 Thread DanB
What program let you finish typing a file name when you hit ESC?

Dan

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What program let you finish typing a file name when you hit ESC.

2003-07-07 Thread parv
in message [EMAIL PROTECTED],
wrote DanB thusly...

 What program let you finish typing a file name when you hit ESC?

A shell.  At least bash2  ksh93 can, depending upon configuration.


  - Parv

-- 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]