xterm-color


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users xterm-color
# 1  
Old 09-04-2003
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  
Old 09-06-2003
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  
Old 09-08-2003
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  
Old 09-14-2003
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 08:06 AM..
# 5  
Old 09-15-2003
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
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

'export TERM=xterm-color' pretty much screws up clear command

I like using VIM with color tagging (using putty to SunOS). However, when I do an "export TERM=xterm-color", I can't make use of the clear command. Clear just has the same effect as pressing enter now. How can I fix this? Also, does anyone know how to get the directories and file colors... (6 Replies)
Discussion started by: mrwatkin
6 Replies

2. UNIX for Advanced & Expert Users

Changing text color in existing xterm or dtterm

On solaris and irix systems, I'm using csh in an existing xterm or dterm and would like to change the text colors. How do I accomplish this? Thanks (1 Reply)
Discussion started by: fjc
1 Replies

3. Solaris

How to set color in the xterm

Hello Friends, I am using solaris 10 operating system. I would like to know how to use the xterm color in it. I am trying this command:- xterm -bg color, but it is giving this talc:/home/ania {ania} xterm -bg color 21469 -bg: Command not found. What should i do? Can u help me... (3 Replies)
Discussion started by: asirohi
3 Replies

4. UNIX for Dummies Questions & Answers

how to disable color text in xterm window

Hello, Anyone knows how to disable color text displayed on xterm window screen? I hate that color making me hard to read when front and background color are similar. Thanks, M. (1 Reply)
Discussion started by: modemer
1 Replies
Login or Register to Ask a Question