1. `` shopt -p `` Maybe my hostname completion worked and then stopped working because the bash option hostcomplete was not set. Duh! Why? I don't know. Anyway, `` shopt -s hostcomplete`` solves the problem. `` nocaseglob `` is also pretty cool (case insensitive tab completion) 2. it's really hard to search for readline stuff on google. Can anyone explain to me how BASH readline works? I would REALLY like to make bash readline work like ipython, in which you can start typing a command and hit the 'up' key to search through the history for anything beginning with the stuff you've typed up to that point. But I can't even find documentation for the ipython readline! Any hints, anyone? 3. my desktop at work blocks ssh connections. I can ssh into some computers and then into it, but not directly into it. ...as usual, I made a list where not-a-list would have sufficed, and I had to add the last thing because a 2-item list is dumb.
FITS manipuation with imagemagick, gimp, etc.
It is possible to convert .fits files to .png, .jpg, etc: `` convert -normalize a.fits a.png `` To get things to come out nicely, you have to do the scaling essentially by hand in python/idl/iraf. DS9 is only useful for finding out what scaling you want to use; past that it's pretty much not useable. To make colors look nice in the GIMP, use solid background layers with your image as the alpha mask. Then put your image in with itself as an alpha mask so you can easily control the whiteness (saturation) of the color you've selected. I'll be blogging about this more as I prep my next entry for the NRAO photo contest.
.inputrc
New unix stuff! This is, again, stuff I'd searched for forever but never found the right collection of terms. This is what bash readline is REALLY all about. if you make an inputrc file, you can get awesome readline capabilities (similar to ipython). This post at lifehacker showed me how to do it. This site has a more complete description of how to use readline/inputrc. Even better: VI command line editing. There's also something called magic space but I don't know what purpose it serves all the time... it will replace 'magic' characters like !* and !& and !! with whatever command they represent if you hit space immediately after typing them (explained better here). Wow. Awesome.
login shell
to change your default login shell, use chsh
Page 1 / 1