View Single Post
  #5   (View Single Post)  
Old 24th August 2008
harisman's Avatar
harisman harisman is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Hellas (Greece)
Posts: 66
Default

Just to add that you can automate the Carpetsmoker's suggestion.
This is the part of my .cshrc as shown above:

Code:
if ($TERM == "xterm") then 
        set prompt="%{\033]0;%n@%m:%~\007%}%h:%n@%m\:%~\%%{\033[0m%} "
        bindkey ^[[3~ delete-char
else
        set prompt="%h:%n@%m\:%~\% "
        bindkey ^? delete-char
endif
Reply With Quote