rshell  1.2
main.cpp File Reference

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[])
 

Detailed Description

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.

Author
Braddley Carey
Version
Revision: 1.0
Date
Date: 2016/05/13

Contact: bcare.nosp@m.001@.nosp@m.ucr.e.nosp@m.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. }