I have a OpenVZ Fedora 20 VPS that when I SSH into, my termcap file stored in $XDG_DATA_HOME/terminfo/x/xterm-termite, isn't being read, despite having TERMINFO=$XDG_DATA_HOME/terminfo set. If I execute a subshell bash it works fine. Or if I add exec bash to the end of my .profile it works fine.I saw this question and suspected it could be the same thing. But I'm logging in with the /usr/bin version bash already anyway$ echo $BASH/usr/bin/bash$ which bash/usr/bin/bashI also tried Ubuntu 13.10 on the VPS and saw the same problem.Patrick's question did get me thinking though, I know the underlying OS of the VPS is REHL. Could that somehow be affecting it?I source a file called environment in my .profile, which sets the $TERMINFO environment variable if the terminfo directory exists in XDG_DATA_HOME.$ echo $TERMINFO/home/evan/.local/share/terminfo$ echo $XDG_DATA_HOME/home/evan/.local/share$ find $TERMINFO/home/evan/.local/share/terminfo/home/evan/.local/share/terminfo/x/home/evan/.local/share/terminfo/x/xterm-termite$ echo $TERMxterm-termiteThis works fine on my Linode VPS.
bash not reading $TERMINFO on login (over SSH)
bash;terminal;readline