From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ajit Mylavarapu Newsgroups: gmane.emacs.help Subject: Re: no color syntax highlighting in emacs over SSH Date: Sat, 30 Sep 2006 10:55:47 -0700 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1159641650 17467 80.91.229.2 (30 Sep 2006 18:40:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 30 Sep 2006 18:40:50 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 30 20:40:48 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GTjlX-0008O7-VL for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Sep 2006 20:40:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GTjlX-0006ka-I6 for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Sep 2006 14:40:47 -0400 Original-Path: shelby.stanford.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: deeplypipelined.stanford.edu Original-X-Trace: news.Stanford.EDU 1159638945 1459 128.12.167.126 (30 Sep 2006 17:55:45 GMT) Original-X-Complaints-To: news@news.stanford.edu User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) In-Reply-To: Original-Xref: shelby.stanford.edu gnu.emacs.help:142119 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:37739 Archived-At: I have it working now. I installed tramp, and I use my local copy of emacs to edit remote files over SSH. It solves many problems. Thank you all for the help, Ajit. DeeplyPipelined wrote: > I am editing some .c files over an SSH connection. Syntax highlighting > is working fine when I have the files on my local machine. > > If am using emacs on the TTY (as opposed to emacs in an X window), the > problem is > that I cant get syntax highlighting to work for files over an SSH > connection. I know that font-lock-mode is on because I see bold fonts > and underlined fonts in the TTY over an SSH connection, but there is > no color. > > The shell on the remote machine is a tcsh. > > I should also mention that when I use emacs over X on the SSH, syntax > highlighting works. It stops working in TTY mode over SSH. The remote > machine has emacs 21.2.2 on a SunSPARC Solaris 2.8. > > Any help regarding this will be greatly appreciated! > > Thank you, > Ajit.