Tk Text Edit

Check-in [317a60abd1]
Login

Check-in [317a60abd1]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Removed KDE support
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 317a60abd1f1bc683ad93a96c8b458ed2ab3357d
User & Date: dennis 2001-02-09 15:29:29
Context
2001-02-09
15:35
Moved from lib check-in: 8e5be51b52 user: dennis tags: trunk
15:29
Removed KDE support check-in: 317a60abd1 user: dennis tags: trunk
15:23
no message check-in: 10f4e3f31b user: dennis tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to install.
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

echo "TCLTextEdit install script v0.5"

echo
echo "--------------------------------------------------------------------------------"
bflag=1
while test $bflag -eq 1
do
	echo "Where do you wish to install TCLtextedit ?"

|







1
2
3
4
5
6
7
8
9
10
#!/bin/sh

echo "TCLTextEdit install script v0.6"

echo
echo "--------------------------------------------------------------------------------"
bflag=1
while test $bflag -eq 1
do
	echo "Where do you wish to install TCLtextedit ?"
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
		done

	fi
done
INSTALLDIR=$D


if [ -d $HOME/.kde ]; then
echo
echo "--------------------------------------------------------------------------------"
echo "Looks like you have KDE installed."
echo "You can install mimelinks that will bind TCLTextedit to the"
echo "most common textfiles"
flag=1
while test $flag -eq 1
do
echo -n "Do you wish to install mimelinks and Application for kde ? [y/N] :"
read A
if test "$A" = "y" -o "$A" = "Y" ; then 
flag=0
fi
if test "$A" = "n" -o "$A" = "N" ; then 
flag=0
fi
done
KDE=$A
fi

echo
echo "--------------------------------------------------------------------------------"
flag=1
while test $flag -eq 1
do
echo -n "Ok to install TclTextedit ? [y/N] :"






<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<







53
54
55
56
57
58
59




















60
61
62
63
64
65
66
		done

	fi
done
INSTALLDIR=$D























echo
echo "--------------------------------------------------------------------------------"
flag=1
while test $flag -eq 1
do
echo -n "Ok to install TclTextedit ? [y/N] :"
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
if test "$GO" = "y" -o "$GO" = "Y" ; then 
echo "Installing TCLTextEdit in $INSTALLDIR"
else
echo "Aborting installation!"
fi

if test "$KDE" = "y" -o "$KDE" = "Y" ; then 
echo "Installing KDE files"
cp -r ./kde/* $HOME/.kde/.


fi

#Copy the lib files
cp ./lib/* $INSTALLDIR

#Make the startup script
echo "#!/bin/sh" >$INSTALLDIR/edit
echo -e "wish $INSTALLDIR/edit.tcl \042\044@\042">>$INSTALLDIR/edit
chmod 777 $INSTALLDIR/edit

echo "TCL TextEdit was successfully installed in $INSTALLDIR"
echo
echo "To start the editor use - "$INSTALLDIR/edit" and hit enter"






<
<
<
<
<
<
<




|
|
|



|
79
80
81
82
83
84
85







86
87
88
89
90
91
92
93
94
95
96
if test "$GO" = "y" -o "$GO" = "Y" ; then 
echo "Installing TCLTextEdit in $INSTALLDIR"
else
echo "Aborting installation!"
fi








#Copy the lib files
cp ./lib/* $INSTALLDIR

#Make the startup script
echo "#!/bin/sh" >$INSTALLDIR/ttedit
echo -e "wish $INSTALLDIR/edit.tcl \042\044@\042">>$INSTALLDIR/ttedit
chmod 777 $INSTALLDIR/ttedit

echo "TCL TextEdit was successfully installed in $INSTALLDIR"
echo
echo "To start the editor use - "$INSTALLDIR/ttedit" and hit enter"