Newsgroups: alt.ascii-art Subject: Setting ASCII screen colors in Linux? Summary: How do I set the default ASCII/ANSI text colors in Linux? Keywords: ASCII, ANSI, screen colors, Linux, Red Hat 6.1 X-Newsreader: NN version 6.5.1 (NOV) From: w-hsu@uiuc.edu (william henry hsu) Lines: 26 Message-ID: <59xu4.8640$yg3.141758@vixen.cso.uiuc.edu> Date: Mon, 28 Feb 2000 16:13:53 GMT NNTP-Posting-Host: 128.174.5.53 X-Complaints-To: abuse@uiuc.edu X-Trace: vixen.cso.uiuc.edu 951754433 128.174.5.53 (Mon, 28 Feb 2000 10:13:53 CST) NNTP-Posting-Date: Mon, 28 Feb 2000 10:13:53 CST Organization: University of Illinois at Urbana-Champaign Path: chonsp.franklin.ch!pfaff.ethz.ch!news-zh.switch.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!News.Amsterdam.UnisourceCS!skynet.be!newsfeed.stanford.edu!news.crhc.uiuc.edu!vixen.cso.uiuc.edu!w-hsu Xref: chonsp.franklin.ch alt.ascii-art:8879 [Sorry for the redundant cross-post, but either my news reader is burping or one of the NGs in my cross-post list is moderated and causing the others not to go through. --- WHH] Is there a way to remap the default screen colors (just the Linux terminal screen colors --- not X colors) in Linux? I'm running RHL 6.1 on a Linux box in my office, and have TERM set to "linux". I connect to it via dialup from my Windows 2000 system at home, using PenguiNet for Windows 95/NT/2000. PenguiNet has ssh but (AFAIK) none of the screen color customizability features that Windows Telnet or Teraterm has, and I'd like to be able to get my good old-fashioned lime-on-black green screen. Any help would be greatly appreciated. -Bill ======================================================= William H. Hsu, Ph.D. Assistant Professor of CIS, Kansas State University Research Scientist, Automated Learning Group, NCSA bhsu@cis.ksu.edu, bhsu@ncsa.uiuc.edu http://www.cis.ksu.edu/~bhsu ICQ: 28651394 ======================================================= ###### Path: chonsp.franklin.ch!not-for-mail From: Neil Franklin Newsgroups: alt.ascii-art Subject: Re: Setting ASCII screen colors in Linux? Date: 28 Feb 2000 22:01:15 +0100 Organization: My own Private Self Lines: 49 Message-ID: <6ubt51dotg.fsf@chonsp.franklin.ch> References: <59xu4.8640$yg3.141758@vixen.cso.uiuc.edu> NNTP-Posting-Host: chonsp.franklin.ch X-Trace: chonsp.franklin.ch 951771675 553 10.0.3.2 (28 Feb 2000 21:01:15 GMT) X-Complaints-To: news@chonsp.franklin.ch NNTP-Posting-Date: 28 Feb 2000 21:01:15 GMT X-Newsreader: Gnus v5.7/Emacs 20.4 Xref: chonsp.franklin.ch alt.ascii-art:8886 w-hsu@uiuc.edu (william henry hsu) writes: > Is there a way to remap the default screen colors (just the Linux > terminal screen colors --- not X colors) in Linux? Posting to comp.os.linux. will most likely have a lot higher chance of finding an answer, but anyway... Linux, like any Unix (and also DOS), has no such thing as a concept of colour. It simply knows about character streams (which are supposed to be ASCII, which is also colour-less). Any rendering of these to pixel patterns and their colouring is the job of the terminal you are using. For the built-in console terminal (PC keyboard and VGA card) Linux emulates the normal VT100 escape sequences. See: /usr/doc/Linux-HOWTOs/Bash-Prompt-HOWTO /usr/doc/Linux-HOWTOs/Keyboard-and-Console-HOWTO /usr/doc/Linux-HOWTOs/Text-Terminal-HOWTO Above paths are as in Slackware 7.0 Linux, they may be some slight variation on RedHat. > to it via dialup from my Windows 2000 system at home, using PenguiNet > for Windows 95/NT/2000. PenguiNet has ssh but (AFAIK) none of the > screen color customizability features that Windows Telnet or Teraterm That sounds to me that you will have to find out what sort of sequences the PenguiNet emulates (most likely VT100) and then send it such sequences. Note that you will so only get the 8 primary colours, no cool shades of colours. > has, and I'd like to be able to get my good old-fashioned lime-on-black > green screen. The One True Computer Display Coloring. Green on Black. Black on White "paper emulation" is for wimps who can not stand a computer on its own terms :-). -- Neil Franklin, neil@franklin.ch.remove http://neil.franklin.ch/ Nerd, Geek, Hacker, Unix Guru, Sysadmin, Roleplayer, Mystic Computer: a toy, speeds work so that you have more time to play