Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Feb 2013 12:05:03 -0500
From:      Andre Goree <andre@drenet.info>
To:        freebsd-questions@freebsd.org
Subject:   Re: tmux and konsole characters
Message-ID:  <510D473F.6090302@drenet.info>
In-Reply-To: <510D3D46.7080806@gmail.com>
References:  <510D35F8.8010004@drenet.info> <510D3D46.7080806@gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 02/02/13 11:22, Joshua Isom wrote:
> On 2/2/2013 9:51 AM, Andre Goree wrote:
>> I'm having an issue with tmux on certain ssh connections.  When I
>> connect to my freebsd server's tmux session that has multiple panes in
>> one window, everything looks fine.  However, when I connect to my linux
>> box, I get this weird character [1] instead of a line as I would expect.
>>
>> Any ideas on how I can fix this?  Really just an annoyance rather than a
>> real issue, but I'm sure someone has come across this before and fixed
>> it.  Googling wasn't much help -- though I did find some solutions, they
>> did not work for me.
>>
>> [1]http://www.drenet.net/images/snapshot2.png
>>
>>
> 
> It's just a $TERM issue by the looks of it.  If you set $TERM in any of
> your .cshrc scripts, or .profile, it's probably set to something
> different than what Konsole's using.  Try running `setenv TERM
> xterm-color` before running tmux and see if that fixes it.  Run `echo
> $TERM` just so you can know what it is set to.  You'll have to track
> down where it changes to prevent it in the future.
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"

Thanks, I'm actually using bash as a shell, probably should've mentioned
that.  Anywho:

[agoree@desktop ~]$ grep TERM .*
.bash_history:echo $TERM
.profile:# Setting TERM is normally done through /etc/ttys.  Do only
override
.profile:# TERM=cons25;         export TERM

[agoree@desktop agoree]$ echo $TERM
xterm

Looks like it's not being set in .profile (it's commented), and echoing
$TERM displays "xterm".  So it would appear I'm not changing it anywhere.

I tried the following, and get the same weird looking characters in
place of lines when connecting to the remote box (which is running
Linux, btw):
[agoree@desktop agoree]$ echo $TERM
xterm
[agoree@desktop agoree]$ export TERM=xterm-color
[agoree@desktop agoree]$ ssh sideswipe-dt
Last login: Sat Feb  2 10:34:53 2013 from 172.16.10.246
[agoree@sideswipe-DT ~]$ tmux attach

-- 
Andre Goree
andre@drenet.info


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJRDUc/AAoJEJQrkaCSFIoRFYAH/1AzpH5BLeewIqWwWrGYlzZf
vo0sgaoAUuC5JbEpbIZH4tnbNIyzUwRWFD56dULdaHQkb21ptTq8Om3dRtaL7dJm
giOQmu8c4NpENQLAdnUlqpPDfzAYE9HY+TEyv1BsZh2ipTgkB4PdTT1Q1ZMc3i4C
ps43MxAHvaFwoofB3oRCoZPcJkq4I+0sXXNjiqvo6g1P17zqxOA6/j3XKR5iYHh0
+CrweTkuRpXqS6zE2GnxMvHfZtudHkTVyK6rLM9wj8CHnutu9EJREolvb8PSb4oC
D+FFQb47upcmTABM1lWOz9qKvJqv2xUuRwOvYawkNerker+n0cwD6bIA/78mb/A=
=+C41
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?510D473F.6090302>