01-16-2006
You'll also need to install a terminal emulator on the user workstations, such as Termlite, Anzio, AlphaCom, etc.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
When I create filesystems in AIX i often get confused(using smit)
When you specify size in aix, it is asked like this
SIZE of file system (in 512-byte blocks)
I never seem to grasp this, what is the equation to get say
500mb? Or is there a program anyone knows of that does this, like a... (1 Reply)
Discussion started by: csaunders
1 Replies
2. UNIX for Dummies Questions & Answers
Hello,
I transferred some .txt files from windows to Unix. When i used the editor in Unix to open up the file, all the <cr> show up. How to I get rid of all of them? (4 Replies)
Discussion started by: laila63
4 Replies
3. Shell Programming and Scripting
I want to convert string into uppercase string. How can i do that ? Ex: Enter the user name:
read name
show=upper(name)
echo $show --- This output should be the uppercase output.
Thanks (3 Replies)
Discussion started by: dreams5617
3 Replies
4. Shell Programming and Scripting
Hi - I have seen some similar posts but I am a bit stumped here
below is the first line of a 'od -c filename' command. I want to change the \0 to \n
0000000 l s \0 c d - \0 c d . . \0 l s
I have tried a sed construct in a script.........
sed... (2 Replies)
Discussion started by: ajcannon
2 Replies
5. Shell Programming and Scripting
Hi all,
I have never written a script so I guess you could say I am very yellow.:) However, I could use some help.... I need to write a Korn Shell Script that converts coins. Meaning if I print or echo "Please enter amount:" and the user puts in 3.87, I need to know the least amount of coins... (11 Replies)
Discussion started by: tzeman
11 Replies
6. SCO
Hi everybody
Is there any sco unix command to convert .so library to .a
(under sco unix openserver.5.0.6)
tnx (2 Replies)
Discussion started by: javad1_maroofi
2 Replies
7. UNIX for Advanced & Expert Users
I have a file that ends with a ctlU:
> cat -v test.file
blah,blah,blah,GEAEA*1*xx0000111xxx^UIEA*xxx0^U
would like to replace the ctlU (^U) with a "\12"...due to printers or something.
I believe I might be able to utilize the tr command, if I could only identify the correct... (4 Replies)
Discussion started by: mr_manny
4 Replies
8. Solaris
So i have been asked to write a script for a friend who has a server running solaris 11. My problem is the correct syntax i can't seem to get it work with the follow code, i have read through the date man page and found no work around
Below is the code for part of the rsync script.
The code i... (2 Replies)
Discussion started by: paperghost
2 Replies
9. Shell Programming and Scripting
I have a set of values separated by a tab
ch:12 1 3 4
ch:13 3 3 4
ch:25 1 8
ch:23 2 8 1
There is a missing value in the third column and i would like replace it with
NA such that the final output would look like
ch:12 1 3 ... (7 Replies)
Discussion started by: johnkim0806
7 Replies
10. Shell Programming and Scripting
I have Excel file with the below three columns, i need your expertise in converting this to .csv file delimiter "|"
Excel -
Serial Number Serial Name Serial Brand
111 test sample
123 test2 sample1
134 ... (9 Replies)
Discussion started by: kiran_hp
9 Replies
LEARN ABOUT OPENDARWIN
makecol8
makecol8(3alleg4) Allegro manual makecol8(3alleg4)
NAME
makecol8, makecol15, makecol16, makecol24, makecol32 - Converts an RGB value into a display dependent pixel format. Allegro game program-
ming library.
SYNOPSIS
#include <allegro.h>
int makecol8(int r, int g, int b);
int makecol15(int r, int g, int b);
int makecol16(int r, int g, int b);
int makecol24(int r, int g, int b);
int makecol32(int r, int g, int b);
DESCRIPTION
These functions convert colors from a hardware independent form (red, green, and blue values ranging 0-255) into various display dependent
pixel formats. Converting to 15, 16, 24, or 32-bit formats only takes a few shifts, so it is fairly efficient. Converting to an 8-bit color
involves searching the palette to find the closest match, which is quite slow unless you have set up an RGB mapping table (see below).
Example:
/* 16 bit color version of green. */
int green_color = makecol16(0, 255, 0);
RETURN VALUE
Returns the requested RGB triplet in the specified color depth.
SEE ALSO
makeacol32(3alleg4), makecol(3alleg4), makecol_depth(3alleg4), makecol15_dither(3alleg4), rgb_map(3alleg4), bestfit_color(3alleg4),
set_color_depth(3alleg4), exrgbhsv(3alleg4)
Allegro version 4.4.2 makecol8(3alleg4)