I went hunting for AIX RPM's that might have libgpgme.a in them. I found and retrieved one, it turned out to be for a different CPU but I was able to examine the libgpgme.a that came with it. It turned out the only module inside the libgpgme.a archive was --- libgpgme.so.11 !
This seems kind of silly to me. I'm not a Unix developer but I always thought that "libxxxxx.a" files held static object files, and "libxxxx.so" files held shared object files. I never noticed a shared library being stored as a module in a static library before.
Well, I have the libgpgme.so.11 file for my system, it's right there in /usr/local/lib, so I ran 'ar' and made a libgpgme.a library whose only module was the shared library. It works!! (Or at least, it gets me to the point of needing a cipher to decrypt the files I want to access.):
I have to idea why my program (mupip) cannot simply find and use the shared library, but instead must open a static library and read the shared library from it. Has anybody ever encountered something like this?
Not that I'm complaining, I'm glad it works. But it seems silly.
Does anyone know how I can list the loaded drivers in AIX. I suspect it has something to do with ODM but I dont know how to do it.
I am trying to find wich scsi device (scsi1 2 3 etc) is attached to a particular piece of hardware. I know the driver name but how to find which scsi device is... (4 Replies)
Hi all,
I am working on USB data monitoring on Fedora Core 9. Kernel 2.6.25 has a built-in module (the one that isn't loadable, but compiles and links statically with the kernel during compilation) to snoop USB data. It is in <kernel_source_code>/drivers/usb/mon/.
I need to know if I can... (0 Replies)
Hi
I'm trying to do an upgrade for one application and whenever I run the upgradre the program shows the error that mcrypt module is not initially loaded with php.
My server is running xampp 0.9 and I know this library of mcrypt is already installed.
I changed the php.ini file in order to... (0 Replies)
Hi,
I've found some old threads on AIX licensing, but still not sure:
I'd like to get some used pSeries box for hands-on AIX learning. If somebody on eBay offers a box with $subj - what problems/limitations (technical, not legislative) I could expect? Is this system usable for my intention?
... (2 Replies)
Hello guys, I have a trouble when running an application in AIX, I've compiled and the
LIBRARY_PATH seems ok, but I get the following message:
rtld: 0712-001 Symbol __pthread was referenced
from module main_app(), but a runtime definition
of the symbol was not found
ldd... (4 Replies)
I am trying to load into the kernel a system-call dynamically (without restarting the kernel and compailing it) in an attempt to (once in kernel mode) write to user process's memory.
(I know there is a way to do this with the ptrace interface but it is not an option.)
I know the only way to... (1 Reply)
Hi,
I just started working on a script. After my research, i found a command which can help me:
AIM: To build a script which starts the services (Services 1) on server 1 automatically whenever its down. And it has a dependency on other service (Service 2) on Server 2.
So my script has to... (4 Replies)
I have installed following packages from perzl
samba-winbind-clients-3.6.22-1
samba-client-3.6.22-1
samba-domainjoin-gui-3.6.22-1
samba-winbind-devel-3.6.22-1
samba-3.6.22-1
samba-common-3.6.22-1
samba-winbind-krb5-locator-3.6.22-1
samba-doc-3.6.22-1
samba-swat-3.6.22-1... (7 Replies)
Hi,
We are in the process of migrating from AIX to Linux. There is a script of type "executable (RISC System/6000) or object module not stripped" on AIX and we are unable to read the contents of it.
Is there a way to read the contents of the file on AIX, so that we can rewrite the code in... (3 Replies)
Discussion started by: venkatesh17
3 Replies
LEARN ABOUT PHP
set_color
set_color(1) fish set_color(1)NAME
set_color - set_color - set the terminal color
set_color - set the terminal color
Synopsis
set_color [-v --version] [-h --help] [-b --background COLOR] [COLOR]
Description
Change the foreground and/or background color of the terminal. COLOR is one of black, red, green, brown, yellow, blue, magenta, purple,
cyan, white and normal.
o -b, --background Set the background color
o -c, --print-colors Prints a list of all valid color names
o -h, --help Display help message and exit
o -o, --bold Set bold or extra bright mode
o -u, --underline Set underlined mode
o -v, --version Display version and exit
Calling set_color normal will set the terminal color to whatever is the default color of the terminal.
Some terminals use the --bold escape sequence to switch to a brighter color set. On such terminals, set_color white will result in a grey
font color, while set_color --bold white will result in a white font color.
Not all terminal emulators support all these features. This is not a bug in set_color but a missing feature in the terminal emulator.
set_color uses the terminfo database to look up how to change terminal colors on whatever terminal is in use. Some systems have old and
incomplete terminfo databases, and may lack color information for terminals that support it. Download and install the latest version of
ncurses and recompile fish against it in order to fix this issue.
Version 1.23.1 Sun Jan 8 2012 set_color(1)