hey everyone!
i have a Solaris 8 box with me, and i had been using my usb thrumbdrive on it all the time. one day, i was in a rush and i pulled out the thumbdrive without ejecting it or anything. and now i can't detect any thumbdrives at all. i had tried using another thumbdrive, but with no... (2 Replies)
the root shell has been changed in the file /etc/passwd, basically pointing to an incorrect directory. So now every time we login as 'su' I get the message
'su: no shell' so we can't login as superuser.
Is there an easy way to rectify this? please use step by step instructions/commands -
I... (4 Replies)
Hello,
first of all, I want to make myself clear about my language. I'm brazilian, so I ask you all to understand if i commit any mistake with the grammar.
Here is the problem.
Some days ago I needed to use a "sh" command in the Terminal (I use a Mac OSX 10.5.6) followed by a file... (0 Replies)
I've screwed something up in my sshd_config apparently, because I can't ssh with root anymore.
I had disabled root login for security reasons, but then my ssh credentials with full administrative privelges stopped working. So then I reenabled root login (and reset ssh), but root now isn't... (3 Replies)
Hello,
I have a big problem and no idea how to solve it.
I was looking up commands in /bin with 'man' as I found 'sh'.
In mistake I started the command.
Now after that I can not input the character 's' in shell anymore!
Even after restarting system the problem is still there.
Mysterious... (7 Replies)
Hi Folks,
My telnet access to the server is not available anymore. I have found that when I execute >telnet IP, the login prompt for username/password entry is not displayed. Cursor blinks in a empty line and I dont see the prompt to enter my username.
It hungs in this state and not possible... (1 Reply)
Nice eye catching title huh ;)
I got laid off along with 55000 others from HP worldwide have been expecting this for some time and now it's finally my turn. Most of the folks I know get laid off at around this age of 40+ so do take note.
Ideas that ran thru my head this last few weeks:... (16 Replies)
My current Fedora version is 27. Desktop environment is LXDE. I am trying to view files sitting on my smartphone (Sony Xperia XA ultra) but it doesn't work anymore. This used to work before. I cannot view image and mp3 files but text files and pdf files work fine. When I move the files to the local... (3 Replies)
Discussion started by: milhan
3 Replies
LEARN ABOUT DEBIAN
pnmtov
pnmtov(1Vi)pnmtov(1Vi)NAME
pnmtov - convert portable anymap (PNM) image to Vista data file
SYNOPSIS
pnmtov [-option ...] [infile] [outfile]
DESCRIPTION
pnmtov converts an image from a portable anymap (PNM) file to a Vista data file. The following types of portable anymap may be converted:
o Portable bitmap (PBM) and its ``rawbits'' variant. A PBM image is converted to a single-band Vista image with bit pixels. Pixel values
0 and 1 are swapped since, for PBM images, 0 denotes white and 1 denotes black.
o Portable graymap (PGM) and its ``rawbits'' variant. A PGM image is converted to a single-band Vista image with ubyte pixels. The full
range of PGM pixel values is mapped to [0,255] in the returned image.
o Portable pixmap (PPM) and its ``rawbits'' variant. A PPM image is converted to an RGB color image (nbands: 3, ncolors: 3, color_interp:
rgb) with ubyte pixels. The full range of PPM pixel values is mapped to [0,255] in the returned image.
A wide range of filters are available for converting other image formats to PNM.
COMMAND LINE OPTIONS
pnmtov accepts the following options:
-help Prints a message describing options.
-in infile Specifies the input file, which is a PBM, PGM, or PPM file.
-out outfile Specifies the output file, which will be a Vista data file.
-name name Specifies the name to be given the converted image. Default: ``image''.
Input and output files can be specified on the command line or allowed to default to the standard input and output streams.
SEE ALSO VImage(3Vi), Vfile(5Vi), Vista(7Vi),
pnm(5), pbm(5), pgm(5), ppm(5)AUTHOR
Daniel Ko <ko@cs.ubc.ca>
Vista Version 1.12 3 March 1994 pnmtov(1Vi)