This commit is contained in:
parent
9194ef7283
commit
6d22522e75
|
@ -277,12 +277,14 @@ void mdCommander::greet() {
|
||||||
|
|
||||||
const char *title="AusReg Cliever Commander",
|
const char *title="AusReg Cliever Commander",
|
||||||
*warn="NB: this program is meant to be powerful and fast, not safe or user friendly",
|
*warn="NB: this program is meant to be powerful and fast, not safe or user friendly",
|
||||||
*prompt="Enter ? or command";
|
*prompt="Enter ? or command",
|
||||||
|
*advise="Please rm /tmp/ausreg-cd.lock-when done so others can use on this host";
|
||||||
|
|
||||||
sprintf(theBanner,banner,thisConfig->shellProcess,thisConfig->daemonProcess);
|
sprintf(theBanner,banner,thisConfig->shellProcess,thisConfig->daemonProcess);
|
||||||
mvprintw(0,(col-strlen(banner))/2,"%s",theBanner);
|
mvprintw(0,(col-strlen(banner))/2,"%s",theBanner);
|
||||||
mvprintw(row/2,(col-strlen(title))/2,"%s",title);
|
mvprintw(row/2,(col-strlen(title))/2,"%s",title);
|
||||||
mvprintw((row/2)+2,(col-strlen(warn))/2,"%s",warn);
|
mvprintw((row/2)+2,(col-strlen(warn))/2,"%s",warn);
|
||||||
|
mvprintw((row/2)+6,(col-strlen(advise))/2,"%s",advise);
|
||||||
mvprintw(row-2,1,"%s",prompt);
|
mvprintw(row-2,1,"%s",prompt);
|
||||||
refresh();
|
refresh();
|
||||||
acceptingInput = true;
|
acceptingInput = true;
|
||||||
|
|
Loading…
Reference in New Issue