diff options
author | djm@openbsd.org <djm@openbsd.org> | 2021-06-04 07:02:40 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2021-06-04 07:04:52 +0200 |
commit | f64f8c00d158acc1359b8a096835849b23aa2e86 (patch) | |
tree | eef8af74cd0e2b6a89e95c07425c20e93e3990f3 /misc.h | |
parent | upstream: correct extension name "no-presence-required" => (diff) | |
download | openssh-f64f8c00d158acc1359b8a096835849b23aa2e86.tar.xz openssh-f64f8c00d158acc1359b8a096835849b23aa2e86.zip |
upstream: allow ssh_config SetEnv to override $TERM, which is otherwise
handled specially by the protocol. Useful in ~/.ssh/config to set TERM to
something generic (e.g. "xterm" instead of "xterm-256color") for destinations
that lack terminfo entries. feedback and ok dtucker@
OpenBSD-Commit-ID: 38b1ef4d5bc159c7d9d589d05e3017433e2d5758
Diffstat (limited to 'misc.h')
-rw-r--r-- | misc.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: misc.h,v 1.95 2021/04/03 06:18:40 djm Exp $ */ +/* $OpenBSD: misc.h,v 1.96 2021/06/04 05:02:40 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -175,6 +175,8 @@ void mktemp_proto(char *, size_t); void child_set_env(char ***envp, u_int *envsizep, const char *name, const char *value); +const char *lookup_env_in_list(const char *env, + char * const *envs, size_t nenvs); int argv_split(const char *, int *, char ***); char *argv_assemble(int, char **argv); |