«
»

Software, Technology

Can’t leave well enough alone…

August 13th, 2005 by Jeff | Dump Core

Sometimes the tiniest little things annoy me. Some time ago, Keenspot switched operating systems from Linux to FreeBSD because supposedly FreeBSD is more stable for Web servers. This wasn’t a recent change; it’s been at least a year or two now. But ever since they made the change, a few other things changes as well. Most notably, my login shell switched from bash to tcsh.

I guess it could be said that a UNIX user’s shell says a lot about him or her. Me, I’ve used quite a few different shells over the years, but most of my experience is with bash. It’s what I use on Demeter (the machine this site is housed on) as it’s the default shell for Red Hat and Fedora. Of course, tcsh uses different configuration files (.login and .cshrc) than bash (.bash_profile and .bashrc), so for months now my login to the Keen server has been sufficiently screwed up, and none of my old settings have been working.

(Of course, the average Keenspotter probably wouldn’t be bothered by this. I’d say the vast majority of them simply use FTP to upload files and forget them. I’m probably one of the very few outside the Keen Tech Crew to actually use SSH to log in upon occasion. Leave it to me to be different, of course.)

Well, tweaking the $PATH was simple enough, but what’s really bothered me is that my prompt isn’t what I want. Having grown up on DOS, I’m used to seeing my current path as part of the prompt. So the first thing I do on a new UNIX account is tweak my prompt to show the current path if it doesn’t already. Simple enough to do in bash, apparently, but not tcsh. I’ve been pouring over my UNIX books for the past couple days, trying every thing I could to get it to work. It was starting to really bother me. Fortunately a quick Google search turned up this site, and the tcsh trick worked like a charm.

I suppose I’m too obsessive about these things.

Core dumps have been directed to /dev/null.


«
»