10 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
Just got penalised for not performing a feature that didnt work for me.
I tried to edit the post twice to add code tags, both manually and via button did not work.
code - manual
code - button (7 Replies)
Discussion started by: 06s23
7 Replies
2. UNIX for Dummies Questions & Answers
I am trying to print out two fields in a file using awk. So, I have got
awk -F '\t' 'NF = 2 {print $1 $2 "]"}' two.txt
in a script called what.awk
When i run this version like this - ./what.awk then it runs however I want to run the program like this
awk -f what.awk two.txt.
When I... (8 Replies)
Discussion started by: The undertaker
8 Replies
3. AIX
Hi Guys,
I have a strange problem.( AIX 6.1) "vi" is not working at all..Whenever i #vi <anythin> ,, it returns the prompt back. Any clues folks?? (14 Replies)
Discussion started by: muzahed
14 Replies
4. UNIX for Dummies Questions & Answers
I have just installed OpenBSD on a 333MHz PPC iMac G3. It has a 6GB HDD that has been partitioned as 1GB MacOS 8.5.1, 3GB MacOS X 10.3.9, 2GB OpenBSD 4.8. I now need to install a bootloader so that my computer can recognize the OpenBSD partition at startup. I have been trying to install... (0 Replies)
Discussion started by: t04st3r
0 Replies
5. Shell Programming and Scripting
this is my file I have written.
// My first C++ program
#include <iostream>
int main()
{
std::cout << "Hi there!" << std::endl";
std::cout << "This is my first C++ program" << std::endl";
return(0);
}
This is the error I get, why?
$ g++ first.cpp
ksh: g++: not found (1 Reply)
Discussion started by: gustave
1 Replies
6. Shell Programming and Scripting
It just does the break...even though the files are not the same...
# Compare extracts
#==========================================
count=0
while (( count < 5 ))
do
(( count+=1 ))
echo "Try $count"
file1=$(ls -l /tmp/psjava.xml|... (5 Replies)
Discussion started by: sigh2010
5 Replies
7. Red Hat
Hii All,
I am using openldap v2.3 on redhat El-4. When i run ldapsearch it returns all the entries. The command runs successfully. But when I run the ldapsearch with following filter option it doesnt work and immediately returns to the shell.
ldapsearch uidNumber>=2000
I've started slapd... (0 Replies)
Discussion started by: shamik
0 Replies
8. UNIX for Dummies Questions & Answers
Hi everyone,
I'm pretty new using UNIX, but a friend of mine was helping me configure the unix terminal on my mac, and he changed some stuff on the bash profile .bash_profile. Everything was going well until I shut my computer and restarted it. When I opened the terminal this time this is what... (1 Reply)
Discussion started by: thefloydpink
1 Replies
9. UNIX for Dummies Questions & Answers
When trying to copy a file in Solaris 8 it doesnt copy file or give a error. This worked 100% until the 29th. I've checked the rights and everything seems fine:
drwxrwxrwx 2 bmuser bmgroup 11776 Jan 3 10:32 spool
This is the file I want to copy:
-rwxrwxrwx 1 bmuser bmgroup ... (26 Replies)
Discussion started by: rudi.okelly
26 Replies
10. UNIX for Dummies Questions & Answers
hi
when i want to go to previous directory by typing cd.. i get the following message
$ cd..
ksh: cd..: not found
Please help
rintingtong (2 Replies)
Discussion started by: rintingtong
2 Replies
XkbLibraryVersion(3) XKB FUNCTIONS XkbLibraryVersion(3)
NAME
XkbLibraryVersion - Determines the compatibility of a library at runtime.
SYNOPSIS
Bool XkbLibraryVersion (int *lib_major_in_out, int *lib_minor_in_out);
ARGUMENTS
lib_major_in_out
Specifies and returns the major Xkb library version.
lib_minor_in_out
Specifies and returns the minor Xkb library version.
DESCRIPTION
If an application is dynamically linked, both the X server and the client-side X library must contain the Xkb extension in order for the
client to use the Xkb extension capabilities. Therefore a dynamically linked application must check both the library and the server for
compatibility before using Xkb function calls. A properly written program must check for compatibility between the version of the Xkb
library that is dynamically loaded and the one used when the application was built. It must then check the server version for compatibility
with the version of Xkb in the library.
If your application is statically linked, you must still check for server compatibility and may check library compatibility. (It is possi-
ble to compile against one set of header files and link against a different, incompatible, version of the library, although this should not
normally occur.)
Pass the symbolic value XkbMajorVersion in lib_major_in_out and XkbMinorVersion in lib_minor_in_out. These arguments represent the version
of the library used at compile time. The XkbLibraryVersion function backfills the major and minor version numbers of the library used at
run time in lib_major_in_out and lib_minor_in_out. If the versions of the compile time and run time libraries are compatible, XkbLi-
braryVersion returns True, otherwise, it returns False.
In addition, in order to use the Xkb extension, you must ensure that the extension is present in the server and that the server supports
the version of the extension expected by the client. Use XkbQueryExtension to do this, as described in the next section.
RETURN VALUES
True The XkbLibraryVersion returns True if the versions of the compile time and run time libraries are compatible.
False The XkbLibraryVersion returns False if the versions of the compile time and run time libraries are not compatible.
SEE ALSO
XkbMajorVersion(3), XkbMinorVersion(3), XkbQueryExtension(3)
X Version 11 libX11 1.6.0 XkbLibraryVersion(3)