[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
27372maxresident)k
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
src/rcsgen.c:193).
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":
/gnu/store/57xj5gcy1jbl9ai2lnrqnpr0dald9i65-coreutils-8.32/bin/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
/usr/bin/tty
$ tty
/dev/pts/6
$ 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
signature.asc
Description: PGP signature
- Re: hydra and t632, (continued)
- Re: hydra and t632, Efraim Flashner, 2020/10/20
- Re: hydra and t632, Thien-Thi Nguyen, 2020/10/20
- Re: hydra and t632, Efraim Flashner, 2020/10/20
- Re: hydra and t632, Thien-Thi Nguyen, 2020/10/20
- Re: hydra and t632, Efraim Flashner, 2020/10/21
- Re: hydra and t632, Thien-Thi Nguyen, 2020/10/21
- Re: hydra and t632, Efraim Flashner, 2020/10/21
- Re: hydra and t632, Thien-Thi Nguyen, 2020/10/21
- Re: hydra and t632, Thien-Thi Nguyen, 2020/10/21
- Re: hydra and t632, Efraim Flashner, 2020/10/22
- Re: hydra and t632,
Thien-Thi Nguyen <=
- Re: hydra and t632, Efraim Flashner, 2020/10/22
- Re: hydra and t632, Thien-Thi Nguyen, 2020/10/22
- Re: hydra and t632, Efraim Flashner, 2020/10/22
- Re: hydra and t632, Thien-Thi Nguyen, 2020/10/22
- Re: hydra and t632, Thien-Thi Nguyen, 2020/10/22
- Re: hydra and t632, Efraim Flashner, 2020/10/23
- Re: hydra and t632, Thien-Thi Nguyen, 2020/10/23
- Re: hydra and t632, Efraim Flashner, 2020/10/23