12-10-2008
Tony, this helps a lot. Did you mean that the free calculation is 307 x 128 instead of 307 x 1092? Thank you kindly.
- David
Last edited by dkranes; 12-10-2008 at 11:14 AM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
I'm trying to install gcc and the installation program tells me that I'm out of disk space! I have just installed the os (using the default settings for partitions and sizes) and have only installed apache on the machine. Can it really be out of disk space already?
How do I check how much... (4 Replies)
Discussion started by: alfabetman
4 Replies
2. UNIX for Dummies Questions & Answers
Hello,
Can someone please tell me which command to use to determine the available disk space on a given disk device?
I have to write a shell script that compresses files and stores them in a specific location but I am not sure how "conservative" I should be?
Thanks in advance!
Al. (4 Replies)
Discussion started by: alan
4 Replies
3. UNIX for Dummies Questions & Answers
how can we determine the disk space
used by a certain directory? (1 Reply)
Discussion started by: gfhgfnhhn
1 Replies
4. HP-UX
Hi
is there a cmd in hpux 11 to determine the physical size of the hard disk.
not bdf command.
i have searched the other threads here but cant find an answer.
thank you guys (4 Replies)
Discussion started by: hoffies
4 Replies
5. UNIX for Dummies Questions & Answers
Hi,
Is there a command to determine how much space is available / used on a client machine ?.
Thanks (6 Replies)
Discussion started by: decamposem
6 Replies
6. Filesystems, Disks and Memory
Hello All-
Am new member to this forum. Have some unix experience. But true believer in it compared to windows.
Have a question regarding the disk space.
I know a command to check the total disk space utilization using:
df -k .
but what is the command to check the same disk space by... (6 Replies)
Discussion started by: milkyway
6 Replies
7. AIX
Hi
I need to extend a FS in AIX but Im not sure on how to calculate the free space
Please advise if my math is correct:
-------PP SIZE: 64 megabyte(s)
--------TOTAL PPs: 1086 (69504 megabytes)
so the total size of volume is 64 * 1086 = 69504 MB (695GB)
Free PP is-- FREE... (4 Replies)
Discussion started by: hedkandi
4 Replies
8. Shell Programming and Scripting
Hi,
I am new to shell scripting, and want to monitor disk space using shell script continously on server, which will shoot mail after crossing threshold limit
Please suggest.
Regards
Manoj (1 Reply)
Discussion started by: manoj.solaris
1 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I have this :
uname -a
Linux servername 2.6.18-194.11.3.el5PAE #1 SMP Mon Aug 23 15:57:10 EDT 2010 i686 i686 i386 GNU/Linux
df -k
Sys. de fich. 1K-blocs Occupied Disponible Capacity Monted on
/u01/applis 10321208 3190160 6606760 33% /applis
Does it mean... (1 Reply)
Discussion started by: big123456
1 Replies
10. Solaris
Version: Solaris 10 (August 2011) on VM
I am kind of new to Solaris.From VM workstation i allocated 35 GB to this Solaris VM's Disk
The disk was named
c1t0d0
Few basic slices for root(8gb), swap(517mb) and /export/home(494mb) were created by the solaris Installer during the... (18 Replies)
Discussion started by: polavan
18 Replies
LEARN ABOUT CENTOS
create_trans_table
create_trans_table(3alleg4) Allegro manual create_trans_table(3alleg4)
NAME
create_trans_table - Fills a color mapping table for translucency effects. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
void create_trans_table(COLOR_MAP *table, const PALETTE pal, int r, g, b, void (*callback)(int pos));
DESCRIPTION
Fills the specified color mapping table with lookup data for doing translucency effects with the specified palette. When combining the col-
ors c1 and c2 with this table, the result will be a color somewhere between the two. The r, g, and b parameters specify the solidity of
each color component, ranging from 0 (totally transparent) to 255 (totally solid). For 50% solidity, pass 128.
This function treats source color #0 as a special case, leaving the destination unchanged whenever a zero source pixel is encountered, so
that masked sprites will draw correctly. This function will take advantage of the global rgb_map variable to speed up color conversions. If
the callback function is not NULL, it will be called 256 times during the calculation, allowing you to display a progress indicator. Exam-
ple:
COLOR_MAP trans_table;
...
/* Build a color lookup table for translucent drawing. */
create_trans_table(&trans_table, pal, 128, 128, 128, NULL);
SEE ALSO
color_map(3alleg4), create_light_table(3alleg4), create_color_table(3alleg4), create_blender_table(3alleg4), draw_trans_sprite(3alleg4),
draw_lit_sprite(3alleg4), draw_gouraud_sprite(3alleg4), rgb_map(3alleg4), ex3d(3alleg4), extrans(3alleg4)
Allegro version 4.4.2 create_trans_table(3alleg4)