val get_target : Functoria.Info.t -> Key.mode val connect_err : string -> int -> 'a val terminal : unit -> bool