It says implement or remove, so lets just remove it.

This commit is contained in:
Elliot Glaysher 2019-08-23 16:57:29 -07:00
parent 3efc197639
commit 348d037445
2 changed files with 2 additions and 38 deletions

View File

@ -781,7 +781,6 @@
{$flow p/@tas q/(list gill:gall)} :: terminal config
{$hail ~} :: terminal refresh
{$heft ~} :: memory report
{$hook ~} :: this term hung up
{$harm ~} :: all terms hung up
$>(%init vane-task) :: after gall ready
{$lyra p/@t q/@t} :: upgrade kernel
@ -7491,9 +7490,6 @@
:: %ames: hear packet
::
$>(%hear task:able:ames)
:: %dill: hangup
::
$>(%hook task:able:dill)
:: %clay: external edit
::
$>(%into task:able:clay)

View File

@ -63,40 +63,6 @@ _term_alloc(uv_handle_t* had_u,
*buf = uv_buf_init(ptr_v, 123);
}
// XX unused, but %hook is in %zuse.
// implement or remove
//
#if 0
/* _term_close_cb(): free terminal.
*/
static void
_term_close_cb(uv_handle_t* han_t)
{
u3_utty* tty_u = (void*) han_t;
if ( u3_Host.uty_u == tty_u ) {
u3_Host.uty_u = tty_u->nex_u;
}
else {
u3_utty* uty_u;
for (uty_u = u3_Host.uty_u; uty_u; uty_u = uty_u->nex_u ) {
if ( uty_u->nex_u == tty_u ) {
uty_u->nex_u = tty_u->nex_u;
break;
}
}
}
{
u3_noun tid = u3dc("scot", c3__ud, tty_u->tid_l);
u3_noun pax = u3nq(u3_blip, c3__term, tid, u3_nul);
u3_pier_plan(u3k(pax), u3nc(c3__hook, u3_nul));
u3z(pax);
}
free(tty_u);
}
#endif
/* u3_term_io_init(): initialize terminal.
*/
void
@ -585,6 +551,8 @@ _term_it_save(u3_noun pax, u3_noun pad)
static void
_term_io_belt(u3_utty* uty_u, u3_noun blb)
{
// Here, we use scot just to build out the plan.
//
u3_noun tid = u3dc("scot", c3__ud, uty_u->tid_l);
u3_noun pax = u3nq(u3_blip, c3__term, tid, u3_nul);