Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Nov 1999 09:54:53 -0000
From:      "Ghulam Dastgir" <banta@ghulam.force9.co.uk>
To:        <freebsd-questions@freebsd.org>
Subject:   tcl/tk
Message-ID:  <003801bf26ab$1d622e60$df6f38d4@ghulam>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0029_01BF26AA.A4381D60
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,
I'm trying to add a tcl/tk GUI onto a working C++ program that is =
presently being run from a UNIX shell script (bash). Now instead I want =
the user to go thru the tcl/tk GUI which will then invoke the UNIX shell =
script (by clicking a tk widget button say) to run the C++ program.
Is this possible 'cos I thought that tk will not recognise bash =
commands, it'll only recognise tcl commands??
Unfortunately I can't rewrite the bash script in tcl 'cos bash uses =
Ghostview for scientific data plotting for my C++ program which tcl =
doesn't have.
Regards,
Ghulam

------=_NextPart_000_0029_01BF26AA.A4381D60
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>Hi,</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>I'm trying to add a tcl/tk GUI onto =
a working=20
C++ program that is presently being run from a UNIX shell script (bash). =
Now=20
instead I want the user to go thru the tcl/tk GUI which will then invoke =
the=20
UNIX shell script (by clicking a tk widget button say) to run the C++=20
program.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>Is this possible 'cos I thought that =
tk will not=20
recognise bash commands, it'll only recognise tcl =
commands??</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>Unfortunately I can't rewrite the =
bash script in=20
tcl 'cos bash uses Ghostview for scientific data plotting for my C++ =
program=20
which tcl doesn't have.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>Regards,</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>Ghulam</FONT></DIV></BODY></HTML>

------=_NextPart_000_0029_01BF26AA.A4381D60--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003801bf26ab$1d622e60$df6f38d4>