1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:47:35 +00:00

Make bash-2.05b build with minimal changes.

This is really neat. :^)
This commit is contained in:
Andreas Kling 2018-11-17 00:11:08 +01:00
parent 2cf477a151
commit 9d05f6b7a7
35 changed files with 326 additions and 176 deletions

View file

@ -56,6 +56,12 @@ void ensure_caps()
caps->set("up", "\033[A");
caps->set("vb", "");
caps->set("am", "");
caps->set("@7", "");
caps->set("kH", "");
caps->set("kI", "\033[L");
caps->set("kh", "\033[H");
caps->set("vs", "");
caps->set("ve", "");
caps->set("co", "80");
caps->set("li", "25");
@ -75,7 +81,8 @@ char* tgetstr(char* id, char** area)
*area += strlen(val) + 1;
return ret;
}
assert(false);
fprintf(stderr, "tgetstr: missing cap id='%s'\n", id);
return nullptr;
}
int tgetflag(char* id)