Re: [JSch-users] ChannelExec unable to execute top command
Status: Alpha
Brought to you by:
ymnk
|
From: Tetsuo H. <fro...@I-...> - 2008-09-24 12:35:51
|
Amol Kulkarni wrote:
> TERM environment variable not set.
> os.write("TERM=ansi".getBytes());
Assuming you are using bash or sh, you need to run
export TERM=ansi
to set environment variable.
Without "export" command, the variable remains as a shell variable
and will not be inherited to the command as an environment variable.
May be
export TERM=dumb
is what you want.
|