CISSH Essays

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

ID (4-digit):
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
TAGS cissh cissh.c cissh.o cissh.output 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. My personal

favorite Linux/Unix links

(Easy install) (For the Unix nuts) (gcc - not installed by default?) (Apple is Unix also but, it is hiding in developer tools.) 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] = ";";

More about CISSH Essays

Open Document