LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 03-17-2005, 05:52 PM   #1
Dewar
Member
 
Registered: Sep 2003
Location: Washington State
Distribution: SuSE 8.0, SuSE 9.0, Slack 9.1
Posts: 90

Rep: Reputation: 15
I need a monochrome terminal


I need a way to set the terminal to be monochrome when someone logs into my box via SSH or Telnet. This solution must be server based so that even new people who log in see monochrome without me having to touch their computer.

My current $TERM environment variable is xterm. I have experimented with switching it to vt100, but that causes issues with the backspace and delete keys, amongst others. There is no xterm-m or xterm-mono option on my system for terminal emulation.

Please help, I'm at my wit's end on this.
-Dewar
 
Old 03-17-2005, 06:07 PM   #2
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
i'm not sure what monochrome is, but could you set it in .Xdefaults?
 
Old 03-17-2005, 06:38 PM   #3
Dewar
Member
 
Registered: Sep 2003
Location: Washington State
Distribution: SuSE 8.0, SuSE 9.0, Slack 9.1
Posts: 90

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by mcd
i'm not sure what monochrome is, but could you set it in .Xdefaults?
Well, I've obviously been working on computers too long. Monochrome = one color = black and white. If I set it to black and white in .Xdefaults, wouldn't that effect the local logins as well? I only want to change telnet and ssh connections.

-Dewar
 
Old 03-17-2005, 07:32 PM   #4
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
hmm. i know you can specify background and foreground colors when you call xterm, ie:

xterm -fg black -bg white &

right? is there a way to use those options when ssh calls xterm? either through setting defaults or using an alias or something? maybe you could create sshxterm, which would just call xterm using those options, and then set sshxterm as your $TERM for ssh. bear in mind i have very little idea what i'm talking about...just throwing some ideas out there.

or possibly you could set monochrome as your default, and then use .Xdefaults or some other method to change it for your local users.

hmm. i remember seeing interesting stuff in /etc/shells iirc, it might be worthwhile to explore that a little bit.
 
Old 03-18-2005, 01:13 PM   #5
Dewar
Member
 
Registered: Sep 2003
Location: Washington State
Distribution: SuSE 8.0, SuSE 9.0, Slack 9.1
Posts: 90

Original Poster
Rep: Reputation: 15
Solved it

I got a copy of the xterm-mono terminal file for terminfo from another machine. (the file is found under \usr\share\terminfo\x) I copied it to this machine and it worked without compatibility problems. I don't know why my computer didn't come with xterm-mono by default, but oh well.

-Dewar
 
Old 03-18-2005, 02:57 PM   #6
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
how do you use it? i've located that file, is it an option i can pass to xterm? or should i make it executable and try running it directly? i'm curious because there a lots and lots of files in /usr/share/terminfo
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
making a script that opens terminal and enter commands into that terminal Cinematography Linux - General 8 12-16-2008 10:34 AM
Switching back to the Mandrake 9.1 desktop from terminal rdesktop terminal session marc218 Linux - General 6 02-08-2007 02:45 PM
JPEG and Monochrome James_dean Programming 6 11-10-2005 06:12 PM
monochrome xfig in cygwin DiagonalArg Linux - Newbie 1 03-19-2004 03:00 PM
Monochrome output when watching DVDs vasudevadas Linux - General 1 10-11-2003 01:39 PM


All times are GMT -5. The time now is 05:56 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration