Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Not seeing colors in emacs over SSH
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
d11wtq
Apprentice
Apprentice


Joined: 14 Jul 2005
Posts: 192
Location: Manchester, UK

PostPosted: Tue Dec 13, 2005 8:42 pm    Post subject: Not seeing colors in emacs over SSH Reply with quote

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
View user's profile Send private message
d11wtq
Apprentice
Apprentice


Joined: 14 Jul 2005
Posts: 192
Location: Manchester, UK

PostPosted: Tue Dec 13, 2005 8:53 pm    Post subject: Reply with quote

God I love this forum :P

Every time I post a question I seem to figure it out :lol:

Code:

-bash$  echo $TERM
xterm
-bash$  export TERM=ansi


Working fine and dandy :)

Will this cause me any other issues?
Back to top
View user's profile Send private message
d11wtq
Apprentice
Apprentice


Joined: 14 Jul 2005
Posts: 192
Location: Manchester, UK

PostPosted: Tue Dec 13, 2005 8:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum