ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gtkbfc/gtkbfc-helper
(Generate patch)

Comparing gtkbfc/gtkbfc-helper (file contents):
Revision 1.1 by root, Wed Aug 15 11:18:24 2007 UTC vs.
Revision 1.8 by root, Sat Aug 18 10:54:13 2007 UTC

1#!/bin/bash 1#!/bin/bash
2 2
3export PROMPT="$1"
4
3exec 5>&1 5exec 5>&1
4rxvt -geometry 120x2 -e bash -c 'read -p "'$1'": " -e; printf "%s" "$REPLY" >&5' 6urxvt -geometry 120x16 -transient-for "$2" +sb -e bash -c '
7 echo "gtk bash file chooser"
8 echo "cwd: $PWD"
9 read -p "$PROMPT" -e
10 REPLY=$(eval echo "$REPLY")
11 case "$REPLY" in
12 /* ) printf "%s" "$REPLY" >&5 ;;
13 * ) printf "%s/%s" "$PWD" "$REPLY" >&5 ;;
14 esac
15'
5 16

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines