Sponsored Content
Operating Systems AIX Where is LINE_MAX set on AIX? Post 302360120 by zaxxon on Thursday 8th of October 2009 07:15:05 AM
Old 10-08-2009
Code:
root@somehost:/usr> find . -type f -name "*.h" -exec grep -l LINE_MAX {} \;
./lpp/X11/include/X11/Xos_r.h
./lpp/X11/include/X11/Xthreads.h
./include/sys/limits.h
./include/unistd.h
root@srfihv02:/usr> oslevel -r
5300-09

I think it is no good idea to change any header files of the OS but change your commands, scripts, structure etc. instead.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

LINE_MAX for NAWK

A newbie question: May I know what is "LINE_MAX" in nawk, does this limit the maximum length of a record that nawk can process. My nawk script gave me an error : >> input record `...' too long when processing long record, and exit. How can I ignore this error and proceed to the next... (2 Replies)
Discussion started by: deaniyoer
2 Replies

2. AIX

c set ++ for aix v3.1.3

Hey everyone... I'm new to this forum. I hope someone can help. I am desperate. I need to get my hand on IBM C Set ++ for AIX v3, part number 5765-421. I need to install this on an AIX box running AIX v4.3.3. I know it's very old and unsupported, but that's the version it has to be. I... (0 Replies)
Discussion started by: tgrossmith
0 Replies

3. UNIX for Dummies Questions & Answers

how to set timeout for aix?

if a user login and never shutdown or exit...how do you set an automatic shutdown or timeout if the user leave the session on for 20 minutes? thanks (3 Replies)
Discussion started by: ichiro
3 Replies

4. AIX

How to set AIX server for x-window?

Hi, I register the ip address into "XMD broadcast" in xconfig of xmanager, then use Xmanager to connect to AIX server, But I can not connect to it. How to set AIX server to let it can be connected? Thanks (2 Replies)
Discussion started by: aixabc
2 Replies

5. AIX

How to set up SUMA i n AIX Environment

Hi , How to set up SUMa in AIX environment. Any suggestions? Thanks, Sureeh C (3 Replies)
Discussion started by: choudarysuresh
3 Replies

6. AIX

AIX Server - Need to set up VMWare

Hi experts, We are faced with a dilemma - we have a AIX server for educational purposes. We had some Oracle applications running on them. The management decided not to extend the warranty, so we are left with a server that we cannot upgrade immediately. I was wondering if we could set up... (2 Replies)
Discussion started by: ranj@chn
2 Replies

7. AIX

file set not getting installed in aix

Hi One of the file set is not getting installed in aix. ========================================================================================= cbspsap01:/ # lppchk -v lppchk: The following filesets need to be installed or corrected to bring the system to a consistent state:... (1 Reply)
Discussion started by: newtoaixos
1 Replies

8. AIX

Will it affect my AIX LPAR security, when i set up email alerts on AIX server.

Hello, I've set up email alerts on AIX Servers. so that i can get email notifications (via mail relay server) when ever there is abnormal behavior. for example 1) my script monitors CPU/disk/memory etc... when it reaches high water ark, it will send an email alert. 2) disk usage alerts 3)... (5 Replies)
Discussion started by: System Admin 77
5 Replies

9. AIX

How to set up remote X Windows on AIX ?

Hi, I want to display a program on my local workstation, that is running on a remote AIX, and I have done the following: install an X server (Xming) on my windows machine enable X11 forwarding in Putty enable X11 forwarding for the SSH daemon restart SSH daemon text X... (9 Replies)
Discussion started by: SteAlma
9 Replies

10. AIX

How do I set up a Zebra Printer on AIX?

Hi All We have a Zebra LP 2824 that we are wanting to use to print mailing labels from our AIX 7.1 server. We have around 350 printers of various types and manufactures already installed and functioning so, we don't want to install CUPS. I can get the printer to print using Line Mode but,... (3 Replies)
Discussion started by: DLooney
3 Replies
XmGetPixmap(library call)												 XmGetPixmap(library call)

NAME
XmGetPixmap -- A pixmap caching function that generates a pixmap, stores it in a pixmap cache, and returns the pixmap SYNOPSIS
#include <Xm/Xm.h> Pixmap XmGetPixmap( Screen *screen, char *image_name, Pixel foreground, Pixel background); DESCRIPTION
XmGetPixmap uses the parameter data to perform a lookup in the pixmap cache to see if a pixmap has already been generated that matches the data. If one is found, a reference count is incremented and the pixmap is returned. Applications should use XmDestroyPixmap when the pixmap is no longer needed. screen Specifies the display screen on which the pixmap is to be drawn. The depth of the pixmap is the default depth for this screen. image_name Specifies the name of the image to be used to generate the pixmap foreground Combines the image with the foreground color to create the pixmap if the image referenced is a bit-per-pixel image background Combines the image with the background color to create the pixmap if the image referenced is a bit-per-pixel image If a pixmap is not found, image_name is used to perform a lookup in the image cache. If an image is found, it is used to generate the pixmap, which is then cached and returned. If an image is not found, the image_name is used as a filename, and a search is made for an X10 or X11 bitmap file. If it is found, the file is read, converted into an image, and cached in the image cache. The image is then used to generate a pixmap, which is cached and returned. If image_name has a leading slash (/), it specifies a full pathname, and XmGetPixmap opens the file as specified. Otherwise, image_name specifies a filename. In this case, XmGetPixmap looks for the file along a search path specified by the XBMLANGPATH environment variable or by a default search path, which varies depending on whether or not the XAPPLRESDIR environment variable is set. The default search path contains a lot of directories. Therefore, XmGetPixmap will need a relatively long time to search through all these directories for pixmaps and bitmaps. Applications that use a lot of pixmaps and bitmaps will probably run more quickly if XBMLANGPATH is set to a short list of directories. In addition to X bitmap files (XBM), Motif also supports XPM (X Pixmap) file formats. The XBMLANGPATH specifies the path for both XBM and XPM files. Refer to the XmGetPixmapByDepth reference page for further details. The XBMLANGPATH environment variable specifies a search path for X bitmap files. It can contain the substitution field %B, where the image_name argument to XmGetPixmap is substituted for %B. It can also contain the substitution fields accepted by XtResolvePathname. The substitution field %T is always mapped to bitmaps, and %S is always mapped to NULL. If XBMLANGPATH is not set but the environment variable XAPPLRESDIR is set, the following pathnames are searched: o %B o $XAPPLRESDIR/%L/bitmaps/%N/%B o $XAPPLRESDIR/%l_%t/bitmaps/%N/%B o $XAPPLRESDIR/%l/bitmaps/%N/%B o $XAPPLRESDIR/bitmaps/%N/%B o $XAPPLRESDIR/%L/bitmaps/%B o $XAPPLRESDIR/%l_%t/bitmaps/%B o $XAPPLRESDIR/%l/bitmaps/%B o $XAPPLRESDIR/bitmaps/%B o $HOME/bitmaps/%B o $HOME/%B o /usr/lib/X11/%L/bitmaps/%N/%B o /usr/lib/X11/%l_%t/bitmaps/%N/%B o /usr/lib/X11/%l/bitmaps/%N/%B o /usr/lib/X11/bitmaps/%N/%B o /usr/lib/X11/%L/bitmaps/%B o /usr/lib/X11/%l_%t/bitmaps/%B o /usr/lib/X11/%l/bitmaps/%B o /usr/lib/X11/bitmaps/%B o /usr/include/X11/bitmaps/%B If neither XBMLANGPATH nor XAPPLRESDIR is set, the following pathnames are searched: o %B o $HOME/%L/bitmaps/%N/%B o $HOME/%l_%t/bitmaps/%N/%B o $HOME/%l/bitmaps/%N/%B o $HOME/bitmaps/%N/%B o $HOME/%L/bitmaps/%B o $HOME/%l_%t/bitmaps/%B o $HOME/%l/bitmaps/%B o $HOME/bitmaps/%B o $HOME/%B o /usr/lib/X11/%L/bitmaps/%N/%B o /usr/lib/X11/%l_%t/bitmaps/%N/%B o /usr/lib/X11/%l/bitmaps/%N/%B o /usr/lib/X11/bitmaps/%N/%B o /usr/lib/X11/%L/bitmaps/%B o /usr/lib/X11/%l_%t/bitmaps/%B o /usr/lib/X11/%l/bitmaps/%B o /usr/lib/X11/bitmaps/%B o /usr/include/X11/bitmaps/%B These paths are defaults that vendors may change. For example, a vendor may use different directories for /usr/lib/X11 and /usr/include/X11. The following substitutions are used in these paths: %B The image name, from the image_name argument %N The class name of the application %L The display's language string. This string is influenced by XtSetLanguageProc. The default string is determined by calling set- locale(LC_ALL, NULL). %l_%t The language and territory component of the display's language string %l The language component of the display's language string The contents of the file must conform to the rules for X11 bitmap files. In other words, Motif can read any X11 conformant bitmap file. RETURN
Returns a pixmap when successful; returns XmUNSPECIFIED_PIXMAP if the image corresponding to image_name cannot be found. RELATED
XmDestroyPixmap(3), XmGetPixmapByDepth(3), XmInstallImage(3), and XmUninstallImage(3). XmGetPixmap(library call)
All times are GMT -4. The time now is 11:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy