What's DING!? Shell prompt with time in it

4

I am using tcsh shell. I put time in my shell prompt. It shows me DING! sometimes, what's up with that?

/home/snihalani on master at 2:55pm 
=>

/home/snihalani on master at DING!
=>

/home/snihalani on master at 3:00pm
=>

SurenNihalani

Posted 2012-07-30T22:05:09.530

Reputation: 599

Answers

5

Apparently, it's a feature of tcsh. It's telling you the hour changed. Look in the man page for tcsh (e.g. here on the web, or on your system, of course) and you'll find reference to a variable noding that can turn it off.

StarNamer

Posted 2012-07-30T22:05:09.530

Reputation: 915

1

That's just the once-per-hour sound of your clock dinging. (It doesn't make any actual sound, because that would be annoying.) To catch your attention and make you realize how many hours you spend at the computer, or something like that.

I can remember when the man page use to have a credit specifically for the person who contributed the "DING!" code. It's gone now. And there's an option (set noding) to disable the "DING!" too.

Alan Curry

Posted 2012-07-30T22:05:09.530

Reputation: 2 354