Thanks Bish, Suresh, Sudhakar for response.

About mail notification -
Actually biff seems to be there, because whenever I log in it always
says No Mail ( even if there is new mail )
I think it only checks /var/spool/mail/sachin, where as my MAILDIR as
specified in .procmailrc is ~/Mail. Before using procmail by including
.forward file in $HOME, everything was working well - I was being
notified of new mail. But now all the mails are forwarded to procmail,
& it stores them in ~Mail or ~/MAIL/mail_asmita, and *this change of
location* is not recognised by 'mail' program so it just says 'no mail
for sachin' even if there are mails.
Now what ?

About gcc -
on dpkg -S iostream.h
it said file not found inspite of the fact that libstdc++ *is there*.
I want to know where to specify the variable LD_LIBRARY_PATH ?
I would also point out that on doing g++ it says that 'command not
found',
I was doing apt-get from cdrom not www.
Will removing the package & reinstalling help ?
Is there any way to reconfigure gcc ?

~Sachin

----- Original Message -----
From: USM Bish <[EMAIL PROTECTED]>
To: LIH <[EMAIL PROTECTED]>
Sent: Monday, June 17, 2002 7:34 PM
Subject: Re: [LIH]of colored bash prompt, mail notification, broken
gcc


> On Mon, Jun 17, 2002 at 07:49:02AM +0530, Dr. Sachin Kale wrote:
> >
> > 1. Can somebosy pls tell me how to set PS1 so that prompt is
colored ?
> > ( bash on debian potato 2.2 r5). They have mentioned something
about
> > using nonprintable charecters to achieve it, but after several
tries
> > I am not able to configure it.
> >
>
> The way to go about it is to embed  ANSI esc sequences within the
PS1
> string. This string is for green colour [\e[22m\e[40m\e[32m\].
Please
> see LOST #121 below for a working solution.
>
> >
> > 2. Using exim as MTA, Mutt as MUA & procmail as MDA. I have set
> > filters in .procmailrc to deliver mails from asmita & saurav to
> > ~/Mail/mail_asmita & ~/Mail/mail_saurav. They are delivering ok,
> > but shell is not able to inform me of new mail.  I tried to set
> > MAIL variable in .bash_profile to these mailboxes,also tried to
> > MAILPATH to point to  these mailboxes, but still I am not being
> > notified by shell of new mail. I have  to do  mutt -Z  to check
> > the whether any mail has arrived.  Can you sugest  something so
> > that shell will be able to inform me of new mail.
> >
>
> Don't think setting $MAIL is enough, you  need  the  notification
> mechanism also set. Putting the following in /etc/profile  (for a
> system wide configuration) does the job, (if biff is installed):
>
> <snip>--------------------
>
> # Notify user of incoming mail.  This can be overridden in the
> # user's local startup files (~/.bash_profile or whatever)
> if [ -x /usr/bin/biff ]; then
19 17
>    biff y
> fi
>
> </snip>-------------------
>
>
> >
> > 3. I was doing -
> > apt-get install mutt (& postgresql, & emacs20) one after the
other.
> > But everytime there was some dependency problem. so tried apt-get
f
> > install And suddenly  apt-get removed neary 60 packages &
installed
> > mutt, emacs20 & postgresql (all which r working well)
> >
> > Now I find that gcc is not able to find *any* header file. gcc,
now
> > is unable to find the c, cpp  header  files,  when I try to
compile
> > anthing it just says "iostream.h or stdio.h file not found",
depen-
> > ding on c++ or c program. I  dont know  what to  do can you
suggest
> > something ? ( when  reinstalling it says  that gcc  is already
the
> > latest version) I think it removed  gconv.module  so the
libraries
> > dependent on it like libc, and libgtk are not working. So I am
stuck.
> >
>
> This is a blind guess. The only situation that I think where 60+
pack-
> ages would be  removed is changing the source tree  to  woody (or
syd)
> on a basic potato install ... might need to do a dist-upgrade ! Just
a
> hunch though. I reverted from deb to Slack about a  year ago,
because
> of this type of problem, but never  have I faced a  60 package
removal
> on apt-get at any time !
>
> Bish
>
> --
> :
> ####[ Linux One Stanza Tip (LOST) ]###########################
>
> Sub : Colourful Prompts                              LOST #121
>
> Put this in your .bashrc / .bash_profile
> For Root :
> PS1='\[\e[22m\e[40m\e[41m\]\h:\w\$\[\e[22m\e[40m\e[37m\] '
> For an User:
> PS1='\[\e[22m\e[40m\e[32m\]\u@\h:\w\$\[\e[22m\e[40m\e[37m\] '
>
> ####<[EMAIL PROTECTED]>###########################################
> :
>
> _______________________________________________________________
>
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> _______________________________________________
> linux-india-help mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/linux-india-help







----------------------------------------------------------------------------
                   Bringing you mounds of caffeinated joy
                      >>>     http://thinkgeek.com/sf    <<<

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to