From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1012a6,5120b503df4ed78f,start X-Google-Attributes: gid1012a6,public X-Google-Thread: 115614,5120b503df4ed78f,start X-Google-Attributes: gid115614,public X-Google-Thread: 1164f8,5120b503df4ed78f,start X-Google-Attributes: gid1164f8,public X-Google-Thread: 1020c6,5120b503df4ed78f,start X-Google-Attributes: gid1020c6,public X-Google-Thread: 10b612,5120b503df4ed78f,start X-Google-Attributes: gid10b612,public X-Google-Thread: 11035d,5120b503df4ed78f,start X-Google-Attributes: gid11035d,public X-Google-Thread: 1070f0,5120b503df4ed78f,start X-Google-Attributes: gid1070f0,public X-Google-Thread: 1069a6,5120b503df4ed78f,start X-Google-Attributes: gid1069a6,public From: ricky@fibronics.co.il (Ricardo Marek) Subject: Portable startup files question.. Date: 1995/05/21 Message-ID: #1/1 X-Deja-AN: 103021631 organization: Fibronics Inc. newsgroups: comp.unix.solaris,comp.unix.ultrix,comp.unix.admin,comp.unix.shell,comp.unix.aix,comp.sys.sun.admin,comp.sys.dec,comp.s How can I configure my startup files ( .cshrc, .login, .profile, .tcshrc) in order to get arround with the differences between OS types. (setting paths, environment vars, aliases, etc..), having also the possibility of seting particular stuff for a certain machine/host/OS System? - Using `uname` is not the short way, because SunOS and Solaris have the same identification. - Using tcsh $OSTYPE is not portable in machines that doesn't have tcsh.. Any hint for startup files using SunOS 4.*, Solaris 2.*, Ultrix, HPUX, AIX with the account, but logging in in different machines? PLEASE ANSWER VIA E-MAIL To: ricky@fibronics.co.il --- Ricky Marek. \||/ +------------------------------------------------------------+ | @___oo | Software Engineer in R&D Dpt. | / (__,,,,| | Fibronics Ltd., Matam Industrial Park, Haifa 31905, Israel |^\/ _) | Phone : +972-4-313690 E-mail: ricky@fibronics.co.il |/ _) | Fax: +972-4-313342 http://www.fibronics.co.il/~ricky/ | / _) +------------------------------------------------------------+ | )_)