[xmonad] Sshprompt, Urxvt and TERM

Alexander Tsamutali astsmtl at gmail.com
Wed Dec 26 07:03:04 EST 2007


2007/12/25, Dominik Bruhn <dominik at dbruhn.de>:
> Hy,
> I use urxvt as my TerminalEmulator and I connect to several SSH servers
> and many of them havent got the terminfo for rxvt. This leads into many
> problems and errors on the remote-machines. Thats why I got this in my
> .bashrc:
>
> if [ "$TERM" = "rxvt-unicode" ]; then
>     export TERM="xterm"    #fixes ssh issues (rxvt-unicode unknown)
> fi
>
> This works fine as urxvt is xterm compatible and all my remote-machines
> know xterm.
>
> The problem is: If starting a ssh-session from the SSH-Prompt Module of
> XMonad this setting doesnt work because .bashrc isnt evaluated. I know
> this is not a XMonad-Fault but perhaps somebody got a hint how I can
> work arround this.

Just add the following line to your .Xdefaults:

URxvt*termName: xterm


-- 
Alexander Tsamutali


More information about the xmonad mailing list