08-28-2002
cshrc
where are my .cshrc files ?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
in my .cshrc file, i can set my library files directory like this :
setenv LD_LIBRARY_PATH "/usr/openwin/lib"
now i want to specify my header files directory. please teach how to set it and what/how is the syntax
thank u (1 Reply)
Discussion started by: champion
1 Replies
2. UNIX for Advanced & Expert Users
Hi, My account is : abcd
I belong to a group: pqrs
Some thing straneg happened yesterday.
My .cshrc and .login got overwritten into pqrs's .cshrc and .login
I obviously did not explicitly overwrite pqrs's .cshrc.
Are there any reasons how this could have happened indirectly due to... (5 Replies)
Discussion started by: gjthomas
5 Replies
3. UNIX for Dummies Questions & Answers
How can I set up my .cshrc file to do as the posix shell does the escape+k to scroll my command history
Thanks
Oh BTW, Hi I'm new to the forum. (2 Replies)
Discussion started by: Lefty
2 Replies
4. UNIX for Dummies Questions & Answers
what kind of information is there .cshrc ?
I want to set an alias in the form of
=>#alias setprompt 'set prompt=">>$user<<@`hostname`:${cwd}% "'
Ex. alias pr 'cd /home/username'
when I make the change and try to do $pr ... its saying pr: command not found
Is there any way I can... (0 Replies)
Discussion started by: priyam
0 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I use a specific utility in my .cshrc for setting up the right fonts and I believe it's sufficient to run it once for a whole session.
Since I have sourced it in my .cshrc, it runs every time I do a source of .cshrc or invoke every new terminal.
To resolve this issue, I thought of... (1 Reply)
Discussion started by: oldtrash
1 Replies
6. Virtualization and Cloud Computing
Hi All,
I was hoping someone could help me with the following query I have please in relation to NX Nomachine.
Is there a way to get my .cshrc file in say my “US” home dir” to run when I login to another server e.g say a UK server?
Any advise would be much appreciated, thanks (3 Replies)
Discussion started by: zainster
3 Replies
7. Shell Programming and Scripting
Hello everyone,
I write a ~/.cshrc for set class path to run my java application. The file is listed below.
setenv YFILTER_HOME ~/yfilter-2.0
setenv PATH "$YFILTER_HOME/bin:$PATH"
setenv CLASSPATH... (1 Reply)
Discussion started by: perl0101
1 Replies
8. UNIX for Dummies Questions & Answers
At work I've been moved from ksh to bash per our policy. I haven't configured a .profile or .cshrc before but when I first started the guy that trained me (on just what I need to know in order to do the job) let me copy his .profile, .cshrc, and .cshrc_aliases file so we could all use them and... (6 Replies)
Discussion started by: MaindotC
6 Replies
9. Solaris
What does ' @(#)cshrc 1.11 89/11/29 SMI ' mean?
Can someone please deconstruct and explain the parts?
# @(#)cshrc 1.11 89/11/29 SMIIt is at the top of a the .cshrc of a new Solaris account I am working on.
I am familiar with using the first line of a script for setting the program/shell to... (2 Replies)
Discussion started by: fgrirx
2 Replies
10. Solaris
I'm doing some IVR programming and it uses Solaris 10. I know little about Unix, or CSH, but I think it's a problem with my .cshrc file. I was getting an error: "nstancehomedir/sqllib/bin/db2fupdt: Command not found" and also "set: Syntax error" when I log in. I found db2fupdt in 2 directories,... (2 Replies)
Discussion started by: jstevanus
2 Replies
LEARN ABOUT DEBIAN
af_aftype
af_misc(3) Attribute Filesystem (AtFS) af_misc(3)
NAME
af_afname, af_afpath, af_aftype, af_afuser, af_setarchpath, af_version - miscellaneous AtFS functions
SYNOPSIS
#include <atfs.h>
char *af_afname (char *path)
char *af_afpath (char *path)
char *af_aftype (char *path)
Af_user*af_afuser (uit_t uid)
char *af_setarchpath (char *path)
char *af_version (void)
DESCRIPTION
The functions af_afname, af_afpath and af_aftype extract name, syspath or type from a given (operating system dependent) file identifica-
tion. In an UNIX environment, a given pathname of the form
/usr/lib/libatfs.a leads to afname libatfs, afpath /usr/lib and aftype a.
If no path (eg. otto.c), or no type (eg. /usr/hugo/Makefile) is given, the corresponding routine returns an empty string. A period as
first character in a filename is always considered to be part of the name (e.g. .cshrc has the name .cshrc and an empty type string). "."
and ".." are recognized as names. Archive file extensions and AtFS specific path extensions are stripped from the resulting name resp.
pathname.
Note: af_afname, af_afpath and af_aftype use static memory for the returned results. Subsequent calls of the same function overwrite for-
mer results.
af_afuser returns an AtFS user identification which consists of the login name of the user identified by uid, the current host and the cur-
rent domain. Uid_t is defined according to the return type of getuid (2) on your system. The Af_user type has the following structure
typedef struct {
charaf_username[MAXUSERNAMELEN];
charaf_userhost[MAXHOSTNAMELEN];
charaf_userdomain[MAXDOMAIN+1];
} Af_user;
af_setarchpath defines the location of the AtFS archive files. A nil-pointer given as path-argument clears the former setting of the global
archive path. af_setarchpath returns the old global archive path. Initially, no global archive path is set. In this case, all archive
files are stored in a subdirectory called AtFS, relative to the directory where corresponding busy version resides.
af_version returns a string that names the version and the creator of the currently used AtFS library.
SEE ALSO
getuid(2)
AtFS-1.71 Fri Jun 25 14:33:12 1993 af_misc(3)