RE: [ILUG] more handy tips...

From: Caolan McNamara (Caolan.McNamara at domain ul.ie)
Date: Wed 20 Oct 1999 - 12:40:16 IST


Simple but most essential for me in tcsh's .tcshrc are the following

set autolist=ambigious
set autoexpand
set nobeep
set visiblebell
bindkey "\e[6~" history-search-forward
bindkey "\e[5~" history-search-backward
bindkey "\e[1~" beginning-of-line
bindkey "\e[4~" end-of-line

Tab completion is god, and the first two set things up so that
if there is no unambigious completion for the command on pressing
tab, then all the options are listed. I like that.
type the beginning of a command already used and press pageup
and get the previous command line you used with that beginning,
press is repeatedly and jump up your history finding matches. I
really like that. Im not gone on the substition syntax ! mechanism
at all so I rely on the bindkey stuff. And while im at it I use
home and end to do the obvious thing, I can definitely see an
migration path from doskey knocking around inside my .tcshrc now
that I look at it. Im really lost without my .tcshrc .xsession and
vimrc/.exrc.

Its been ages since I settled on these in my .tcshrc so maybe some
of them are no longer required. So it boils down to having a good
read of your shell's manpage and messing around for a while.

C.

Real Life: Caolan McNamara * Doing: MSc in HCI
Work: Caolan.McNamara at domain ul.ie * Phone: +353-86-8790257
URL: http://www.csn.ul.ie/~caolan * Sig: an oblique strategy
Into the impossible



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:45 GMT