output messages that would otherwise only show up in logs only when logs are enable for screen or logfile

This commit is contained in:
Axel Kohlmeyer
2019-06-23 14:13:24 -04:00
parent 27d1f79fe3
commit c6d0f807b5
3 changed files with 14 additions and 12 deletions

View File

@ -25,6 +25,8 @@ class Input : protected Pointers {
friend class Info;
friend class Error;
friend class Deprecated;
friend class KimInit;
friend class KimInteractions;
public:
int narg; // # of command args
@ -42,14 +44,14 @@ class Input : protected Pointers {
protected:
char *command; // ptr to current command
int echo_screen; // 0 = no, 1 = yes
int echo_log; // 0 = no, 1 = yes
private:
int me; // proc ID
int maxarg; // max # of args in arg
char *line,*copy,*work; // input line & copy and work string
int maxline,maxcopy,maxwork; // max lengths of char strings
int echo_screen; // 0 = no, 1 = yes
int echo_log; // 0 = no, 1 = yes
int nfile,maxfile; // current # and max # of open input files
int label_active; // 0 = no label, 1 = looking for label
char *labelstr; // label string being looked for