8 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
The below is my script.
/usr/bin/expect<<EOD
spawn /usr/bin/sftp -o Port=$PORT $USER@$HOST
expect "sftp>"
expect "password:"
set timout 15
send "$password\r"
expect "sftp>"
send "lcd $remotedir\r"
expect "sftp>"
... (1 Reply)
Discussion started by: Anilsaggu9
1 Replies
2. AIX
Hello,
One of my colleagues is working on a p730 without HMC, only one LPAR has all resources.
The server is showing some issues with Informix (10.00 & 11.50), the same config (OS & IFX) works perfectly on Power6 so I would like to ask him to change the processor compatibility mode to power6 on... (3 Replies)
Discussion started by: fapl
3 Replies
3. AIX
Hi,
IBM documentation says the CPU Compatibility Mopde can be changed from th HMC in LPAR properties, but i have no option to change it there, it is only displayed. Anyone?
Regards, firefox111 (6 Replies)
Discussion started by: firefox111
6 Replies
4. Shell Programming and Scripting
Hi,
I came across a post wherein you can use "set -r"(on bash) to activate restricted mode ( wherein you cant run some commands such as cd etc).
Can anyone guide if we have anything similar in ksh ?
Thanks (2 Replies)
Discussion started by: Shivdatta
2 Replies
5. SCO
I am very new to SCO Unix so I apologize if this is a easy or dumb question.
I have a 160GB SATA hard drive and SATA CD-ROM drive connected to one of my systems. I have both the drives running in compatibility mode. I also have the hard drive set as a primary master and the CD-ROM drive set as... (10 Replies)
Discussion started by: NPIGuy
10 Replies
6. Red Hat
On a test server running CentOS 6, I try to permanently set the owner, group and mode of disk devices for use with a DB2 database. For this I created an udev rule file /etc/udev/rules.d/99-db2.rules:
KERNEL=="sdb*", OWNER="db2usrl1", GROUP="db2adml1", MODE="0600"
After a reboot, the owner and... (4 Replies)
Discussion started by: hergp
4 Replies
7. Linux
Hi all
I want to compile a source gt_util.c into a lo file,
I use
libtool gcc -g -O -c gt_util.c -I./include
but it prompts me :
cannot determin name of library object from 'include'
how should I use the tool to compile a source to .lo file?
Thanks. (0 Replies)
Discussion started by: steven_TTG
0 Replies
8. UNIX for Dummies Questions & Answers
I have a directory. To this directory, for Group bits combination, it is showing as 's'. Which I found out, it means "Set User ID on execution mode". Within this directory I am not able to create subfolder.
Does it mean, only the Owner of this directory will be able to create subdirectories &... (5 Replies)
Discussion started by: videsh77
5 Replies
ppmtosixel(1) General Commands Manual ppmtosixel(1)
NAME
ppmtosixel - convert a portable pixmap into DEC sixel format
SYNOPSIS
ppmtosixel [-raw] [-margin] [ppmfile]
DESCRIPTION
Reads a portable pixmap as input. Produces sixel commands (SIX) as output. The output is formatted for color printing, e.g. for a DEC
LJ250 color inkjet printer.
If RGB values from the PPM file do not have maxval=100, the RGB values are rescaled. A printer control header and a color assignment table
begin the SIX file. Image data is written in a compressed format by default. A printer control footer ends the image file.
OPTIONS
-raw If specified, each pixel will be explicitly described in the image file. If -raw is not specified, output will default to com-
pressed format in which identical adjacent pixels are replaced by "repeat pixel" commands. A raw file is often an order of magni-
tude larger than a compressed file and prints much slower.
-margin
If -margin is not specified, the image will be start at the left margin (of the window, paper, or whatever). If -margin is speci-
fied, a 1.5 inch left margin will offset the image.
PRINTING
Generally, sixel files must reach the printer unfiltered. Use the lpr -x option or cat filename > /dev/tty0?.
BUGS
Upon rescaling, truncation of the least significant bits of RGB values may result in poor color conversion. If the original PPM maxval was
greater than 100, rescaling also reduces the image depth. While the actual RGB values from the ppm file are more or less retained, the
color palette of the LJ250 may not match the colors on your screen. This seems to be a printer limitation.
SEE ALSO
ppm(5)
AUTHOR
Copyright (C) 1991 by Rick Vinci.
26 April 1991 ppmtosixel(1)