02-18-2002
xterm colors
I'm using Solaris 8
10 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
Hello, I am somewhat new to linux. I just installed Red Hat 7.2 and when I try to load gnome or KDE in colors above 8bit it will kind of lock up and display some wierd scrambled cable look. I have an ATI Radeon 7000. I check out my monitor settings they are fine. Is it the graphics card? I set my... (1 Reply)
Discussion started by: Sage3k
1 Replies
2. Linux
When I telnet (ssh) over to my Fedora system, I find the colors horrible. For instance, regular files are white text, which is fine, but directories show up as dark blue which is virtually invisible against the black background). Additionally, when using vi, I find the colors great doing perl... (3 Replies)
Discussion started by: ripley
3 Replies
3. Linux
what dog gone file is setting these colors! i dont see it in bashrc or bash_profile!! anyone know?
alias cp='cp -i'
alias l.='ls -d .* --color=tty'
alias ll='ls -l --color=tty'
alias ls='ls --color=tty'
alias mv='mv -i'
alias rm='rm -i'
alias vi='vim'
alias which='alias | /usr/bin/which... (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies
4. UNIX for Dummies Questions & Answers
Hey guys,
When I used a Solaris box way back I had directory, file , symbolic link colors, etc... I can't seem to find the .dircolors file and how i set it up for bash on Solaris... anyone remember how to do it?
Thanks! (2 Replies)
Discussion started by: kingdbag
2 Replies
5. UNIX for Dummies Questions & Answers
Is there a way with the bourne shell to have different types of files show up a different color when you do ls? (1 Reply)
Discussion started by: resullivan
1 Replies
6. Shell Programming and Scripting
I want to use
notify_fail ()
{
echo " " >> ${MSG}
echo " Script failed n">> ${MSG}
cat ${MSG}|mailx -s "t1.ksh Success: "name@domain.com"
exit 1
}
I want script failed to show in Red or different colors in the email that i sent to name@domain.com
I serached several sites and also... (1 Reply)
Discussion started by: konark
1 Replies
7. HP-UX
I am using xterm on my HP-UX system (11i). Color is working in xtrem, i can see that with the -color option on ls. When I use vim's syntax high lighting, instead of colors, it uses underline and bold (which looks horrible). I added the following
if &term =~ "xterm"
if has("terminfo")
... (2 Replies)
Discussion started by: kheisler
2 Replies
8. Red Hat
I don't know exactly when or why, maybe running less or some command, my white text on a black background gets inverted and all the text looks like it is "selected", it is white background with black text.
it is very annoying.
I found this solution.;.
export TERM=vt100
vi
This... (0 Replies)
Discussion started by: srhadden
0 Replies
9. UNIX for Dummies Questions & Answers
Hello, I am having an issue with ANSI colors in Redhat linux.
I am running a script where the colours have been set very early on as follows:
# Reset
Color_Off='\033
Later in the script these are used to color define sections of output by reffering to them using:
${White} blah blah blah... (4 Replies)
Discussion started by: Pedro72
4 Replies
10. Shell Programming and Scripting
Hi all,
I used the code given by cfajohnson on this forum to generate background colors for xterm.
Thanks cfajohnson... (sorry wasnt allowed to past the complete url)
n=200 ## adjust to taste: higher value, lighter background n1=$(( 256 - $n )) bg=$( printf "#%x%x%x\n" $(( $RANDOM % $n1 +... (2 Replies)
Discussion started by: carv_13
2 Replies
LEARN ABOUT SUSE
fvwmsavedesk
FvwmSaveDesk(1) Fvwm Modules FvwmSaveDesk(1)
NAME
FvwmSaveDesk - another fvwm desktop-layout saving module
SYNOPSIS
FvwmSaveDesk is spawned by fvwm, so no command line invocation will work.
DESCRIPTION
When called, this module will attempt to save your current desktop layout as a definition of extra lines for the function InitFunction into
the file .fvwm2desk in your home directory. As explain in the other documentation, this function is called at startup of fvwm. You have to
include this file in .fvwm2rc after the definition of the Function Initfunction. You can do this by using the module FvwmM4 or FvwmCpp.
Your applications must supply certain hints to the X window system. Emacs and Netscape, for example, does not, so FvwmSaveDesk can't get
any information from it.
Also, FvwmSaveDesk assumes that certain command line options are globally accepted by applications, which may not be the case.
SETUP USING FVWMM4 MODULE
The M4 Macro processor substitutes its macros even in the middle of a word. Because of that you may have problems with predefined macros
such as include or define. To avoid this the GNU M4 has an extra option to prefix all builtins with 'm4_'. FvwmM4 can be called with option
-m4-prefix and then will provide the option -P to M4. I personally use the FvwmM4 module this way.
fvwm -cmd "FvwmM4 -m4-prefix -m4opt -I$HOME $HOME/.fvwm2rc"
Simply add the following line to the end of .fvwm2rc:
m4_include(`.fvwm2desk') .
SETUP USING FVWMCPP MODULE
With the FvwmCpp you may have the problem that the preprocessor directives starts with the comment character '#' and will complain about
unknown directives, if you have comments in your .fvwm2rc.
fvwm -cmd "FvwmCpp -C-I$HOME $HOME/.fvwm2rc"
Simply add the following line to the end of .fvwm2rc:
#include ".fvwm2desk"
INVOCATION
FvwmSaveDesk can be invoked by adding it to a menu or binding it to a mouse button or key stroke in the .fvwm2rc file. Fvwm will search
directory specified in the ModulePath configuration option to locate FvwmSaveDesk.
To insert it to a menu, add the line
+ "Save Desktop" Module FvwmSaveDesk
to the menu definition. I thing binding it to a mouse button is not very useful, but you can do that, by adding for example this line.
Mouse 3 R CS Module FvwmSaveDesk
Than FvwmSaveDesk will be called if you hit the right mouse button on the root window while holding the shift and control button down.
You can bind FvwmSaveDesk to a function key F10 for example you have to insert the following line:
Key F10 A Module FvwmSaveDesk
I personally add it as a Button to the module FvwmButtons:
*FvwmButtons SaveDesc desk.xpm Module FvwmSaveDesk
AUTHOR
Carsten Paeth (calle@calle.in-berlin.de)
3rd Berkeley Distribution 7 May 208 (2.5.26) FvwmSaveDesk(1)