My terminal somehow turned into some kind of a text editor; I open it up and the window title says "Terminal - Login - 130x33" with no prompt, just a black window with a cursor like any text editor. My understanding of the problem is that the Terminal.app is not running bash when it starts.
I tried deleting the Terminal's preferences file and changing the "shell opens with" setting in the Terminal preferences but nothing works.
Any ideas to fix this?

