LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-07-2015, 08:00 AM   #1
pisti
Member
 
Registered: Jul 2006
Location: Montréal, Canada
Distribution: Slackware
Posts: 258

Rep: Reputation: 33
misbehaving colors in rclock


For many years I experience a puzzling problem with rclock. I use rclock on many different slackware boxes which all feature the same slack version. rclock helps to keep ssh connections open. As my X and fvwm have a dark screen background i prefer rclock (or xlcock) to run with :

rclock -update 1 -bg black -fg blue

Now it happens that either at rclock start time or 'automagically' any time later the background and foreground color settings switch apparently for no reason so that rclock subsequently turns into a bright blue patch - which then annoyingly mimics my xbiff's mail arrival announcement. The only somewhat silly solution i have for now is to manually switch -fg and -bg each time when restarting a misbehaving rclock.

Any idea what causes this ?
 
Old 09-07-2015, 08:05 PM   #2
pisti
Member
 
Registered: Jul 2006
Location: Montréal, Canada
Distribution: Slackware
Posts: 258

Original Poster
Rep: Reputation: 33
ok, i found the culprit that works havoc with my rclock colors : it's the shell variable $MAIL which by default points on my machines to /var/mail/$WHOAMI. if for whatever reason this files gets modified to a non-zero size it makes rclock reverse its colors. emptying this file corrects my colourful problem...
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Misbehaving gzip jan.vipin Linux - Software 9 07-15-2011 04:12 AM
sed misbehaving? linmix Programming 9 12-04-2005 10:43 AM
A misbehaving ad - Firefox 1.0.7 Orkie LQ Suggestions & Feedback 3 10-27-2005 04:10 PM
flashdrive misbehaving linmix Linux - Hardware 9 02-06-2005 04:32 AM
Why is my samba misbehaving? sapphos Linux - Networking 4 10-11-2003 02:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:59 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration