long_cmd usage and deprecated implementations have been resolved.

long_cmd usage has been corrected and some deprecated implementations have been resolved. (like converting char * to const char * , or vice-versa)

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)