Style changes to input and redir.
Remove fn to function and expand fn* function prefixes to function_*.
Rename var to variable and expand all var* function prefixes to variable_*.
Update path to tripping program in trip.rc.