[Eug-lug] No value for $TERM

Bob Miller kbob at jogger-egg.com
Wed Jan 19 14:47:24 PST 2005


Allen Brown wrote:

> stty: standard input: Invalid argument
> tput: No value for $TERM and no -T specified

Remove tput and stty from ~/.bashrc and move it to ~/.bash_profile.
Then it will only be executed for login shells.

You can look at this info page for a more detailed description of
which files are loaded under which conditions.

	"(bash.info.gz)Bash Startup Files"

Anything that requires a (pseudo)terminal should only be done in an
interactive shell, and anything that initializes a terminal (such
as stty and tput) should only be done for login shells.

-- 
Bob Miller                              K<bob>
kbobsoft software consulting
http://kbobsoft.com                     kbob at jogger-egg.com


More information about the EUGLUG mailing list