Set free some keys in term-mode.
Remove some obsolete code for calendar-mode.