View Single Post
  #3   (View Single Post)  
Old 11th May 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

Quote:
Right now I'm using xterm, but I dont like it as there is no auto complete support for commands for non root users, or is there a way to enable this.
ugh?

I think you are confusing the shell and terminal emulator.
Basically, a terminal just prints text, nothing more.
A shell is what allows you to input commands.

Are you using tcsh? Here are a few nice options to put in /etc/csh.cshrc, which is the systemwide startup file, there are many more options, see tcsh(1) for more information.

Code:
set autolist            # Show options when autocompleting
set prompt = "[%~]%# "  # Show current dir.
set rprompt = "%m:%T"   # Show date&hostname on right side
set promptchars="#R"    # Use # for normal user and R for super
set autoexpand          # Use history to aid expansion
set nobeep              # Don't beep
set printexitvalue      # Print exit value if >0
set filec               # file completion
set rmstar              # Ask for confermation is we do rm *
set history = 1024      # Keep 1024 items in history
set savehist = 1024 merge       # Save history
set listjobs            # List all jobs after ^Z

alias ls        'ls -GFI'
alias la        'ls -GFIa'
alias lc        'ls -GFlThoI'
alias lac       'ls -GFlThoaI'

alias helpcommand man

bindkey ^[[3~   delete-char
bindkey ^[[H    beginning-of-line
bindkey ^[[F    end-of-line
bindkey ^[[M    run-help
bindkey ESCOP   run-help
bindkey -k up history-search-backward
bindkey -k down history-search-forward
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote