From: gale@grace.musc.edu (Larry Gale)
Subject: Re: Portable startup files question..
Date: 1995/05/23 [thread overview]
Message-ID: <3ptfti$anb@nellie.musc.edu> (raw)
In-Reply-To: D8xA28.L5n@fibronics.co.il
In article <D8xA28.L5n@fibronics.co.il>, ricky@fibronics.co.il (Ricardo Marek) says:
>
>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.
I don't know about the other systems, but 'uname -a' allows you to
distinguish between SunOS (4.n.n) and Solaris (5.n) by looking at
the 3rd field returned by the command. We use that mechanism locally
with multiple Suns running different releases of the OS.
-- Larry
===========================================================================
+ +
+ Larry Gale Systems Engineer +
+ gale@grace.musc.edu Clinical Support Systems +
+ (803)-792-6002 (voice) Center for Computing & Information Technology +
+ (803)-792-8319 (fax) Medical University of South Carolina +
+ 171 Ashley Avenue +
+ Charleston, SC 29425 +
+ +
===========================================================================
next prev parent reply other threads:[~1995-05-23 4:00 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-05-21 4:00 Portable startup files question Ricardo Marek
1995-05-21 4:00 ` Uwe Leinberger
1995-05-22 4:00 ` Ido Sarig
1995-05-22 4:00 ` Guy Harris
1995-05-24 4:00 ` Dale DePriest
1995-05-25 4:00 ` Guy Harris
1995-05-26 4:00 ` Thanh Ma
1995-05-26 4:00 ` Guy Harris
1995-06-02 4:00 ` Christopher Samuel
1995-05-21 4:00 ` tim werner
1995-05-22 4:00 ` Guy Harris
1995-05-23 4:00 ` Larry Gale [this message]
1995-05-26 4:00 ` Syed Zaeem Hosain
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox