Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!husc6!rutgers!sri-spam!ames!ucbcad!ucbvax!s.cc.purdue.edu!doc From: doc@s.cc.purdue.edu (Craig Norborg) Newsgroups: comp.binaries.amiga Subject: placewindow (uuencoded binaries) Message-ID: <330@s.cc.purdue.edu> Date: Mon, 22-Jun-87 03:00:32 EDT Article-I.D.: s.330 Posted: Mon Jun 22 03:00:32 1987 Date-Received: Sat, 27-Jun-87 07:06:11 EDT Reply-To: doc@s.cc.purdue.edu (Craig Norborg) Distribution: world Organization: Purdue University Computing Center Lines: 291 Approved: doc@j.cc.purdue.edu Here are the binaries for placewindow as compiled with AZTEC C. Sources may be found in comp.sources.amiga. # This is a shell archive. # Remove everything above and including the cut line. # Then run the rest of the file through sh. #----cut here-----cut here-----cut here-----cut here----# #!/bin/sh # shar: Shell Archiver # Run the following text with /bin/sh to create: # ReadMe # placewindow.uu # This archive created: Mon Jun 22 02:00:10 1987 # By: Craig Norborg (Purdue University Computing Center) cat << \SHAR_EOF > ReadMe /* * placewindow - starts a program, and make the window look like you want it * to, not like the person who wrote the program wants it to. * * Copyright (c) 1987, Mike Meyer * This program can be redistributed freely, under two conditions: * 1) The source must be part of the distribution. * 2) This copyright notice must stay attached to the source. * * usage: placewindow windowname geometry [ command ] * * windowname is a proper prefix of the title for the window * that we're going to change. * * geometry describes where the window should be, and how it should * look. This is an enhanced version of the con: syntax for * specifying where a window should go. The full spec is * X/Y/W/H/e. Postive X (Y) specifies the offset from the * left (top) edge of the screen to the left (top) edge of * the window. Negative X (Y) specifes the offset from the * right (bottom) edge of the screen to the right (bottom) * edge of the window. W and H are the width and height of * the window, respectively. Zero values for those means to * make the window as long as possible in that direction. * Obviously, you can't specify -X and 0 W, or -Y and 0 H. * The "e", if present, means that the maximum sizes for the * window should be set to -1 (any value you can mouse to). * Nearly any piece of this can be left off. If the value is * not specified (i.e., you didn't put in enough geometry to * reach it) then it is left unmodified. If you actually put * in the gemoetry specification, but don't put in a number * (i.e. "////") then the missing values are treated as zero. * * Simple examples: "////", "////e" and "-////" all specify * max-sized windows. The "e" makes the max-sized window the * screen size, and makes the window that big. "-" positions the * window against the right edge of the screen if it's smaller * than the screen. '10////', '10////', '10////e' and '10////e' * all specify windows that are max-height, and stretch as far * as they can from 10 pixels to the right of the left edge of * the screen. The two with the "e" make the max-size window * the screen size. The first two are synonyms, as are the * last two. '10//100e' will be a window that start 10 pixels * to the right of the left edge of the screen, is 100 pixels * wide, and stretches from the top to the bottom of the * screen. '10/10//100e' will be a window with it's upper left * corner at 10, 10, is 100 pixels high, and stretches from * the left to the right edge of the screen. '10/10/100/100e' * and '10/10/100/100/e' both describe a 100 by 100 window with * it's upper left corner at 10, 10 that has had it's maximum * window sizes changed to the screen sizes. For leaving things * off, '3/10' and '3/10e' would be a window the same size as * the default, at location 3, 10. Note that '///' and '///e' are * windows at 0, 0 with max-size X, and Y left alone, but '////' * and '////e' are full-screen windows. Finally, a lone "e" will * leave the window alone, but change it's maximum size but * otherwise leave it alone. * * command consists of all following arguments, and is a command to be * executed before we try resizing the window. If command is * given, we'll try to find the window at 1-second intervals * one minute (roughly), so that command can create the window. * If command isn't specified, we just look for the window * once. * * Warning: Negative W and H values in the geometry aren't supported, * and I ain't going to say what happens if you use them. * Sanity checks are done on the size/position. Rather than * abort and have you try again, it trys to do something * sane. Improvements on this code are welcome. */ SHAR_EOF cat << \SHAR_EOF > placewindow.uu begin 41 placewindow M #\P # ( ;L E !4 /I &[$[Z"&Y. M5?_@2.<_, RM P (;"8@;0 ,+Q!(>@:T2'D # 3KD @@3^\ #$AX M &1.N0 & 983PRM P (9@9X 6 29Z ' #. !(P& <, 1(P.6 (&T M#"\P" !.N0 $EY83U* VD!21# $2,"PK0 (;=HP!4C 6( O $ZY 5Z%A/ M*T#_X&8L, 5(P"\ (&T #"\02'H&84AY P$ZY (($_O !!(> $L3KD M !@&6$](>@9;+RW_X$ZY ,Y%!/("W_X%B *T#__' #. !(P& Z,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P @!$ZY 9N"0? MU( H IB\ ,! 22(!(P$'Y $P@P (( &;*2H5G!B $1(!@ B $3-\$ M/$Y=3G5.50 2.

@ 43KD Y*3^\ #$S? M Q.74YU3E4 $CG, O.0 O+0 (3KD !)P4$],WP ,3EU.=6%\0_D M )01?D M0 ! P.0 DS!_ &+P!.N0 &IY03R/ %&880J=(>0 ! !. MN0 &G!03RYY "$YU('D 40F@ !"!Y %#%\ $ $")Y %#-\ M $ "B!Y "" Y ")"H 10@"/ &"!Y &""\34%.6$*G3KD M !JN6$\D0$JJ *QG."\M PO+0 (+PI.N0 "H)/[P ,(_P ! '"!Y M % !H@ !"!Y % !H@ "F!82&H 7$ZY ;'%A/2&H 7$ZY : MV%A/(\ @('D @2J@ )&<4('D @(F@ )"\13KD !GJ6$\O.0 M " O"DZY ,]%!/(_D @ )$ZY :)"!Y %"" 3KD !I6('D M 4(4 !F<:2'@#[4AZ #I.N0 &D903R!Y %"% PO.0 "0O.0 M "A.N0 103T*G3KD !@&6$],WP0,3EU.=2H 3E4 $CG/# D;0 0(&T M"" H *SE@"@ ($0@* 0Y8 F0! 32(!(P-"M Q4@"/ +$*G+SD L M3KD !J>4$\CP #!F"$S?##Q.74YU$!-(@$C +P @2U*(+P@O.0 #!. MN0 #&A/[P ,2'H!6 ('D D(8L( "\+3KD !)>6$]2@-? 4H6ZN0 "AM MVB %Y8 @>0 "1"L @ 8 #^:B 3.\# $( @B+P ,8 (0V5?)__QG!E)! M8 )"&%')__Q.=3 \?_]@!# O X@;P $2AAF_%-((F\ "%- $-E7R/_\9P)" M$" O 1.=3 \?_]@!# O Y30&L4(&\ !")O BQ"68,4TA*&%?(__9P $YU M8P1P 4YU@!]($0O* V3KD !LJ4$\F0$J 9SA(> /M+PM.N0 &D903RP 9R8@ M!N6 *@ @125H @ I"5& )Q(> /M2'H 1$ZY :1E!/)4 H"\$3KD !LZ M6$\O.0 %!.N0 &HI83T*Y 4& _W!I8V]N+FQI8G)AR58!G /]L5X!G /]P8,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;P $+'D !0 M3N[_IB!O 0L>0 %!.[O^R+'D !,("\ !$[N_F(@;P $3.\ P (+'D M !,3N[_6"!O 1,[P # @L>0 $Q.[O[@+'D !,(&\ !$[N_EP@;P $ M3.\ #P (+'D !,3N[^P@ #[ !H ! (@ *0 %4 ! MV@ DH *F "_ U8 .2 $7@ " AT (\ "08 X: M /* #Y8 !,. 3) %,8 !3: 6=@ %R( !A: 89@ &7P M !N "@ V 9@ (8 "J N ,@ $T !6@ M 6@ '& "-@ I( +H #7 VH -X #F Z8 .V # MP@ _X 0L $/ !&0 1T $@ !*( 9L &G@ !JP :Z M &Q !^@ @^ (8@ "-H D2 )*@ "8( F< )S@ "=H M H *$ "B( HP *2@ "F@ IR *P "NP L( +' M# P Q -" #2P U" -5@ #7P V* -F #A0 XL / M"@ #W@ !! 2A $JX !-V 3C $Z !.L 4# %$P !1T M 5#@ %5( !6" 5N@ %D@ !9B 6I %K0 !;4 6X %P8 M !<0 7: %WP !>> 7Q %]X !?F 7] &"0 !A0 8> M&)X !BT 8R@ &0X !DH 9,@ &3X !EJ 9K &HP !KH M>0 ( . #S@ !&X :T (+ "%@ AZ (D@ ")P C& M )&@ "3( DZ )1 "5 E< )8@ "6X ET )J@ "; M F\ )X@ ">@ GT *" "A@ H< ** "C8 I2 *7 M"F( JR *N@ "L@ KF + "Q8 LF ++ "_( P , M% #!P PH ,- #$X Q: -$ #9( V@ 3U@ %6X !60 M 5J@ %=( !7> 6# %C@ !9J 6C@ %JH !;F 7& %S8 M !=4 7@@ %[ !@0 8& &$( !AR 8@ &(@ !B0 8F M&*8 !BN 8O &,0 !CR 8^@ &0( !D( 9%@ &2( !DX 9 M2@ &7( !F0 9X@ &? !G^ :# &AP !HF :, &CX !I. M :6 &F@ !I\ :E@ &J8 !JT :O@ &M !K> :[@ &P0 M !L4 ;(@ &S( !M ;3@ &U@ !MP ;A &XX !NF M _( /J E# Q,C,T-38W.#EA8F-D968 @(" @(" @(" P,# P," @ M(" @(" @(" @(" @(" @()! 0$! 0$! 0$! 0$! 0$ ,# P,# P,# P,0$! M0$! 0 D)"0D)"0$! 0$! 0$! 0$! 0$! 0$! 0$!0$! 0$! "@H*"@H* @(" M @(" @(" @(" @(" @(" @) 0$! ( ! $ M 0$ ! $" 0 M M M M M M M M A 4 /R #ZP !4 /R end SHAR_EOF # End of shell archive exit 0