Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/utils
In directory vz-cvs-3.sog:/tmp/cvs-serv7721

Added Files:
        pos.info 
Log Message:
This pos works on 10.7

--- NEW FILE: pos.info ---
Package: pos
Version: 1.2
Revision: 1
Source: http://chemistry.ucsc.edu/~wgscott/%n-%v.tgz
Source-MD5: c667fb4ca38c96494f888ade9fb4e40a 
Depends: macosx
License: Public Domain
Maintainer: W. G. Scott <[email protected]>
Description: Finder-terminal 2-way interaction scripts
CompileScript:<<
<<
InstallScript:<<
mkdir -p %i/bin
mkdir -p %i/etc
mkdir -p %i/etc/profile.d
mkdir -p %i/share/pos
cp bin/fdc %i/bin
cp bin/posd %i/bin
sed 's|~|%p|g' < functions/functions.sh  > %i/etc/profile.d/pos.sh
perl -pi -e 's|^setposd| |g' functions/functions.csh
sed  's|~|%p|g' < functions/functions.csh  > %i/etc/profile.d/pos.csh
chmod a+x %i/etc/profile.d/pos.*sh
cp applescripts/*.scpt %i/share/pos
gunzip Finder_Toolbar_Applications.dmg.gz
cp Finder_Toolbar_Applications.dmg %i/share/pos/.
<<
DescDetail: << 
POS is a small collection of OSX-specific unix utilities that greatly 
enhance 2-way Finder-Terminal interactions.  These can be used with 
Terminal.app, iTerm.app, xterm or any other terminal.

Author:  Gary Kerbaugh 
     

cdf and posd:

posd is an osascript embedded in a shell script that returns the pwd
corresponding to the frontmost finder window.  Its real value is when
aliased to the command cdf, i.e., cdf='cd "$(/sw/bin/posd)"'.  The command
cdf changes the terminal pwd to match that of the frontmost finder window.

fdc: 

fdc is essentially the reciprocal operation of cdf.  It changes the finder 
window to match the pwd of the terminal in which the command is issued.

Extras:

A disk image containing Finder toolbar applications is placed into 
/sw/share/pos  It contains xml scripts and Applescripts that let you
create toolbar icons that you can click to open a terminal (or iTerm)
session in the directory corresponding to that in the Finder window.
<<


------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to