tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: tcsh as csh default



> Does csh even exist anymore?

You're trolling?

The mere fact that it exists in NetBSD to the present day is
perhaps enough to claim "yes", and we have the version history
back to the 4.4lite version in our source archive.

> I thought tcsh replaced csh and is now the main development
> branch of it.

From what I saw earlier in this discussion, apparently in
FreeBSD, that's the case.  But FreeBSD isn't everything there
is, as witnessed by you posting here.

There's a definite size difference between csh and tcsh,
approximately 2x -- this is on NetBSD/amd64 9.x, and I include
/bin/sh for comparison:

$ ls -lf /usr/pkg/bin/tcsh /bin/csh /bin/sh
-rwxr-xr-x  1 root  wheel  408688 Jun 28 03:57 /usr/pkg/bin/tcsh
-r-xr-xr-x  1 root  wheel  186712 Aug  4 17:30 /bin/csh
-r-xr-xr-x  1 root  wheel  223632 Aug  4 17:30 /bin/sh
$ size /usr/pkg/bin/tcsh /bin/csh /bin/sh
   text    data     bss     dec     hex filename
 382121   21158   86984  490263   77b17 /usr/pkg/bin/tcsh
 144864    7113   21664  173641   2a649 /bin/csh
 177881    6287    9928  194096   2f630 /bin/sh
$

The size difference might not matter much for modern machines
(and, yes, these are all dynamically linked).

Regards,

- Håvard


Home | Main Index | Thread Index | Old Index