home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / tcsh6072.zip / tcsh6072 / tcsh.rc < prev    next >
Text File  |  1997-06-06  |  2KB  |  80 lines

  1. #!/bin/sh echo Usage: source
  2.  
  3. if ( $?prompt == 0 ) then
  4.     exit 0
  5. endif
  6.  
  7. bindkey \\000\\110 up-history
  8. bindkey \\000\\120 down-history
  9. bindkey \\000\\115 forward-char
  10. bindkey \\000\\113 backward-char
  11.  
  12. #below is optional Maps most OS/2 KEYS commands
  13. #type help keys in an OS/2 prompt for their meaning 
  14. #
  15.  
  16. #ekb HOME
  17.  bindkey \\000\\107 beginning-of-line
  18. #ekb END
  19.  bindkey \\000\\117 end-of-line
  20. #ekb CTRL+LEFT
  21.  bindkey \\000\\163 backward-word
  22. #ekb CTRL+RIGHT
  23.  bindkey \\000\\164 forward-word
  24. #ekb INSERT
  25.  bindkey \\000R "overwrite-mode"
  26. #ekb DELETE
  27.  bindkey \\000S delete-char
  28.  
  29. #ekb CTRL+END  (no map)
  30. #ekb CTRL+HOME (no map)
  31.  
  32. #ekb ESC ( not recommended )
  33. #bindkey  kill-whole-line
  34.  
  35.  
  36. alias    a:    cd a:
  37. alias    b:    cd b:
  38. alias    c:    cd c:
  39. alias    d:    cd d: 
  40. alias    e:    cd e:
  41.  
  42. ## SET THIS TO YOUR OWN PATH
  43. set shell    =    d:/bin/tcsh.exe
  44. ##
  45.  
  46. #/* OS/2 EMX defines ------------------------------------end
  47.  
  48. set autocorrect =     on
  49. set history    =    50
  50. set ignoreeof
  51. set listjobs    =    on
  52. set mail    =    ( /mail )
  53. set noclobber
  54. set notify    =    on
  55. set prompt    =    "[ TCSH %~ ] "
  56. set savehist    =    0
  57. set symlinks    =    expand
  58. set vi
  59. set rmstar
  60. set visiblebell
  61. set nobeep
  62. set showdots    =    -A
  63. set complete    =    enhance
  64.  
  65. # use internal ls-F
  66. alias    ls    ls-F 
  67.  
  68. # --- for those used to cmd.exe ----------------
  69. alias     md    mkdir
  70. alias    rd    rmdir
  71. alias    dir    ls -l
  72. alias   cls    clear
  73. alias   copy    cp
  74. alias   del     rm
  75. alias   move    mv
  76. alias mode "d:/os2/mode.com \!:1 \!:2; settc co \!:1; settc li \!:2"
  77. # -----------------------------------------------
  78.  
  79. echo ""
  80.