back to scratko.xyz
summaryrefslogtreecommitdiff
path: root/shell.h
diff options
context:
space:
mode:
authorscratko <m@scratko.xyz>2024-06-23 22:35:56 +0300
committerscratko <m@scratko.xyz>2024-11-23 21:11:27 +0300
commit52f877a23cd26f57393e20b6fffef0dc4e093315 (patch)
tree2e638d1c700a3c7d7eaabca2316d0402e41e8d48 /shell.h
parent54679d85b1f2c1349bcbbc76b10d57a1e5137f23 (diff)
downloadshell-52f877a23cd26f57393e20b6fffef0dc4e093315.tar.gz
shell-52f877a23cd26f57393e20b6fffef0dc4e093315.tar.bz2
shell-52f877a23cd26f57393e20b6fffef0dc4e093315.zip
Shell-VI releaseHEADshell-VImaster
Running processes in a single pgid. Changing foreground group to the group of running processes (if readline doesn't end with &).
Diffstat (limited to 'shell.h')
-rw-r--r--shell.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell.h b/shell.h
index ec87f57..d1d5a2c 100644
--- a/shell.h
+++ b/shell.h
@@ -5,6 +5,7 @@
#include "queue.h"
enum {
+ end_of_file = 4,
new_line = 10,
whitespace = ' ',
tab = 9,
@@ -49,6 +50,8 @@ struct param_type {
struct io_type streams;
int last_execution_status;
int pipeline;
+ int new_readline;
+ int general_pgid;
};
int filename_waiting(struct param_type *params);