Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

1.205. tcsh

1.205.1. RHBA-2009:1494: bug fix update

Note

This update has already been released (prior to the GA of this release) as errata RHBA-2009:1494
An updated tcsh package that fixes a bug is now available.
Tcsh is an enhanced and compatible version of the C shell (csh). Tcsh is a command language interpreter, which can be used as an interactive login shell, as well as a shell script command processor.
This updated tcsh package fixes the following bug:
* when using the tcsh shell, running a command containing glob characters (such as "echo FAIL *", for example) within a directory in which automount mounted other directories (such as for NIS) based on a wildcard entry in the automount map file caused the service to attempt to mount those directories and fail, thereby increasing network traffic and system load. This update provides a fix to tcsh glob-handling so that using globbing characters as in the above example no longer triggers automount, thus resolving the issue. (BZ#526459)
All users of tcsh are advised to upgrade to this updated package, which resolves this issue.

1.205.2. RHBA-2010:0027: bug fix update

Note

This update has already been released (prior to the GA of this release) as errata RHBA-2010:0027
An updated tcsh package that fixes a bug is now available.
Tcsh is an enhanced and compatible version of the C shell (csh). Tcsh is a command language interpreter, which can be used as an interactive login shell, as well as a shell script command processor.
This updated tcsh package fixes the following bug:
* when using the tcsh shell, running a command with glob characters which also took as an argument any single- or double-quoted string resulted in a backslash character being inserted before every character in the quoted string arguments. This update provides a fix to tcsh glob-handling so that characters in single- or double-quoted string arguments are handled correctly and as expected. (BZ#547529)
All users of tcsh are advised to upgrade to this updated package, which resolves this issue.

1.205.3. RHBA-2010:0190: bug fix update

An updated tcsh package that fixes various bugs is now available.
Tcsh is an enhanced and compatible version of the C shell (csh). Tcsh is a command language interpreter, which can be used as an interactive login shell, as well as a shell script command processor.
This update package addresses the following bugs:
* The local variable for "%j" within the prompt was incorrect, mistakenly referencing an unrelated global variable. This caused the entire prompt to be set to 0. Correcting the local variable ensures that when the "%j" character is included in a prompt it produces a 0 within the prompt, instead of setting the entire prompt to 0. (BZ#461836)
* A previous patch for tcsh changed designed behavior in what was thought to be a bug fix. It was previously thought that the circumstance of a range being empty because the second argument was omitted or was in range, was an error. The behavior that was said to be a bug has since been found to be documented as a feature. This updated package restores the behavior that allows a range to be empty if the second argument is omitted or is in range. (BZ#495642)
* Invalid automount attempts occurred when using tcsh as a shell and globbing. This could have caused a slow down in computer operations. The bug is fixed in these updated packages by ensuring that when tcsh is being used with globbing, no incorrect automounts occur. (BZ#498625, BZ#526712)
* Multi-byte characters were not always printed correctly by tcsh. The bug was located in the short2qstr() method that maintains a pointer to an internal buffer and it relocates the buffer if needed. Once the new buffer was allocated, the pointer would be incorrectly set to point to the beginning of a new memory block. Since the beginning of a new block may not be the end of a previous character, the last character could have been overwritten. This error is corrected by ensuring that the pointer moves to reference a memory space that is after the last character instead of just moving to the beginning of the next block. (BZ#502474)
* Globbing was not processed correctly by tcsh when be used by the echo command. The consequence of this was that text echoed in quotation marks (" or ') would output with backslash characters in the text. This bug has been fixed by modifying the previous glob-automount patch to deal correctly with quoted text in an echo command. (BZ#529425)
* Expansion of multiple filename globs failed if any glob in a command line expression failed. The correct behavior outlines that a glob command should only fail if all components of the command fail. This behavior is restored with this updated package. (BZ#529703)
All users of tcsh are advised to upgrade to this updated package, which resolves these issues.