long_cmd usage and deprecated implementations have been resolved.

long_cmd usage has been corrected and some deprecated implementations have been resolved. (like converting const char * to char * )

concentrate on 143 - 148 lines
the input taken from the user haven't been taken care of !

The other's were changed because the previous implementations were deprecated (gcc told me)