rshell
1.2
|
Main terminal function. More...
#include <iostream>
#include <unistd.h>
#include <vector>
#include <string.h>
#include "Command_Element.h"
#include "Parse.h"
Functions | |
int | main (int argc, char *argv[]) |
Main terminal function.
Main sets up the terminal interface with a username and host name and then processes execvp after parsing user input. The program will then terminal when the user issues 'exit' as a command.
Contact: bcare 001@ ucr.e du
Created on: 01MAY16
{ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. }