]> git.pld-linux.org Git - packages/dialog.git/blob - dialog-examples.patch
- rel 10 for ac
[packages/dialog.git] / dialog-examples.patch
1 diff -durN dialog-0.69.orig/samples/gauge-sh dialog-0.69/samples/gauge-sh
2 --- dialog-0.69.orig/samples/gauge-sh   Tue Dec 19 14:29:06 1995
3 +++ dialog-0.69/samples/gauge-sh        Mon Oct 30 10:44:37 2000
4 @@ -2,10 +2,7 @@
5  #
6  
7  # I prefer to tell "samples/yesno" for the source directory
8 -if [ -f ./dialog ]; then
9 -       DIALOG=./dialog
10 -fi
11 -DIALOG=${DIALOG=../dialog}
12 +DIALOG=/usr/bin/dialog
13  
14  (echo "10" ; sleep 2 ; 
15  
16 diff -durN dialog-0.69.orig/samples/infobox dialog-0.69/samples/infobox
17 --- dialog-0.69.orig/samples/infobox    Fri Dec 15 12:49:02 1995
18 +++ dialog-0.69/samples/infobox Mon Oct 30 10:45:52 2000
19 @@ -2,10 +2,7 @@
20  #
21  
22  # I prefer to tell "samples/yesno" for the source directory
23 -if [ -f ./dialog ]; then
24 -       DIALOG=./dialog
25 -fi
26 -D=${DIALOG=../dialog}
27 +D=/usr/bin/dialog
28  
29  # this one means that "Esc" from any dialog will end the overall sample
30  check='eval if [ $? -eq 255 ] ; then clear; exit 1; fi'
31 diff -durN dialog-0.69.orig/samples/inputbox dialog-0.69/samples/inputbox
32 --- dialog-0.69.orig/samples/inputbox   Tue Dec 19 14:28:54 1995
33 +++ dialog-0.69/samples/inputbox        Mon Oct 30 10:44:51 2000
34 @@ -2,10 +2,7 @@
35  #
36  
37  # I prefer to tell "samples/yesno" for the source directory
38 -if [ -f ./dialog ]; then
39 -       DIALOG=./dialog
40 -fi
41 -DIALOG=${DIALOG=../dialog}
42 +DIALOG=/usr/bin/dialog
43  
44  $DIALOG --title "INPUT BOX" --clear \
45          --inputbox "Hi, this is an input dialog box. You can use \n\
46 diff -durN dialog-0.69.orig/samples/menubox dialog-0.69/samples/menubox
47 --- dialog-0.69.orig/samples/menubox    Thu Dec 21 22:34:31 1995
48 +++ dialog-0.69/samples/menubox Mon Oct 30 10:45:05 2000
49 @@ -2,10 +2,7 @@
50  #
51  
52  # I prefer to tell "samples/yesno" for the source directory
53 -if [ -f ./dialog ]; then
54 -       DIALOG=./dialog
55 -fi
56 -D=${DIALOG=../dialog}
57 +D=/usr/bin/dialog
58  
59  tmp=/tmp/menu.tmp.$$
60  $D --clear --title "MENU BOX" \
61 diff -durN dialog-0.69.orig/samples/msgbox dialog-0.69/samples/msgbox
62 --- dialog-0.69.orig/samples/msgbox     Fri Dec 15 12:49:02 1995
63 +++ dialog-0.69/samples/msgbox  Mon Oct 30 10:45:52 2000
64 @@ -2,10 +2,7 @@
65  #
66  
67  # I prefer to tell "samples/yesno" for the source directory
68 -if [ -f ./dialog ]; then
69 -       DIALOG=./dialog
70 -fi
71 -D=${DIALOG=../dialog}
72 +D=/usr/bin/dialog
73  
74  # this one means that "Esc" from any dialog will end the overall sample
75  check='eval if [ $? -eq 255 ] ; then clear; exit 1; fi'
76 diff -durN dialog-0.69.orig/samples/radiolist dialog-0.69/samples/radiolist
77 --- dialog-0.69.orig/samples/radiolist  Tue Dec 19 14:45:02 1995
78 +++ dialog-0.69/samples/radiolist       Mon Oct 30 10:45:29 2000
79 @@ -2,10 +2,7 @@
80  #
81  
82  # I prefer to tell "samples/yesno" for the source directory
83 -if [ -f ./dialog ]; then
84 -       DIALOG=./dialog
85 -fi
86 -DIALOG=${DIALOG=../dialog}
87 +DIALOG=/usr/bin/dialog
88  
89  $DIALOG --backtitle "Red Hat Software Linux" \
90         --title "RADIOLIST BOX" --clear \
91 diff -durN dialog-0.69.orig/samples/textbox dialog-0.69/samples/textbox
92 --- dialog-0.69.orig/samples/textbox    Tue Dec 19 13:28:52 1995
93 +++ dialog-0.69/samples/textbox Mon Oct 30 10:45:41 2000
94 @@ -2,10 +2,7 @@
95  #
96  
97  # I prefer to tell "samples/yesno" for the source directory
98 -if [ -f ./dialog ]; then
99 -       DIALOG=./dialog
100 -fi
101 -DIALOG=${DIALOG=../dialog}
102 +DIALOG=/usr/bin/dialog
103  
104  cat << EOF > /tmp/textbox.tmp.$$
105  Hi, this is a text dialog box. It can be used to display text from a file.
106 diff -durN dialog-0.69.orig/samples/yesno dialog-0.69/samples/yesno
107 --- dialog-0.69.orig/samples/yesno      Fri Dec 15 12:49:02 1995
108 +++ dialog-0.69/samples/yesno   Mon Oct 30 10:45:52 2000
109 @@ -2,10 +2,7 @@
110  #
111  
112  # I prefer to tell "samples/yesno" for the source directory
113 -if [ -f ./dialog ]; then
114 -       DIALOG=./dialog
115 -fi
116 -D=${DIALOG=../dialog}
117 +D=/usr/bin/dialog
118  
119  # this one means that "Esc" from any dialog will end the overall sample
120  check='eval if [ $? -eq 255 ] ; then clear; exit 1; fi'
This page took 0.753595 seconds and 3 git commands to generate.