public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Tcl/expect
@ 1999-03-03 14:44 Todd Massey
       [not found] ` < 3.0.3.32.19990303144509.034513b0@appr >
  1999-03-31 19:45 ` Tcl/expect Todd Massey
  0 siblings, 2 replies; 6+ messages in thread
From: Todd Massey @ 1999-03-03 14:44 UTC (permalink / raw)
  To: cygwin

I am currently attempting to spawn a process such as a shell (sh, bash,
commmand.com, cmd.exe) and then talk with from tcl via expect.
It seems as though the spawn takes place and the shell starts up, but
immediately exits.. Thus I no longer have a process to talk with expect.

Has anyone gotten this to work and has example.

Thanks,
Todd

    /\     Todd Massey                 <massey@surefirev.com> 
   /\//    SureFire Verification Inc.  < http://www.surefirev.com >
  /\///\   1671 Dell Ave, Campbell, CA 95008 -- 408-374-4100 x102
 _\///\/        Formerly Silicon Sorcery
  \//\/    Check out the Scuba Divers Review Site
    \/     ---->   www.scuba-divers.com 
 


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* tty strangeness and other questions
       [not found] ` < 3.0.3.32.19990303144509.034513b0@appr >
@ 1999-03-03 17:21   ` M Dipperstein
  1999-03-04  3:03     ` Gary V. Vaughan
  1999-03-31 19:45     ` M Dipperstein
  0 siblings, 2 replies; 6+ messages in thread
From: M Dipperstein @ 1999-03-03 17:21 UTC (permalink / raw)
  To: cygwin

I've been quietly using Cygwin B20.1 on a windows 95 PC for a few months,
and it's been working pretty much as I expected, except for 3 annoyances
that I haven't been able to resolve.  I've check the archives, and I
haven't found any comments on them, so either I live in my own special
world, or I'm overlooking the obvious.  Any assistance would be
appreciated.

1)  When I set CYGWIN to include the tty option, my A: drive will be
searched for a command before aliases and other parts in my path,
even though A: is not in my path.  This happens when I haven't even
accessed A:. If I remove the tty from the CYGWIN setting, this problem
doesn't happen.  In cygnus.bat, I set my path as follows:
SET PATH=c:\cygnus\cygwin-b20\h-i586-cygwin32\bin;c:\usr\local\bin;%PATH%

which expands to:
c:\cygnus\cygwin-b20\h-i586-cygwin32\bin;c:\usr\local\bin;c:\windows;
c:\windows\command;c:\texmf\miktex\bin;c:\perl\bin;c:\jdk.1.1.5\bin;.

and "echo $PATH" shows the following:
/CYGNUS/CYGWIN~1/H-I586~1/BIN:/USR/LOCAL/BIN:/WINDOWS:/WINDOWS/COMMAND:
/TEXMF/MIKTEX/BIN:/PERL/BIN:/JDK11~1.5/BIN:.

Nowhere in there is there an a: or //a.  By the way, why don't I have //c's
in my path?

2)  When I set CYGWIN to include the tty option, using the arrow keys in a
bash console will scroll through my bash command history, but my
command line will not show the command, until I press a displayable key
(I've developed the habit of hitting the space bar).  Similarly, when I
use left and right arrows, I can change my location within the command
line, but the cursor position on my screen does not change.  I've tried it
with TERM set to cygwin, linux, and ansi.sys terminals, and the behavior
doesn't change.

3)  I'm using Michael Hirmke's precompiled ncurses library, and I've
converted the cygwin termcap to a terminfo.  Occasionally (~25% of the
time), when I switch away from my bash console to another windows program,
and back, the ncurses package reports that COLS is 84 instead of 80.
Switching to another window and back will make COLS 80 again.  I'm pretty
sure my cygwin terminfo is okay, because the problem happens when TERM is
set to linux as well.

4)  I'm using Pierre A. Humblet's precompiled man, with Michael Hirmke's
precompiled groff, and the hyphen for words that are split between lines
is displayed as <AD>.  I'm pretty sure this problem is in the latin font
files.  I've tried making character 0255 the hyphen character, but I'm
obviously doing something wrong, because the real hyphen character becomes
<AD> when I make that change.

Thanks in advance for any help, and thanks for all the precompiled
packages, they've saved me all kinds of grief.

-Mike


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: tty strangeness and other questions
  1999-03-03 17:21   ` tty strangeness and other questions M Dipperstein
@ 1999-03-04  3:03     ` Gary V. Vaughan
  1999-03-31 19:45       ` Gary V. Vaughan
  1999-03-31 19:45     ` M Dipperstein
  1 sibling, 1 reply; 6+ messages in thread
From: Gary V. Vaughan @ 1999-03-04  3:03 UTC (permalink / raw)
  To: M Dipperstein; +Cc: cygwin

I know the answer to this one =)O|

M Dipperstein <mdipper@cs.ucsb.edu> writes:

> 4)  I'm using Pierre A. Humblet's precompiled man, with Michael Hirmke's
> precompiled groff, and the hyphen for words that are split between lines
> is displayed as <AD>.  I'm pretty sure this problem is in the latin font
> files.  I've tried making character 0255 the hyphen character, but I'm
> obviously doing something wrong, because the real hyphen character becomes
> <AD> when I make that change.

http://www.delorie.com/archives/browse.cgi?p=cygwin/1998/11/16/14:47:15

-- 
  ___              _   ___   __              _             
 / __|__ _ _ ___ _| | / / | / /_ _ _  _ __ _| |_  __ _ ___ 
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
 \___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
PGP Key from/___/                      /___/               
http://www.cl.cam.ac.uk/PGP/pks-commands.html#extract      
http://pgp.ai.mit.edu/~bal/pks-commands.html#extract       


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Tcl/expect
  1999-03-03 14:44 Tcl/expect Todd Massey
       [not found] ` < 3.0.3.32.19990303144509.034513b0@appr >
@ 1999-03-31 19:45 ` Todd Massey
  1 sibling, 0 replies; 6+ messages in thread
From: Todd Massey @ 1999-03-31 19:45 UTC (permalink / raw)
  To: cygwin

I am currently attempting to spawn a process such as a shell (sh, bash,
commmand.com, cmd.exe) and then talk with from tcl via expect.
It seems as though the spawn takes place and the shell starts up, but
immediately exits.. Thus I no longer have a process to talk with expect.

Has anyone gotten this to work and has example.

Thanks,
Todd

    /\     Todd Massey                 <massey@surefirev.com> 
   /\//    SureFire Verification Inc.  < http://www.surefirev.com >
  /\///\   1671 Dell Ave, Campbell, CA 95008 -- 408-374-4100 x102
 _\///\/        Formerly Silicon Sorcery
  \//\/    Check out the Scuba Divers Review Site
    \/     ---->   www.scuba-divers.com 
 


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


^ permalink raw reply	[flat|nested] 6+ messages in thread

* tty strangeness and other questions
  1999-03-03 17:21   ` tty strangeness and other questions M Dipperstein
  1999-03-04  3:03     ` Gary V. Vaughan
@ 1999-03-31 19:45     ` M Dipperstein
  1 sibling, 0 replies; 6+ messages in thread
From: M Dipperstein @ 1999-03-31 19:45 UTC (permalink / raw)
  To: cygwin

I've been quietly using Cygwin B20.1 on a windows 95 PC for a few months,
and it's been working pretty much as I expected, except for 3 annoyances
that I haven't been able to resolve.  I've check the archives, and I
haven't found any comments on them, so either I live in my own special
world, or I'm overlooking the obvious.  Any assistance would be
appreciated.

1)  When I set CYGWIN to include the tty option, my A: drive will be
searched for a command before aliases and other parts in my path,
even though A: is not in my path.  This happens when I haven't even
accessed A:. If I remove the tty from the CYGWIN setting, this problem
doesn't happen.  In cygnus.bat, I set my path as follows:
SET PATH=c:\cygnus\cygwin-b20\h-i586-cygwin32\bin;c:\usr\local\bin;%PATH%

which expands to:
c:\cygnus\cygwin-b20\h-i586-cygwin32\bin;c:\usr\local\bin;c:\windows;
c:\windows\command;c:\texmf\miktex\bin;c:\perl\bin;c:\jdk.1.1.5\bin;.

and "echo $PATH" shows the following:
/CYGNUS/CYGWIN~1/H-I586~1/BIN:/USR/LOCAL/BIN:/WINDOWS:/WINDOWS/COMMAND:
/TEXMF/MIKTEX/BIN:/PERL/BIN:/JDK11~1.5/BIN:.

Nowhere in there is there an a: or //a.  By the way, why don't I have //c's
in my path?

2)  When I set CYGWIN to include the tty option, using the arrow keys in a
bash console will scroll through my bash command history, but my
command line will not show the command, until I press a displayable key
(I've developed the habit of hitting the space bar).  Similarly, when I
use left and right arrows, I can change my location within the command
line, but the cursor position on my screen does not change.  I've tried it
with TERM set to cygwin, linux, and ansi.sys terminals, and the behavior
doesn't change.

3)  I'm using Michael Hirmke's precompiled ncurses library, and I've
converted the cygwin termcap to a terminfo.  Occasionally (~25% of the
time), when I switch away from my bash console to another windows program,
and back, the ncurses package reports that COLS is 84 instead of 80.
Switching to another window and back will make COLS 80 again.  I'm pretty
sure my cygwin terminfo is okay, because the problem happens when TERM is
set to linux as well.

4)  I'm using Pierre A. Humblet's precompiled man, with Michael Hirmke's
precompiled groff, and the hyphen for words that are split between lines
is displayed as <AD>.  I'm pretty sure this problem is in the latin font
files.  I've tried making character 0255 the hyphen character, but I'm
obviously doing something wrong, because the real hyphen character becomes
<AD> when I make that change.

Thanks in advance for any help, and thanks for all the precompiled
packages, they've saved me all kinds of grief.

-Mike


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: tty strangeness and other questions
  1999-03-04  3:03     ` Gary V. Vaughan
@ 1999-03-31 19:45       ` Gary V. Vaughan
  0 siblings, 0 replies; 6+ messages in thread
From: Gary V. Vaughan @ 1999-03-31 19:45 UTC (permalink / raw)
  To: M Dipperstein; +Cc: cygwin

I know the answer to this one =)O|

M Dipperstein <mdipper@cs.ucsb.edu> writes:

> 4)  I'm using Pierre A. Humblet's precompiled man, with Michael Hirmke's
> precompiled groff, and the hyphen for words that are split between lines
> is displayed as <AD>.  I'm pretty sure this problem is in the latin font
> files.  I've tried making character 0255 the hyphen character, but I'm
> obviously doing something wrong, because the real hyphen character becomes
> <AD> when I make that change.

http://www.delorie.com/archives/browse.cgi?p=cygwin/1998/11/16/14:47:15

-- 
  ___              _   ___   __              _             
 / __|__ _ _ ___ _| | / / | / /_ _ _  _ __ _| |_  __ _ ___ 
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
 \___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
PGP Key from/___/                      /___/               
http://www.cl.cam.ac.uk/PGP/pks-commands.html#extract      
http://pgp.ai.mit.edu/~bal/pks-commands.html#extract       


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1999-03-31 19:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-03 14:44 Tcl/expect Todd Massey
     [not found] ` < 3.0.3.32.19990303144509.034513b0@appr >
1999-03-03 17:21   ` tty strangeness and other questions M Dipperstein
1999-03-04  3:03     ` Gary V. Vaughan
1999-03-31 19:45       ` Gary V. Vaughan
1999-03-31 19:45     ` M Dipperstein
1999-03-31 19:45 ` Tcl/expect Todd Massey

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).