public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Brad Gutt <bgutt3@yahoo.com>
To: insight@sources.redhat.com
Subject: Re: expect and tclsh give different output from "clock scan"
Date: Sun, 20 Feb 2005 07:29:00 -0000	[thread overview]
Message-ID: <20050220072900.99178.qmail@web53609.mail.yahoo.com> (raw)
In-Reply-To: <20050110012047.GA27333@trixie.casa.cgf.cx>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 2114 bytes --]

Thanks Christopher.  I think that for my purposes, I
would want to do
the same thing as you (or someone) have done in the
Insight build
environment, it is just that I am a bit lost on how
Insights build
configuration goes about it.

What I am after is getting a version of Expect that
matches Tcl in
every way possible, even if it is a "windows version"
similar to what
Insight uses.  Here is what I think happens, and tell
me where I am wrong:

  If I have a Windows 2000 machine, and build Insight
from source
  using Cygwin, I issue the ./configure <flags>
command from the
  Cygwin shell.  When Insight is built, Tcl is built
and also Expect
  is built.  I am believing that those versions of Tcl
and Expect are
  the "windows versions" you spoke of simply because
they are built on
  a Windows machine AND because of some special
<flags> that are given
  to the ./configure switch to turn off any of the
unix-like behaviors
  Keith spoke of, which means avoiding use of the
posix layer and
  instead using the "goofy windowsy things".

If that is the case, then when I issue the "set
::tcl_platform(platform)" command to those versions of
Expect and Tcl,
both of those executables should return "windows". If
so, that is
exactly what I need, then all I would need to know now
is what are the
<flags> given to ./configure to make all of that
happen?

Thanks for all your help,
Brad

BTW, the cvs branch I'm looking at is gdb_5_2-branch,
cvs module is
insight+dejagnu

--- Christopher Faylor <me@cgf.cx> wrote:
> Keith's analysis of the situation is correct. 
> expect uses a unix-like
> version of tcl and insight uses a windows version of
> tcl with hooks for
> cygwin.
> 
> Using the cygwin version of tcl for expect allows
> expect to use select,
> ptys, and other unix-isms.  Using the windows
> version for insight allows
> insight to draw windows on the screen.
> 
> This is a fact of life.  It isn't going to change no
> matter what mailing
> list you discuss it in.



		
__________________________________ 
Do you Yahoo!? 
All your favorites on one personal page – Try My Yahoo!
http://my.yahoo.com 

  reply	other threads:[~2005-02-20  7:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-22 17:20 Brad Gutt
2005-01-05 23:14 ` Keith Seitz
2005-01-09 21:52   ` Brad Gutt
2005-01-10  1:20     ` Christopher Faylor
2005-02-20  7:29       ` Brad Gutt [this message]
2005-02-21 16:16         ` Christopher Faylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050220072900.99178.qmail@web53609.mail.yahoo.com \
    --to=bgutt3@yahoo.com \
    --cc=insight@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).