[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hydra and t632

From: Thien-Thi Nguyen
Subject: Re: hydra and t632
Date: Thu, 22 Oct 2020 03:37:02 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

() Efraim Flashner <efraim@flashner.co.il>
() Thu, 22 Oct 2020 10:00:10 +0300

   [timeout red herring]

   And with timeout removed completely:

   Command exited with non-zero status 2
   0.37user 0.13system 0:00.63elapsed 80%CPU (0avgtext+0avgdata 
   192inputs+1552outputs (1major+17323minor)pagefaults 0swaps
   // output from t632.d/signal-handling-out-and-err:
   t632.d/x,v  -->  t632.d/x
   revision 1.1 (locked)
   writable t632.d/x exists; remove it? [ny](n):
   co: checkout aborted

Hmmm, interesting!  On my system, this blocks completely until i
type ‘C-c’, then it PASSes because the underlying ‘co’ DTRT.  So
it seems timeout has nothing to do w/ the root cause.  Good,
we're making progress.

   > Another possiblity is (c) ‘co’ is not detecting the TTY, but that
   > is doubtful since t632.d/signal-handling-out-and-err has the line
   >   writable t632.d/x exists; remove it? [ny](n): 
   > which shows ‘co’ initiating user-interaction, which it only does
   > if it has detected the TTY.

   How does it detect the TTY?

It boils down to a call to ‘isatty (STDIN_FILENO)’ (see

   It could be that it detects the
   TTY but it's not actually useable.

I suppose that "useable" means the ‘getc (in)’ (see
src/rcsgen.c:208) works.

   From the build environment:
   output of "which tty":

   output of "ls -la /dev/tt*":
   ls: cannot access '/dev/tt*': No such file or directory

No, you have to run that program; it prints out the tty:

 $ which tty
 $ tty
 $ ls -l $(tty)
 crw--w---- 1 ttn tty 136, 6 ott 22 03:32 /dev/pts/6

Thien-Thi Nguyen -----------------------------------------------
 (defun responsep (query)               ; (2020) Software Libero
   (pcase (context query)               ;       = Dissenso Etico
     (`(technical ,ml) (correctp ml))
     ...))                              748E A0E8 1CB8 A748 9BFA
--------------------------------------- 6CE4 6703 2224 4C80 7502

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]