12-16-2008
thanks for your help!!!
you started me thinking in another direction and I got them to work.
one of the things I needed to do was include the entire path for those directories. What I had tried before turned out to be only a partial path, and the system didn't recognize it. I know, duh......
Anyway, I got them to work, so thanks again
9 More Discussions You Might Find Interesting
1. Programming
Hi !
Please tell me how to get radio buttons, text boxes , check boxes , option buttons , pull down menus in C++ on Unix.
I think it would be done using curses.h ..but that's all i know.
TIA,
Devyani. (3 Replies)
Discussion started by: devy8
3 Replies
2. UNIX for Dummies Questions & Answers
I have a script that generates an output file after pulling data from a local DB on one of my boxes. There are other nearly-identical boxes on the network, each with their own local DB, and I'd like to run the script there too. Copying the script to each box and then running them individually... (11 Replies)
Discussion started by: bschnair
11 Replies
3. Shell Programming and Scripting
Hello I'm serving on a ship that has frequent power issues. Currently if we loose power we need to rush around to multiple UNIX machines and login to Sysadmin and power down each machine before we loose our ups. If sysadmin is asleep or not in the space we have some real problems. I would like to... (2 Replies)
Discussion started by: blackfam972
2 Replies
4. Shell Programming and Scripting
Hi all
I want to add this line after a line
This is the line which needs to be add after the word permission
echo 'profile: /export/home/unix1/auto.pr' >> $xxyy
if ;then
cd $unixserv/unix
sed '
/permission/ a\
echo 'profile: /export/home/unix1/auto.pr' >> $xxyy... (13 Replies)
Discussion started by: ranga27
13 Replies
5. AIX
I am calling this paramters from a controlfile
CONTROLFILE="/u01/scripts/admin/filesystem.ctl"
SEARCH_PATH="`grep SEARCH_PATH $CONTROLFILE | awk -F: '{print $2}' `"
FILE_TYPE="`grep FILE_TYPE $CONTROLFILE | awk -F: '{print $2}' `"
DEL_RETENTION_SIZE="`grep DEL_RETENTION_SIZE $CONTROLFILE |... (5 Replies)
Discussion started by: javeedkaleem
5 Replies
6. Shell Programming and Scripting
I have requirement to login into a multiple linux boxes by running the shell script in a single linux box and to find the count of files in a specific folder in each box and log them in a log file in the box where i m runnning the script. Box names will be stored in a text file host.txt.
Please... (2 Replies)
Discussion started by: Mani2512
2 Replies
7. Shell Programming and Scripting
I am using AIX 5.3.0.0 ; I need a script to find out each remote AIX boxes
Hostname, Model name and Serial number in following format
Hostname Modelname SerialID
AIXMC01 IBM,7026-B80 IBM,0110BBA1F
AIXMC02 IBM,7026-H50 IBM,0110BBA56
AIXMC03 IBM,7026-H50 IBM,0110BBARR... (12 Replies)
Discussion started by: amir07
12 Replies
8. Shell Programming and Scripting
Hello All,
I am new to scripting and I am trying to write a script which can scp a file from one box to multiple boxes.
I am thinking to do like this.
1) create a file with list of all server names
2)write a script which will pick up each server line by line from server list and copy it to... (1 Reply)
Discussion started by: sintilash
1 Replies
9. Shell Programming and Scripting
can anyone help identify where the issue is here?
awk 'BEGIN { c="perl -e 'print scalar(localtime("'${EPOCHTIME}'")), "\n"'"; c|getline; close( c ); print $2" "$3" "$4" "$6; }'
bash: syntax error near unexpected token `('
can't seem to figure it out. i tried this:
awk 'BEGIN {... (5 Replies)
Discussion started by: SkySmart
5 Replies
LEARN ABOUT DEBIAN
xsetfontpath
XSetFontPath(3) XLIB FUNCTIONS XSetFontPath(3)
NAME
XSetFontPath, XGetFontPath, XFreeFontPath - set, get, or free the font search path
SYNTAX
int XSetFontPath(Display *display, char **directories, int ndirs);
char **XGetFontPath(Display *display, int *npaths_return);
int XFreeFontPath(char **list);
ARGUMENTS
directories
Specifies the directory path used to look for a font. Setting the path to the empty list restores the default path defined for
the X server.
display Specifies the connection to the X server.
list Specifies the array of strings you want to free.
ndirs Specifies the number of directories in the path.
npaths_return
Returns the number of strings in the font path array.
DESCRIPTION
The XSetFontPath function defines the directory search path for font lookup. There is only one search path per X server, not one per
client. The encoding and interpretation of the strings are implementation-dependent, but typically they specify directories or font
servers to be searched in the order listed. An X server is permitted to cache font information internally; for example, it might cache an
entire font from a file and not check on subsequent opens of that font to see if the underlying font file has changed. However, when the
font path is changed, the X server is guaranteed to flush all cached information about fonts for which there currently are no explicit
resource IDs allocated. The meaning of an error from this request is implementation-dependent.
XSetFontPath can generate a BadValue error.
The XGetFontPath function allocates and returns an array of strings containing the search path. The contents of these strings are imple-
mentation-dependent and are not intended to be interpreted by client applications. When it is no longer needed, the data in the font path
should be freed by using XFreeFontPath.
The XFreeFontPath function frees the data allocated by XGetFontPath.
DIAGNOSTICS
BadValue Some numeric value falls outside the range of values accepted by the request. Unless a specific range is specified for an argu-
ment, the full range defined by the argument's type is accepted. Any argument defined as a set of alternatives can generate this
error.
SEE ALSO
XListFont(3), XLoadFonts(3)
Xlib - C Language X Interface
X Version 11 libX11 1.5.0 XSetFontPath(3)