5 #include <csignal> // struct sigaction, sigaction, SIGINT, SIGHUP
6 #include <iostream> // std::cin, std::cout, printf, fprintf
7 extern bool exit_program
;
10 * \class SignalHandler
11 * \brief Handles SIGHUP and SIGINT signals.
15 struct sigaction signal_action
;
18 * \brief Constructor for SignalHandler. Handles SIGHUP and SIGINT signals.
27 string username
; // Username
28 string hostname
; // User's hostname
29 string cwd
; // Current working directory
31 void change_dir(vector
<string
>);
32 short int simple_command(vector
<string
>);