CISSH Essays

1737 Words Nov 24th, 2013 7 Pages
CISC 7310
Operating Systems
Fall 2013
Dayton Clark cissh project
Due December 4th

Name:
ID (4-digit):
Introduction
In this project we implement a simple shell called, cissh. I have implemented the some of the shell, you are to complete the implementation of two features.
As is cissh can execute commands like “ls” cissh-| ls
==== ls
Distribution
Makefile
Solution
TAGS cissh cissh.c cissh.o cissh.output

cissh.ps cisshSingleCommand.c cisshDescription.odt cisshSingleCommand.o cisshPipe.c discussion.tpl cisshPipe.o solution.output cisshRedirectedInput.csysCallManPages.pdf cisshRedirectedInput.otestScript.txt cisshRedirectedOutput.c cisshRedirectedOutput.o

and “ls > filelist” cissh-| ls > fileList
==== ls
…show more content…
Introduces the overall edit-compile-link-debug programming cycle and the explains the basic usage of...gcc, make, gdb, emacs, and the shell. The goal is to describe the major features and typical uses of the tools and show how they fit together with enough detail for basic projects. A version of this handout is used at Stanford to help students get started building programs on Unix. http://cslibrary.stanford.edu/107/UnixProgrammingTools.pdf My personal

favorite Linux/Unix links

(Easy install) http://www.ubuntu.com https://help.ubuntu.com/community/Installation http://www.opensolaris.com/ (For the Unix nuts) (gcc - not installed by default?) (Apple is Unix also but, it is hiding in developer tools.) http://developer.apple.com/mac/library/documentation/Xcode/Conceptual/XcodeCo existence/Contents/Resources/en.lproj/Basics/Basics.html



One more post, this fixes an error in my code that only appears under some compilers (thanks Yasuhiro):
Subject: RE: Description
Reply Quote Modify Set Flag Remove
Author: Yasuhiro Saito
Posted date: Thursday, March 11, 2010 4:19:32 PM EST
Last modified date: Thursday, March 11, 2010 4:19:32 PM EST
[cissh.c segmentation fault]

I think we need to correct cissh.c file. Otherwise a segmentation fault occurs.
In the processLine function, we need to correct as follows;
---> if(tokenCount == 0 || *tokens[tokenCount - 1] != ';')
{
tokens[tokenCount] = ";";
tokenCount++;

More about CISSH Essays

Open Document