> > Then ls is sensing its output device and works accordingly? How does it do > that? With the isatty(3) function. HTH, Eric -- E.L. Meijer (tgakem@chem.tue.nl) Eindhoven Univ. of Technology Lab. for Catalysis and Inorg. Chem. (SKA)