[TF] Terminal colors
Brought to you by:
kenkeys
|
From: kevin at sb.o. (K. Ballard) - 2003-01-11 05:30:12
|
Doesn't seem to work. Oh well. On Friday, January 10, 2003, at 12:56 PM, Johan van Selst wrote: > There is a dirty trick which you can use on a Linux console, > however I really doubt if this will work with MacOS: > > /def -h'world mud1' = /echo -r \033]P0ff0000 > /def -h'world mud2' = /echo -r \033]P00000c0 > /def -hdisconnect = /echo -r \033]R > > These commands work by sending special control codes which will > immediately change the standard colour palette. The digit following the > P is the colour which you want to change (0 = black). The command ends > with the hexadecimal RGB-notation of the desired colour: the first > macro > sets the background colour to red when you switch to the mud named > "mud1", the seconds sets it to blue for "mud2" and the last command > will > set it back to the default palette when disconnecting. -- Kevin Ballard ke...@sb... http://www.tildesoft.com Email from Korea or China must go to <kev...@sb...> |