Patch for jfbterm some functions