Questions regarding the "unbuffer" program (Expect)

Liste des GroupesRevenir à cl tcl 
Sujet : Questions regarding the "unbuffer" program (Expect)
De : gazelle (at) *nospam* shell.xmission.com (Kenny McCormack)
Groupes : comp.lang.tcl
Date : 12. Sep 2024, 12:44:47
Autres entêtes
Organisation : The official candy of the new Millennium
Message-ID : <vbuk7f$1t0jr$2@news.xmission.com>
User-Agent : trn 4.0-test77 (Sep 1, 2010)
/usr/bin/unbuffer has some constructs I'm not familiar with.  Observe:

1)  set stty_init "-echo"

What does this do?  "stty_init" isn't used anywhere else.  Is it some kind of
magic built-in variable?

2)  eval [list spawn -noecho] [lrange $argv 1 end]

Why use [list] here?  Whenever I've needed to do this, I just do:

    eval spawn -noecho [lrange $argv 1 end]

3)  close_on_eof -i $user_spawn_id 0

What is "close_on_eof"?  I've never heard of it and can't find it any of
the docs I checked.

--
The coronavirus is the first thing, in his 74 pathetic years of existence,
that the orange menace has come into contact with, that he couldn't browbeat,
bully, bullshit, bribe, sue, legally harrass, get Daddy to fix, get his
siblings to bail him out of, or, if all else fails, simply wish it away.

Date Sujet#  Auteur
12 Sep 24 o Questions regarding the "unbuffer" program (Expect)1Kenny McCormack

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal