rtinit.csh
initialize UNIX C shell (csh) or extended C shell (tcsh) to run SmartSockets
None
None
The rtinit.csh
script sets up C shell (csh
) and extended C shell (tcsh
) users to run SmartSockets. This should be done in the startup script $HOME/.cshrc
for each user account that is using SmartSockets. It is difficult to automate the process of adding rtinit.csh
to $HOME/.cshrc
, as $HOME/.cshrc
is often very complicated. Add this line to $HOME/.cshrc
:
Add this line toward the end of a user’s $HOME/.cshrc
file, so that the settings in rtinit.csh
are applied last.
The rtinit.csh
script sets or modifies these environment variables:
RTHOME
is set to the name of the directory where SmartSockets is installed (the install_dir/ss68
mentioned above).RTARCH
is set to the SmartSockets architecture; for example, sun4_solaris
.PATH
has $RTHOME/bin
added to the end.XUSERFILESEARCHPATH
has $RTHOME/app-defaults/$RTARCH
and $RTHOME/app-defaults
added to the end.XKEYSYMDB
is set to $RTHOME/lib/$RTARCH/XKeysymDB
. This is needed for Motif 1.2 and X11R5.XNLSPATH
is set to $RTHOME/lib/$RTARCH/nls
. This is needed for Motif 1.2 and X11R5.LD_LIBRARY_PATH
(UNIX platforms other then HP-UX/AIX) has $RTHOME/lib/$RTARCH
added to the front. On platforms that support both 32-bit and 64-bit, $RTHOME/lib/$RTARCH/
64dir
is added before $RTHOME/lib/$RTARCH
, where 64dir
is the directory containing 64-bit libraries.SHLIB_PATH
(HP-UX only) has $RTHOME/lib/$RTARCH:$RTHOME/lib/$RTARCH/
64Dir
added to the end, where 64Dir
is the directory containing 64-bit libraries.LIBPATH
(AIX only) has $RTHOME/lib/$RTARCH
added to the front.
Many users have a conditional exit in their $HOME/.cshrc
that prevents certain commands from being executed if the shell is not interactive, such as when an executable script is being run. The standard C shell test for a non-interactive login is:
The line that sources the rtinit.csh
script should appear before this conditional exit; otherwise, the SmartSockets environment will not be properly set up.
None
TIBCO SmartSockets™ Utilities Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |