zsh-workers
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: zsh-workers@sunsite.dk (Zsh hackers list)
Subject: Re: PATCH: omit completion tests if no zpty
Date: Fri, 12 Mar 2004 20:00:29 +0100	[thread overview]
Message-ID: <2673.1079118029@trentino.logica.co.uk> (raw)
In-Reply-To: <28707.1079110560@csr.com>

Peter wrote:
> 
> Presumably the problem is in get_pty(), which isn't all that long.
> Probably strace or truss ought to say where the difficulty is.

I'm not sure it is get_pty(). All is seemingly okay when creating a zpty
command but trying to read from it (-r, -t, -L etc) just hangs till I
press Ctrl-C.

> Or we can try explicitly #undef USE_DEV_PTMX and see if that works.

That results in exactly the same happening so isn't much help.

Could we perhaps try taking code from here:
http://cvs.sourceforge.net/viewcvs.py/expect/expect/pty_termios.c?rev=5.37

At the top, it says the file is in the public domain so we can use it.
It seems to indicate that we need to trap some ioctls. Also looks like
it uses /dev/ptym.

Is it worth trying to do something before 4.2?

Oliver


  reply	other threads:[~2004-03-12 19:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-11 19:15 Peter Stephenson
2004-03-12 16:17 ` Oliver Kiddle
2004-03-12 16:56   ` Peter Stephenson
2004-03-12 19:00     ` Oliver Kiddle [this message]
2004-03-15 10:43       ` Peter Stephenson

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=2673.1079118029@trentino.logica.co.uk \
    --to=okiddle@yahoo.co.uk \
    --cc=zsh-workers@sunsite.dk \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).