View Single Post
  #3  
Old 01-22-2016, 12:11 PM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 4,306
Hi arries289,

An alternative to your current approach would be to modify the remote shell to use bash and then set the PROMPT_COMMAND environment variable. Here is an example that will set the hostname for the tab:
PROMPT_COMMAND='printf "\033]0;%s\007" "${HOSTNAME%%.*}"'
__________________
--Todd

VanDyke Software
Technical Support
support@vandyke.com
505-332-5730
Reply With Quote