The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Vim color mirusnet Shell Programming and Scripting 1 01-06-2008 12:43 PM
Color those tabs! iBot UNIX and Linux RSS News 0 12-10-2007 05:40 AM
how to disable color text in xterm window modemer UNIX for Dummies Questions & Answers 1 06-06-2005 08:20 PM
ls color andryk AIX 3 05-14-2004 03:26 AM
Color issue meyersp SUN Solaris 1 11-13-2003 06:37 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-04-2003
lantern lantern is offline
Registered User
  
 

Join Date: Sep 2003
Location: Brooklyn, NY
Posts: 2
xterm-color

Hi all,

Can someone explain to me what xterm-color is? I do most of my coding on Emacs over telnet sessions with my school's server, and I recently discovered that if I set TERM=xterm-color in my environment, then emacs will will send colored syntax highlighting over telnet.

That's great, but it's suddenly stoppped working after my school made some server changes. Now Emacs won't even execute if my TERM variable is set to xterm-color. I get the error message: "emacs: Terminal type xterm-color is not defined."

Any advice?

Also, if anybody can recomend better ways to run x sessions from my home pc (WinXP) to my school's server, that would be great too.

Thanks,
Lantern
  #2 (permalink)  
Old 09-06-2003
cerberusofhnsg's Avatar
cerberusofhnsg cerberusofhnsg is offline
Registered User
  
 

Join Date: Jul 2003
Location: MT
Posts: 43
ask your school to see what their terminal types are. linux usually works w/o a hitch on linux boxen, try that as well.
  #3 (permalink)  
Old 09-07-2003
lantern lantern is offline
Registered User
  
 

Join Date: Sep 2003
Location: Brooklyn, NY
Posts: 2
Quote:
Originally posted by cerberusofhnsg
linux usually works w/o a hitch on linux boxen, try that as well.
Sorry - care to clarify what you mean by that?

I know that xterm is supported on the server, at least. Any idea why the -color or +cm option might not be recognized by emacs?

Anyway ... from people's general experience ... what's the best way to work off a server remotely from a pc and get the full color effect?
  #4 (permalink)  
Old 09-14-2003
google's Avatar
google google is offline Forum Advisor  
Moderator
  
 

Join Date: Jul 2002
Location: Atlanta
Posts: 740
Not sure if syntax highlighting is supported in this tool or not (I doubt it is) but I use it rather than using a DOS telnet session (assuming thats what your using). Anyway, give TeraTerm Pro a try, you can set foreground and background colors, set window sizes and set a few other options. You can also download the SSH extension if you need to secure shell in to your schools server. Here is the site to get both TeraTerm Pro and the SSH extension --> TeraTerm Pro and SSH Extension By the way, TeraTermPro is free, and is even open source.

Good Luck.

Last edited by google; 09-15-2003 at 07:06 AM..
  #5 (permalink)  
Old 09-15-2003
AbEnd AbEnd is offline
Registered User
  
 

Join Date: Sep 2003
Location: Canada
Posts: 56
Re: xterm-color

Quote:
Originally posted by lantern
Hi all,

Can someone explain to me what xterm-color is? I do most of my coding on Emacs over telnet sessions with my school's server, and I recently discovered that if I set TERM=xterm-color in my environment, then emacs will will send colored syntax highlighting over telnet.
OK, "xterm-color" is like "xterm" but with the color codes defined. I guess they're separated because some xterm don't support color and color codes looks bad on them.

Quote:
That's great, but it's suddenly stoppped working after my school made some server changes. Now Emacs won't even execute if my TERM variable is set to xterm-color. I get the error message: "emacs: Terminal type xterm-color is not defined."
What if you set it to just "xterm"? Like, maybe the termcap DB changed and no longer includes the "xterm-color" entry. Do colors work with other progs? Maybe the emacs default configuration changed and no longer has syntax coloring enabled (visit a file then type 'M-X font-lock-mode RET' to enable it for the mode of that buffer).

Quote:
Any advice?

Also, if anybody can recomend better ways to run x sessions from my home pc (WinXP) to my school's server, that would be great too.
Wah? X session? I though it'was a telnet session... Anyway, VNC over an SSH tunnel using PuTTY would be how I'd do it. But to run Emacs, i'd simply use PuTTY with the Emacs's TTY interface, not the X11 one.

Quote:
Thanks,
Lantern
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:28 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0