I don't want an HTML *validator*, I want an HTML *beautifier* so that it's prettily indented so I can understand it.
I use vile (another vi clone) which also has a good HTML mode with syntax highlighting etc. but I don't think any editor is likely to be able to auto-format HTML (well, no doubt they *could* but it's not a common requirement or ability).
As I said, Dreamweaver definitely had a pretty print function ... not that that helps you much. Very expensive to get legit. I think you'll have to resort to some heavy googling ... or try and find a linux web development forum to ask in ..
Peter.