Hey guys,
Any chance of getting a thread under 'Special Interest Topics' for Interix/SFU? This has to be one of the most poorly documented pieces of software floating around and it works great for interoperability of windows systems with the rest of your unix/linux network rather than having to... (3 Replies)
Just installed SFU in my PC running under Windows XP Pro. Could someone tell us how to change directory and to its subdirectories either by Korn Shell or C Shell?
I tried, cd f:\ or chdir f:\ but it didn't work. (1 Reply)
I'm trying to ftp a file from Solaris to Windows XP Pro using SFU and the command that I used is as follows:
ftp -n “host” << cmd
user “loginname” “password”
cd Directory
ls filename error
bye
cmd
If the filename does not exist, it shows the following output:
Output to local-file:... (2 Replies)
hi guys
i am trying using this awk command which works perfectly on unix
awk '$1>=dt' dt="2007-12-03" filename
but when i run same command for same file under SFU it does nothing simply prints the file ( just like cat command ) i am not getting why ?
any way i used sed for same ( little... (5 Replies)
I am trying to port a UNIX POSIX compliant application to Windows using Windows Services For UNIX version 3.5. The application is written in C and therefore I need to compile it using the cc command.
I am running into many problems, but the one that specifically has me stuck right now is this.... (0 Replies)
I am new in UNIX so pardon me if I am asking this question. We are using SFU in Windows to have a Windows folder mounted over UNIX. While we can see the mount, everytime i cd on the mounted folder (e.g. cd CONFIG) I always get Permission denies error. Does anyone know why I cannot go inside the... (11 Replies)
Hi all
How can I use ps command on korn shell emulated by SFU on Windows Server ?
All others commands work fine, but this one I don't know :confused:
Many thanks
---------- Post updated at 11:28 AM ---------- Previous update was at 10:12 AM ----------
Ok, it works fine in fact, I'm... (0 Replies)
Hi all
I have a problem again under Korn Shell with SFU.
If I use sqlplus.exe like this :
$ sqlplus.exe "/ as sysdba"
SQL*Plus: Release 9.2.0.1.0
SQL> select value from v$parameter where name='user_dump_dest';
VALUE
-------------------------------------------------------------... (9 Replies)
Hi, I support a small lab of older HP UX 9 and 10 boxes. We have some older NT 4.0 machines at each UX box, with a old ZFS Server programs hosting two mounted directories. (Each UX and NT machine is on its own private network via crossover cable). Due to hardware failure/support EOL on NT, I have... (3 Replies)
Hi all,
i am currently setting my windows XP environment to use with Services for Unix (NFS Client) to mount my unix file system as a network drive. However, though i could mount the unix file directory successful, but the folder is empty (which is not). Why is this so? i have imported my unix... (6 Replies)
Discussion started by: lchunleo
6 Replies
LEARN ABOUT X11R4
pamstretch
pamstretch(1) General Commands Manual pamstretch(1)NAME
pamstretch - scale up a PNM or PAM image by interpolating between pixels
SYNOPSIS
pamstretch [-xscale=X] [-yscale=Y]
[-blackedge] [-dropedge] N [infile]
You can use the minimum unique abbreviation of the options. You can use two hyphens instead of one. You can separate an option name from
its value with white space instead of an equals sign.
DESCRIPTION
pamstretch scales up pictures by integer values, either vertically, horizontally, or both. pamstretch differs from pnmscale and pnmenlarge
in that when it inserts the additional rows and columns, instead of making the new row or column a copy of its neighbor, pamstretch makes
the new row or column an interpolation between its neighbors. In some images, this produces better looking output.
To scale up to non-integer pixel sizes, e.g. 2.5, try pamstretch-gen(1) instead.
Options let you select alternative methods of dealing with the right/bottom edges of the picture. Since the interpolation is done between
the top-left corners of the scaled-up pixels, it's not obvious what to do with the right/bottom edges. The default behaviour is to scale
those up without interpolation (more precisely, the right edge is only interpolated vertically, and the bottom edge is only interpolated
horizontally), but there are two other possibilities, selected by the blackedge and dropedge options.
PARAMETERS
The N parameter is the scale factor. It is valid only if you don't specify -xscale or -yscale. In that case, pamstretch scales in both
dimensions and by the scale factor N.
OPTIONS -xscale=X
This is the horizontal scale factor. If you don't specify this, but do specify a vertical scale factor, the horizontal scale factor
is 1.
-yscale=Y
This is the vertical scale factor. If you don't specify this, but do specify a horizontal scale factor, the vertical scale factor
is 1.
-blackedge
interpolate to black at right/bottom edges.
-dropedge
drop one (source) pixel at right/bottom edges. This is arguably more logical than the default behaviour, but it means producing out-
put which is a slightly odd size.
BUGS
Usually produces fairly ugly output for PBMs. For most PBM input you'll probably want to reduce the `noise' first using something like
pnmnlfilt(1).
SEE ALSO pamstretch-gen(1), pnmenlarge(1), pnmscale(1), pnmnlfilt(1)AUTHOR
Russell Marks (russell.marks@ntlworld.com).
11 November 2001 pamstretch(1)