View previous topic :: View next topic |
Author |
Message |
d11wtq Apprentice
Joined: 14 Jul 2005 Posts: 192 Location: Manchester, UK
|
Posted: Tue Dec 13, 2005 8:42 pm Post subject: Not seeing colors in emacs over SSH |
|
|
Hopefully it's OK to ask this here.
I have installed emacs on one of the Archlinux boxes I program on at work. It's got a lisp extension installed so that I can work on my code remotely with syntax highlighting.
It seems to work fine fromn within the intranet at work... I can SSH to the box and open emacs in a terminal and edit my code with ansi colors.
It seems that when I do this from home (the main purpose of it) I get no colors though.
I'm not sure what the issue is. I thought it could be something to do with the .bash_profile but I dont know what.
From work I can SSH directly from my workstation to the server. But from home I have to SSH to a gateway server and then from there into the Archlinux box. I've actually gone so far as to copying my .bash_profile and .bashrc from my gentoo box onto BOTH the gateway server (Redhat) and the Archlinux box.... it's changed the DIR_COLORS (I copied /etc/DIR_COLORS too) but I still get no color in emacs
Anyone have any clues? -- Is there any setting in ssh or sshd that may cause this? Color seems to be showing fine when I run the ls command
Thanks guys. |
|
Back to top |
|
|
d11wtq Apprentice
Joined: 14 Jul 2005 Posts: 192 Location: Manchester, UK
|
Posted: Tue Dec 13, 2005 8:53 pm Post subject: |
|
|
God I love this forum
Every time I post a question I seem to figure it out
Code: |
-bash$ echo $TERM
xterm
-bash$ export TERM=ansi
|
Working fine and dandy
Will this cause me any other issues? |
|
Back to top |
|
|
d11wtq Apprentice
Joined: 14 Jul 2005 Posts: 192 Location: Manchester, UK
|
Posted: Tue Dec 13, 2005 8:57 pm Post subject: |
|
|
d11wtq wrote: | Will this cause me any other issues? |
Yes it did. All the keys I normally use in emacs (Fn keys) did odd things.
Code: |
-bash$ export TERM=xterm-color
|
|
|
Back to top |
|
|
|