Path: utzoo!dciem!nrcaer!scs!spl1!laidbak!att!pacbell!ames!husc6!purdue!i.cc.purdue.edu!j.cc.purdue.edu!ain From: ain@j.cc.purdue.edu (Patrick White) Newsgroups: comp.binaries.amiga Subject: snipit (binaries) Message-ID: <7196@j.cc.purdue.edu> Date: 4 Jun 88 23:00:12 GMT Article-I.D.: j.7196 Organization: PUCC Land, USA Lines: 220 Approved: ain@j.cc.purdue.edu (Patrick White) Submitted by: scott@applix (Scott Evernden) Summary: Snip text from one window and paste it to another. Poster Boy: Patrick White (ain@j.cc.purdue.edu) Archive Name: binaries/amiga/volume6/snipit.b.sh.Z Tested. NOTES: I converted this to a shar from the are that was sent. The previous version of snipit we posted was broken in a subtle way -- it would work depending on what one did in their startup-sequence. This version has been fixed in that respect. . -- Pat White (co-moderator comp.sources/binaries.amiga) ARPA/UUCP: j.cc.purdue.edu!ain BITNET: PATWHITE@PURCCVM PHONE: (317) 743-8421 U.S. Mail: 320 Brown St. apt. 406, West Lafayette, IN 47906 [How do you get to heaven? Go to Pluto and hang a left.] ======================================== [there was a bad version of snipit released -- this is a bit of mail exchange we had about what was wrong with the previous version and why some people (like us when we tested it) didn't notice. I've included this so everyone knows what the difference is.] >> Ok, I'l pass it along.. BTW, I'm curious what was wrong with version... >> I thought somebody tested it and it should have worked. So, I'm wondering >> what was wrong with it. > >The insidious thing about the bad version of SNIPIT is that it also >worked for me before I released it originally. It works for some, >and not for others. > >Why? > >The BAD version contained some really brain-dead code which made >inadvertent and foolish assumptions about values remaining on the >stack. A user's startup sequence and other prior activities could >influence this bad code, such that some people saw no problems while >others saw that the program didn't work or bombed. > >-scott # 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 # snipit.uu # This archive created: Fri Jun 3 10:27:06 1988 # By: Patrick White (PUCC Land, USA) echo shar: extracting readme '(307 characters)' cat << \SHAR_EOF > readme - SnipIt 1.0 - SnipIt is an input handler wedge which allows you to clip text from any console window, and then paste it into any other window. SnipIt is functionally the same as a similar facility offered under Sun(tm)'s Sunwindow's user interface. Shareware - Scott Evernden SHAR_EOF if test 307 -ne "`wc -c readme`" then echo shar: error transmitting readme '(should have been 307 characters)' fi echo shar: extracting snipit.uu '(8351 characters)' cat << \SHAR_EOF > snipit.uu begin 600 snipit M```#\P`````````#``````````(```6<``````!2'H`%$ZZ8 M$Q`O`$ZZ$Q9/[P`,3EU.=0H`3E7__$ZZ#-9.N@\&2JR`X&<8+RR`X#`L@`1(B MP"\`+RR`P$ZZ%69/[P`,2JR`Y&<8+RR`Y#`L@`9(P"\`+RR`P$ZZ%4A/[P`,2 M2JR`Z&<8+RR`Z#`L@`A(P"\`+RR`Q$ZZ%2I/[P`,2FR`F&<@(&R`S#%\``H`/ M'$'L@2PB;(#,(T@`*"\L@,Q.NA146$]*K(#89QX@;(#82J@`%&<*+RR`V$ZZ* M$GI83R\L@-A.NA.,6$]*K(#49PHO+(#43KH3"%A/2JR`S&<>(&R`S$JH`!1GT M"B\L@,Q.NA)&6$\O+(#,3KH36%A/2JR`T&<*+RR`T$ZZ$M183TJL@-QG"B\L. M@-Q.NA+$6$\,;/__@`)G$C`L@`)(P'(!X:$O`4ZZ%!183TJL@,!G"B\L@,!.$ MNA'^6$]*K("\9PHO+("\3KH1[EA/2JR`Q&<*+RR`Q$ZZ$=Y83TY=3G5.5?_\, M0J=.NA.D6$\I0("X0J=(>@+V3KH3^%!/*4"`Q$JL@,1F%$AZ`O1.NOY"6$].; MNOY\<`!.74YU0J=(>@+\3KH3SE!/*4"`P$JL@,!F$DAZ`OE.NOX86$].NOY2T M<`!@U$*G2'H#`DZZ$Z903RE`@+Q*K("\9A)(>@+]3KK]\%A/3KK^*G``8*Q". MITAZ`P9.NA%44$\I0(#<2JR`W&822'H"_DZZ_@+;3KK]'EA/3KK]6'``8`#^VD*G0J=.NA""4$\I0(#49 M2JR`U&842'H"S$ZZ_/983TZZ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