return to index
return to index
A lot of work has gone into making the supplied dot files. It is unlikely that you will want to make alterations other than perhaps aesthetic ones such as your default prompt.
return to index
return to index
The last character of the prompt is usually > for the tcsh shell and % for the C-shell. Please retain these last characters because it enables users to recognise the shell they are working with from the last character of the prompt.
Please select from the example below the statement requirted and enter it as the last line in your .cshrc file.
for the tcsh shell (user default) | |
---|---|
style | statement required |
Your username
gfm> | set prompt="%n>
" |
Your hostnamescorpio> | set prompt="%m>
" |
Your username and hostname
This is the DEFAULT for tcsh and will already have been established by the site-wide login files. gfm@scorpio> | set prompt="
%n@%m> " |
for
more examples see the man page for tcsh. Here is an extract from man tcsh about prompt strings . | |
for the csh shell (alternative shell) | |
Your usernamegfm% | set prompt="$user% "
|
Your hostnamescorpio% | set prompt="$HOST%
" |
Your username and hostname
This is the DEFAULT for csh and will already have been established by the site-wide login files. gfm@scorpio% | set prompt="
$user@$HOST% " |
for
more examples see the man page for csh. Here is an extract from man csh about prompt strings . | |
Sorry no more examples just yet. If you want another example please contact CFG and ask them to update this page (mail to helpdesk@ing.iac.es please). |
return to index
~/.starlink
in your home directory.
user@hostname> touch ~/.starlink
If you don't want Starlink utilites or do not want them anymore then remove the flag file (if it exists)
user@hostname> rm ~/.starlink
The current version of starlink offers the library slalib. The web pages on slalib are just one of the sets of web pages which come with starlink each of which is in a directory with an htx suffix. In each case begin with node1.html in that directory. You do not have to subscribe to starlink to see these pages. If you don't know where to start here is a link to browsing point in Starlink documentation where you will find this list of documentation for STARLINK Software Collection . Another useful page is PGPLOT --- Graphics Subroutine Library
return to index
It should therefore be unnecessary for most users to have to modify the PATH variable. You can examine the value established for you by the site-wide login files by the command
user@hostname> echo $PATH
user@hostname> mkdir -p ~/bin user@hostname> cd ~/bin user@hostname> ln -s /home/user/Cprogs/mickey ~/bin
setenv PATH "/opt/ScaryfilmsV2/bin:${PATH}"Now, (after the user logs out and in again!) when the user types
user@host> TheThingunix searches for the program TheThing in the directories specified by PATH and it will find the new (experimental) version in the directory /opt/ScaryfilmsV2/bin before finding the link in /usr/local/bin to the current version seen by everyone else.
The above example is trivial - a similar result could have been obtained by setting up an alias in the .postcshrc file
alias TheThing /opt/ScaryfilmsV2/bin/TheThingNow, (after the user invokes another shell or opens another window) when the user types
user@host> TheThingunix interprets the alias and then has an absolute path reference to the program and does not need to search any list to find it. In either case one or other version can be obtained at any time by invoking the full path name (either /opt/ScaryfilmsV2/bin/TheThing or /opt/ScaryfilmsV1/bin/TheThing)
return to index
/usr/bin/mv .postlogin to .nopostlogin
/usr/bin/mv .nopostlogin .postlogin
return to index
The following table lists the items set by the site-wide login script Under the column "file" appears either
name | purpose | ING default | override statement | file |
---|---|---|---|---|
coredumpsize
| limit size of coredump files - see man page on limit | 0 | limit coredumpsize
nnn | pc |
history | sets
the limit on command recall - see man page on tcsh | 100 | set history =
nnn | pc |
ignoreeof |
cannot use control-D to logout - see man page on tcsh | set | unset ignoreeof
| pc |
umask | sets
the file mode creation mask The default 022 removes write access to your files for group and other. This is usually adequate. In some circumstances you may not want group or other to have read access in which case it should be 066. See man page on umask for more details or consult CFG | 022 | umask nnn
| pc |
For up to date information on the defaults of your shell variables type
user@host> setTo eliminate them use unset. To change value use
user@host> set varname = newvaluein your .postcshrc file
For up to date information on the defaults of your shell environment variables type
user@host> setenvTo eliminate them use unsetenv. To change value use
user@host> setenv ENVARNAME = newvaluein your .postlogin file
user@host> aliasTo eliminate them use unalias. To change value use
user@host> alias alias-name definitionin your .postcshrc file
return to index