159243SobrienThis file contains visible (incompatible) changes to the users. 259243SobrienThis version of tcsh has the following new things: 359243Sobrien 459243Sobrien6.08 559243Sobrien* %$variables are now expanded in the prompt. 659243Sobrien* print_by_columns prints in a single column if the output is not a tty. 759243Sobrien* REMOTEHOST contains only the IP address, not the host name of the machine. 859243Sobrien* names in .cshdirs are quoted. 959243Sobrien* exit value from 0..255 not -128..127 as posix mandates. 1059243Sobrien 1159243Sobrien6.07 1259243Sobrien* Implicit cd when the variable implicitcd is set or set to verbose 1359243Sobrien 1459243Sobrien6.06 1559243Sobrien* NLS Message Catalog support. 1659243Sobrien 1759243Sobrien6.05 1859243Sobrien* The bind, aliases, linedit builtins are not used anymore; they are 1959243Sobrien #ifdef'ed OBSOLETE and will be really removed in the next version 2059243Sobrien* new filetest builtin 2159243Sobrien* new hup builtin 2259243Sobrien* =x obeys nonomatch 2359243Sobrien* tcsh.man2html nroff to HTML converter for the tcsh manpage 2459243Sobrien* prompt is now %# by default. 2559243Sobrien* $REMOTEHOST contains the name of the remote host (optional) 2659243Sobrien* $HOSTTYPE is going away. New variables $OSTYPE, $MACHTYPE, $VENDOR similar 2759243Sobrien to the gnu ones. 2859243Sobrien* $< can be interrupted and takes modifiers. Does not quote args by default 2959243Sobrien like csh. 3059243Sobrien 3159243Sobrien6.04 3259243Sobrien* Variable modifiers do not stop processing after the first one fails 3359243Sobrien > set i=aabbcc 3459243Sobrien > echo $i:s/a/A/:s/b/B/ 3559243Sobrien AaBbcc 3659243Sobrien > echo $i:s/x/A/:s/b/B/ 3759243Sobrien aabbcc 3859243Sobrien* set -r makes variables readonly 3959243Sobrien* set nonomatch, echo ~notaser returns ~notauser instead of an error 4059243Sobrien* file operators: Changed -s == !-z and -S == socket 4159243Sobrien* $?0 returns false now on interactive shells for csh compatibility. 4259243Sobrien* %p%P include seconds in prompt strings. 4359243Sobrien 4459243Sobrien6.03 4559243Sobrien* $%var contains the number of characters in $var. 4659243Sobrien* Shell -w -x are now POSIX compliant on POSIX machines. 4759243Sobrien* Imported environment variables are not globbed. 4859243Sobrien* $dirstack can be used to set and examine the directory stack. 4959243Sobrien* $? == $status and $# == $#argv like in the bourne shell. 5059243Sobrien* expand variables expands arrays too (but not array elements yet). 5159243Sobrien* $0 contains argv[0] on interactive shells. 5259243Sobrien* new -b -c etc file operators from SGI csh. 5359243Sobrien* nostat takes a list of shell patterns. 5459243Sobrien* symbolic names for arrow key bindings [left, right, up, down] 5559243Sobrien* shift, left operators update variables correctly. 5659243Sobrien* builtins builtin. 5759243Sobrien* history and dirs accept now -LSc flags. 5859243Sobrien* $history accepts an optional second argument, that can change the 5959243Sobrien history builtin output similar to the $time format. 6059243Sobrien* History timestamps preserved in .history. The history file contains 6159243Sobrien now the timestamps as csh comments. 6259243Sobrien 6359243Sobrien 6459243Sobrien6.02 6559243Sobrien* ignore_symlinks and chase_symlinks are replaced with symlinks=ignore 6659243Sobrien and symlinks=chase; symlinks=expand addition 6759243Sobrien* complete and uncomplete builtins; user-programmable completion additions. 6859243Sobrien* Tcsh now uses the rightmost column of the terminal, allowing cut-and-paste 6959243Sobrien operations in terminal emulators that work [xterm R5 not R4] 7059243Sobrien* echo_style controls now the behaviour of the builtin echo; the default 7159243Sobrien should match the builtin echo of /bin/csh; if your system does not 7259243Sobrien come with csh, then the default echo should match /bin/echo. 7359243Sobrien* cd -; changes to the previous directory. 7459243Sobrien* setting dunique variable pushes only unique directories on the directory 7559243Sobrien stack. 7659243Sobrien* source builtin allows additional arguments that get passed in $argv in 7759243Sobrien the sourced script. 7859243Sobrien* tcsh now mirrors correctly all exported csh variables [term=TERM,path=PATH 7959243Sobrien etc.] 8059243Sobrien* showdots=-A makes listing behave like ls -A. 8159243Sobrien* directory stack access =<num> allows for entries > 9. 8259243Sobrien* $a:u uppercase the first character in $a, $a:l downcases the first 8359243Sobrien character in $a. 8459243Sobrien* Shorthand for file tests in 'if' expressions ( -dx file ) is the 8559243Sobrien same as ( -d file && -x file ) 8659243Sobrien 8759243Sobrien6.01 8859243Sobrien* Nothing new. 8959243Sobrien 9059243Sobrien6.00 PL3 9159243Sobrien* %d in the prompt is the week-day and no longer $cwd; use %/ instead. 9259243Sobrien* changes in the prompt format. Date changes to accomodate people from 9359243Sobrien down under. 9459243Sobrien* vi insert mode to command mode transition does not move the cursor. 9559243Sobrien 9659243Sobrien6.00 PL2 9759243Sobrien* setty builtin 9859243Sobrien This is used to specify what tcsh modes can be altered using stty, 9959243Sobrien Modes that should be set are specified as +<mode>, modes that should 10059243Sobrien be cleared are specified as -<mode>, and the ones that should be 10159243Sobrien untouched are specified as <mode>. setty with no arguments prints 10259243Sobrien the modes that are affected by tcsh, and setty -a prints all modes. 10359243Sobrien* multiple : modifiers in variables and ! escapes. Things like: 10459243Sobrien > set prompt="$host:r:$cwd>" 10559243Sobrien don't work any more, they should be replaced with 10659243Sobrien > set prompt="${host:r}:$cwd>" 10759243Sobrien or 10859243Sobrien > set prompt="$host:r"":$cwd>" 10959243Sobrien the reason is that now you can 11059243Sobrien > set foo=/usr/local/a.b.c 11159243Sobrien > echo $foo:t:r:e 11259243Sobrien b 11359243Sobrien If for some reason you don't like this change you can disable it with 11459243Sobrien -DCOMPAT. -DCOMPAT may go away in future tcsh versions and the way tcsh 11559243Sobrien works now is the way the 4.4BSD csh works. 11659243Sobrien 11759243Sobrien6.00 PL1 11859243Sobrien* There is no more config.iris4d, use config.sgi instead 11959243Sobrien 12059243Sobrien6.00 12159243Sobrien* History searching searches using shell patterns too. 12259243Sobrien* The autolist values that controlled beeping are not supported any more; 12359243Sobrien used matchbeep instead. 12459243Sobrien* /etc/Login and /etc/Logout were renamed to /etc/csh.login /etc/csh.logout 12559243Sobrien and /etc/csh.cshrc was added 12659243Sobrien* prompt2 and prompt3 can have prompt escapes. 12759243Sobrien* eval pipes work 12859243Sobrien* ignore_symlinks works 12959243Sobrien 13059243Sobrien5.20 PL2 13159243Sobrien* %{..%} escapes in prompt 13259243Sobrien 13359243Sobrien5.20 PL0 13459243Sobrien* bindkey -r 13559243Sobrien* history -t 13659243Sobrien* shell variables in paths expand correctly. 13759243Sobrien* variable expansion 13859243Sobrien* quoted expansions now work. 13959243Sobrien* new version and tcsh variable format 14059243Sobrien 14159243Sobrien5.19 PL2 14259243Sobrien* NLS support 14359243Sobrien* New bindkey and echotc builtins 14459243Sobrien* Underline and Bold in the prompt; additions and changes to the prompt and 14559243Sobrien who syntax (%u is now %n, so that %u can be used to turn undeline off, 14659243Sobrien and %n is now \n). 14759243Sobrien* rmstar needs to be set to protect from accidental removal 14859243Sobrien* Fixed editor, and spell line. 14959243Sobrien* Glob-expand, on arguments. 15059243Sobrien* Added process migration builtins for aix370 15159243Sobrien 15259243Sobrien5.19 PL1 15359243Sobrien* Maintainance release for mainly the rs6000 15459243Sobrien 15559243Sobrien5.19 PL0 15659243Sobrien* 8 bit clean code, by using 16 bit strings. 15759243Sobrien* Mostly shared strings (a side-effect) 15859243Sobrien* Highlights everywhere (and in ls-F) filenames that contain characters 15959243Sobrien with the eighth bit set (or passes them unchanged depending on the 16059243Sobrien variable 'nometa') 16159243Sobrien* Newline in the prompt via %n. 16259243Sobrien* dirs takes also a -v flag for `vertical display' 16359243Sobrien* There is a new variable `listjobs' which controls if and how jobs 16459243Sobrien are displayed when a new job is suspended. [Idea from the mtXinu 16559243Sobrien code, very useful for novice users who hit control-Z 10 times on 16659243Sobrien the same job!] 16759243Sobrien set listjobs=long, jobs -l is executed every time a job is suspended. 16859243Sobrien set listjobs=short, jobs is executed every time a job is suspended. 16959243Sobrien* Passes lint... At least on a sun. 170