[Home]Christos

Home | RecentChanges | Preferences

Difference (from prior major revision) (author diff)

Changed: 9c9
as well as make it use stdio, instead of a hand-rolled printf. I also made it use arrays of shorts as strings so that internationalized code would work. Another interesting piece of information is that the 4.4BSD libedit is really tcsh's command line editor extracted and cleaned up... Tcsh benefited from that work too, because it could be distributed as the complete source for now, not just patches.
as well as make it use stdio, instead of a hand-rolled printf. I also made it use arrays of shorts as strings so that internationalized code would work. Another interesting piece of information is that the 4.4BSD libedit is really tcsh's command line editor extracted and cleaned up... Tcsh benefited from that work too, because it could be distributed as the complete source now, not just patches.

I picked up tcsh in 1987 from Paul Placeway at Ohio State. At that time tcsh was only distributed as patches against different versions of 4.X-BSD. In 1992, Keith Bostic asked me to re-write the last AT&T bits (glob.c) and do some other rewrites, to produce a free version of csh to be included in 4.4BSD. I took advantage of that to pull more things from tcsh such as bug fixes, and a cleaned up malloc implementation eliminating:

 void 
 xfree(char *ptr) { 
    if (ptr >= _etext)
        free(ptr);
 }

as well as make it use stdio, instead of a hand-rolled printf. I also made it use arrays of shorts as strings so that internationalized code would work. Another interesting piece of information is that the 4.4BSD libedit is really tcsh's command line editor extracted and cleaned up... Tcsh benefited from that work too, because it could be distributed as the complete source now, not just patches.

Around 1993 I added programmable completion and kept making other improvements through the years (addition of nls catalog support)... And to this date, the shell is still maintained and released regularly.

Through the years, many other people have contributed major pieces of code and ports to other environments such as OPENVMS, and Windows/NT.


Home | RecentChanges | Preferences
This page is read-only | View other revisions
Last edited April 28, 2001 3:36 (diff)
Search: