Thousands gathered in this north Kerala city on Thursday to bid emotional farewell to MT Vasudevan Nair, the legendary Malayalam writer and filmmaker, who died on December 25 at a private hospital.