11-09-2011
Perhaps if you said a bit more about your HPUX system and OS, I could start thinking a bit...
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am working on HP-Unix.
I have a 600 MB file in compressed form.
During decompression, when file size reaches
2GB, decompression aborts.
What should be done? (3 Replies)
Discussion started by: Nadeem Mistry
3 Replies
2. Solaris
Hi
I am using SUN/Solaris 9 and I was told that some unix versions have 2GB size limit.
Does this applies to SUN/Solaris 9?
Thanks. (2 Replies)
Discussion started by: GMMike
2 Replies
3. Solaris
I want to have a permanent file created - and limit the size that this file can grow.. I want a circular file..
ie max size of file is 10 mb.. and if any new data written to file the oldest data removed..
How can I do this?
I am on solaris 9 x86 (3 Replies)
Discussion started by: frustrated1
3 Replies
4. AIX
Can anybody help me?
How to increase file size limit in aix 5.2? I have already specified in /etc/security/limits file :
default:
fsize = -1
core = 2097151
cpu = -1
data = -1
rss = -1
stack = -1
nofiles = 2000 (2 Replies)
Discussion started by: vjm
2 Replies
5. UNIX for Advanced & Expert Users
Hi,
I have a problem writing or copying a file 2GB or larger to either the second or third disk on my C8000. I've searched this forum and found some good information on this but still nothing to solve the problem.
I'm running hpux 11i, JFS3.3 and disk version 4 (from fstyp) on all 3 disks.
... (2 Replies)
Discussion started by: HaidoodFaulkauf
2 Replies
6. Filesystems, Disks and Memory
Any idea how to get around this limit? I have a 42GB database backup file (.dmp) taking up disk space because neither tar nor cpio are able to put it onto a tape. I am on a SUN Solaris using SunOS 5.8. I would appreciate whatever help can be provided. Thanks! (9 Replies)
Discussion started by: SLKRR
9 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
We are running HP rp7400 box with hpux 11iv1.
Recently, we changed 3 kernel parameters
a) msgseg from 32560 to 32767
b) msgmnb from 65536 to 65535
c) msgssz from 128 to 256
Then we noticed that all application debug file size increase upto 2GB then it stops. So far we did not... (1 Reply)
Discussion started by: mhbd
1 Replies
8. UNIX for Advanced & Expert Users
hi,
how can I find out what the limit of a file size is on unix?
thanks (6 Replies)
Discussion started by: JamesByars
6 Replies
9. Shell Programming and Scripting
Hi All,
I want to store 32KB of file in Oracle DB into CLOB field. I am not able to insert more than 32KB of file into CLOB. So i want to put a limit on the file size. I am using k shell.
My file size will dynamically increase its size, i want to check the file size if it is more than 32KB... (1 Reply)
Discussion started by: rajeshorpu
1 Replies
10. Solaris
Hi,
Am trying to run zip -r on a 2.4G directory and it is failing with the error below. I believe this is because of the 2G limit of the zip program.
server101(oper01)/u01/temp$: date
Thu Mar 15 12:53:44 NZDT 2012
server101(oper01)/u01/temp$: ls -l
total 8
drwxr-x--x 4 oracle dba ... (1 Reply)
Discussion started by: newbie_01
1 Replies
LEARN ABOUT PLAN9
ex12bit
ex12bit(3alleg4) Allegro manual ex12bit(3alleg4)
NAME
ex12bit - How to fake a 12-bit truecolor mode on an 8-bit card. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
Example ex12bit
DESCRIPTION
This program sets up a 12-bit mode on any 8-bit card, by setting up a 256-colour palette that will fool the eye into grouping two 8-bit
pixels into one 12-bit pixel. In order to do this, you make your 256-colour palette with all the combinations of blue and green, assuming
green ranges from 0-15 and blue from 0-14. This takes up 16x15=240 colours. This leaves 16 colours to use as red (red ranges from 0-15).
Then you put your green/blue in one pixel, and your red in the pixel next to it. The eye gets fooled into thinking it's all one pixel.
The example starts setting a normal 256 color mode, and construct a special palette for it. But then comes the trick: you need to write to
a set of two adjacent pixels to form a single 12 bit dot. Two eight bit pixels is the same as one 16 bit pixel, so after setting the video
mode you need to hack the screen bitmap about, halving the width and changing it to use the 16 bit drawing code. Then, once you have packed
a color into the correct format (using the makecol12() function below), any of the normal Allegro drawing functions can be used with this
12 bit display!
Things to note:
The horizontal width is halved, so you get resolutions like 320x480, 400x600, and 512x768.
Because each dot is spread over two actual pixels, the display will be darker than in a normal video mode.
Any bitmap data will obviously need converting to the correct 12 bit format: regular 15 or 16 bit images won't display correctly...
Although this works like a truecolor mode, it is actually using a 256 color palette, so palette fades are still possible!
This code only works in linear screen modes (don't try Mode-X).
SEE ALSO
BITMAP(3alleg4), END_OF_MAIN(3alleg4), MATRIX(3alleg4), PALETTE(3alleg4), RGB(3alleg4), allegro_error(3alleg4), allegro_init(3alleg4),
allegro_message(3alleg4), apply_matrix(3alleg4), blit(3alleg4), circle(3alleg4), clear_bitmap(3alleg4), clear_keybuf(3alleg4),
clear_to_color(3alleg4), create_bitmap(3alleg4), create_bitmap_ex(3alleg4), destroy_bitmap(3alleg4), ellipsefill(3alleg4),
fade_out(3alleg4), fixcos(3alleg4), fixed(3alleg4), fixsin(3alleg4), fixtoi(3alleg4), font(3alleg4), get_rotation_matrix(3alleg4), get-
pixel(3alleg4), install_keyboard(3alleg4), itofix(3alleg4), keypressed(3alleg4), line(3alleg4), makecol(3alleg4), masked_blit(3alleg4),
putpixel(3alleg4), screen(3alleg4), set_clip_rect(3alleg4), set_color(3alleg4), set_gfx_mode(3alleg4), set_palette(3alleg4),
text_height(3alleg4), text_length(3alleg4), textout_ex(3alleg4), textprintf_ex(3alleg4)
Allegro version 4.4.2 ex12bit(3alleg4)