04-22-2007
Quote:
You are susposed to check the return code from a system call
Thanks for pointing that out by the way. I had wondered the reason for all the if(systemcall(...) ) in my book. Thought they were kinda overkill but when I kept getting -1 from it that prompted me to check for the testDir and I found it in ~/
10 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
Hello, i,ve installed suse with kde 3.0, I had never used an X for unix before. So I don't know much.
Most things were easy to find, but what anoyes me a lot is that the desktop is larger than mij monitor, so I have to move my mouse to see the rest of the desktop.
I've tried to set the... (1 Reply)
Discussion started by: counTnegaTive
1 Replies
2. UNIX for Dummies Questions & Answers
I have my shinny new SunFire 280 server with a fresh copy of Solaris 8 installed. I installed the options CD which includes KDE. I can't seem to get it to work. (This is what happens when management gives a Unix box to an x86 Network Admin and says "Figure it out" ) I have played with Mandrake and... (1 Reply)
Discussion started by: RandySmith23
1 Replies
3. What is on Your Mind?
I was kinda bored one day, so I renamed my files in KDE. Here are some examples:
1) I renamed my Hard Drive "Komputer"
2) I renamed my Trashcan to "Krap Bin"
I'm kinda stuck on those two and I would like some suggestions on other file names. Please help a bored luser! ^_^ (1 Reply)
Discussion started by: gnerd
1 Replies
4. UNIX for Advanced & Expert Users
We are using software (Pegasys) which runs on SunOS 5.8 and reads images from a Philips nuclear camera. The software is designed to run from the console. I need to be able to capture the images it produces on the display. The caveat is that I cannot use the X Windows display because the X Server... (3 Replies)
Discussion started by: sreyes27
3 Replies
5. UNIX for Dummies Questions & Answers
I want to install KDE on my Solaris PC , I downloaded solaris companion CD and question is there KDE available to install because I want that all my households work on one stable PC , but one condition is they must have K3B for burning files , and some GUI torrent program for downloading like Vuze... (2 Replies)
Discussion started by: solaris_user
2 Replies
6. Shell Programming and Scripting
hi,
how to access console of a switch having rj45 on switch side to db 9 female on pc side console cable which needs to be connected to one console server having rj11 on its side and db 9 female on other end.i.e. on switch side,console cable has rj45 and db 9 pin female connector on other side of... (1 Reply)
Discussion started by: pankajd
1 Replies
7. UNIX for Dummies Questions & Answers
:confused:Hi
This was installed on the Linux box a few weeks back by a guy that no longer works for us. All worked fine until last week. Now when we connect its just a blank screen with no icons.
I get a whole bunch of errors when starting the service too:
Tue Feb 23 14:29:45 2010
... (1 Reply)
Discussion started by: wbdevilliers
1 Replies
8. AIX
Server, running AIX 6.1 developed strange problem when logging in via SSH -- ssh client hangs without any error.
It is possible to run commands on server, using ssh ("ssh servername ls -l" is OK)
It is possible to log in normally, using serial console connected to server.
It was possible to... (2 Replies)
Discussion started by: ivar.zarans
2 Replies
9. Solaris
Well, my first post... thanks in advance! Can applications be notified of the X Window close (with "X" button) so the signal handler can run a cleanup process method?
About the app: built with GNU C/C++ on Solaris 10, with WxWidgets. It is launched by a shell script as a background task. The... (2 Replies)
Discussion started by: HandsOGold
2 Replies
10. UNIX for Dummies Questions & Answers
Hi Gurus,
Can some one explain me the difference between a IP console and a serial console. (1 Reply)
Discussion started by: rama krishna
1 Replies
LEARN ABOUT ULTRIX
ppmtopgm
ppmtopgm(1) General Commands Manual ppmtopgm(1)
NAME
ppmtopgm - convert a portable pixmap into a portable graymap
SYNOPSIS
ppmtopgm [ppmfile]
DESCRIPTION
Reads a portable pixmap as input. Produces a portable graymap as output. The output is a "black and white" rendering of the original
image, as in a black and white photograph. The quantization formula used is .299 r + .587 g + .114 b.
Note that although there is a pgmtoppm program, it is not necessary for simple conversions from pgm to ppm , because any ppm program can
read pgm (and pbm ) files automatically. pgmtoppm is for colorizing a pgm file. Also, see ppmtorgb3 for a different way of converting
color to gray. And ppmdist generates a grayscale image from a color image, but in a way that makes it easy to differentiate the original
colors, not necessarily a way that looks like a black and white photograph.
QUOTE
Cold-hearted orb that rules the night
Removes the colors from our sight
Red is gray, and yellow white
But we decide which is right
And which is a quantization error.
SEE ALSO
pgmtoppm(1),ppmtorgb3(1),rgb3toppm(1),ppmdist(1),ppm(5),pgm(5)
AUTHOR
Copyright (C) 1989 by Jef Poskanzer.
10 April 2000 ppmtopgm(1)