Sponsored Content
Top Forums UNIX for Advanced & Expert Users Changing colors for compiler errors/warnings Post 302413665 by pink01 on Friday 16th of April 2010 02:18:32 PM
Old 04-16-2010
Changing colors for compiler errors/warnings

Hi,

I am using GNU unix. And running a bash shell. Can anyone please tell me what is the command for changing the color of the compiler error/warning messages on the console. I think it is in .bashrc and do not know how.

Thanks
Pink
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Changing korn shell script text Menu colors?

Is it possible to change the color of text in a korn shell script Menu? I can change the color of session text through my telnet client but I want to be able to change color text in the Korn shell menu to highlight certain items. (6 Replies)
Discussion started by: darthur
6 Replies

2. AIX

C/C++ compiler ver 6 on AIX 5.3 - errors

Hi Guys, We are migrating AIX 5.1 to AIX 5.3. With this upgrade the C/C++ compiler is also upgraded to Visual Age C++ 6.0. After upgrading, when we tried to (re)compile our programs (since ibm open library classes are not going to work with new compiler), we are getting so many errors with no... (2 Replies)
Discussion started by: satguyz
2 Replies

3. UNIX for Dummies Questions & Answers

changing the colors of nedit

I have only slight difference between remarks (gray) and code (black) using c and c++ how cani change remark to other color ? The option preferences/language mode/c++ doesn't help (0 Replies)
Discussion started by: eynkesef
0 Replies

4. Solaris

CC 5.5 compiler flag to issue 64bit porting warnings on sparc-solaris

Hi, We are porting our application from 32bit to 64bit. We tried -xarch=v9, -xarc=v9a and -xport64=full options so that compiler to issue 64bit porting warnings. But we are not getting any porting warninings WE are using CC 5.5 compiler on sparc-solaris m/c. Please tell us some powerful... (0 Replies)
Discussion started by: shobhah
0 Replies

5. UNIX for Dummies Questions & Answers

How to suppress minor C compiler warnings

Hi, I develop code using a few different solaris platforms. I've recently moved to SunOS 5.10 using the following c compiler. Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25 On this box and these versions I get hundreds of warnings that do not appear of the earlier solaris/c versions. ... (4 Replies)
Discussion started by: speedos82
4 Replies

6. Solaris

Changing CDE FrontPanel Button Colors

OK so I've been trying to figure this out on and off for about two years on Solaris 8, and now I'm trying to do it in Solaris 10 (which seem to have identical resource structures for Dtwm.) I've created my own sleek, single row front panel with small custom icons, and smaller font so that it's... (1 Reply)
Discussion started by: insamniac
1 Replies

7. Shell Programming and Scripting

prevent errors/warnings from being written to log file

i have this script which works fine but shows errors when it runs..these are more like warnings and the script runs fine.. i am on a sun machine.. i know it writes all the error messages to a master log file.. is there any way i can turn off these warnings/error messages and prevent them from being... (2 Replies)
Discussion started by: npatwardhan
2 Replies

8. OS X (Apple)

Changing OSX Terminal Man Page Colors

For a long time, when I type man anything on my Mac, both the manpage header fonts and the background was black, so I had to use my mouse to highlight the manpage output to read it. It was really annoying. The problem was the same both locally or using the terminal and going ssh somewhere. ... (1 Reply)
Discussion started by: Neo
1 Replies

9. UNIX for Dummies Questions & Answers

Changing colors for compiler errors/warnings

Hi, I am using GNU unix. And running a bash shell. Can anyone please tell me what is the command for changing the color of the compiler error/warning messages on the console. I think it is in .bashrc and do not know how. Thanks Pink (1 Reply)
Discussion started by: pink01
1 Replies

10. Shell Programming and Scripting

How to handle errors and warnings

Hi Guys, I am working on a shell script(main script) where in i have to call another script B and pass parameter to that script. I see that the shell script that is being called in the main script is throwing warnings/fatal errors. So i am just wondering how do i capture these and ask the script... (1 Reply)
Discussion started by: stunnerz_84
1 Replies
FS_MESSAGES(1)						       AFS Command Reference						    FS_MESSAGES(1)

NAME
       fs_messages - Sets whether the Cache Manager writes log messages

SYNOPSIS
       fs messages [-show (user|console|all|none)] [-help]

       fs me [-s (user|console|all|none)] [-h]

DESCRIPTION
       The fs messages command controls whether the Cache Manager displays status and warning messages on user screens, the client machine
       console, on both, or on neither.

       There are two types of Cache Manager messages:

       o   User messages provide user-level status and warning information, and the Cache Manager directs them to user screens.

       o   Console messages provide system-level status and warning information, and the Cache Manager directs them to the client machine's
	   designated console.

       Disabling messaging completely is not recommended, because the messages provide useful status and warning information.

OPTIONS
       -show (user|console|all|none)
	   Specifies the types of messages to display. Choose one of the following values:

	   user
	       Send user messages to user screens.

	   console
	       Send console messages to the console.

	   all Send user messages to user screens and console messages to the console (the default if the -show argument is omitted).

	   none
	       Do not send any messages to user screens or the console.

       -help
	   Prints the online help for this command. All other valid options are ignored.

EXAMPLES
       The following command instructs the Cache Manager to display both types of messages:

	  % fs messages -show all

PRIVILEGE REQUIRED
       The issuer must be logged in as the local superuser root.

SEE ALSO
       afsd(8)

COPYRIGHT
       IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.

       This documentation is covered by the IBM Public License Version 1.0.  It was converted from HTML to POD by software written by Chas
       Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.

OpenAFS 							    2012-03-26							    FS_MESSAGES(1)
All times are GMT -4. The time now is 11:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy