[5414] in Athena Bugs
tcsh changes
daemon@ATHENA.MIT.EDU (John Carr)
Wed Jul 4 22:36:20 1990
To: bugs@ATHENA.MIT.EDU
Date: Wed, 04 Jul 90 22:36:09 EDT
From: John Carr <jfc@ATHENA.MIT.EDU>
I've made a number of improvements and bug fixes to tcsh. diffs for them are
in the file /afs/athena/user/j/jfc/src/tcsh.diff.
It is only a waste of time to use xstr on tcsh. The makefile should be
changed to compile with gcc (vax) or hc -Hon=read_only_strings (rt). The size
is no larger, and compiling is easier. I have not included makefile patches.
A note in [] indicates where the request for this feature/change originated,
if not from me.
1. don't use <ctype.h> at all (there is a builtin version that does much the same
thing, but has some extra bits to recognize shell metacharacters)
2. disable "old load average" calculation (this reads /usr/spool/rwho)
3. '%' is not a special character in word completion (^Z)
[changes.71 #915/bjaspan]
4. delete many unused functions
5. use "const" in declarations where useful (reduces data size)
6. declare "nofile" in sh.c int, not bool
[bugs ???/jfc]
7. don't check argv[0] if argc == 0
8. allow for signal handlers that return void
[AIX, ultrix]
9. don't use CERASE, CKILL if not defined
[AIX port/jfc]
10. print '#' when name-completing block/char special devices
11. prompt changes:
%T print time of day in 24 hour format
%p# prints only the last # components of $cwd (prefixed with
"..." if $cwd had to be truncated to fit)
[bugs? s-s?]
12. get str*() declarations out of <strings.h>
13. history -tt prints history with time in 24 hour format
14. malloc uses a larger number of block sizes, reducing total memory usage
15. remove support for malloc "storage compaction"
16. don't try to open a directory named "" (call it "." instead)
[AIX port/jfc]
17. reduce amount of floating point math in limit calculation
(makes RT binary smaller)
18. don't assume 32 signals
[AIX port/jfc]
19. when using cdpath, save the error that caused the orignal directory name
not to be used (if it is not ENOENT)
[bugs/jfc]
20. configuration options in sh.local.h for NeXT, PS/2 AIX