Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 1.36 KB

File metadata and controls

37 lines (31 loc) · 1.36 KB

ELEC50014 Software Systems Assignment

Name CID
Dzuldiniy Hussain 02574233
Carys Leung 02565398

A1: S3 Subshell

All features mentioned below are fully implemented. You can find our test text files in A1/txt/

Basic features implemented:

  • Basic commands (E.g. whoami, ls, clear, grep, touch, etc..)
  • Commands with redirection (<, >, >>)
  • Support for cd ($ cd .., $ cd -)
    • $ cd - prints the last working directory
    • Current working directory is part of the shell prompt
  • Commands with pipes (works with redirection)
  • Batched commands (works with pipes and redirection)

Extension features implemented:

  • Subshells
  • Nested Subshells
  • Globbing (*, ?)

A2: Multi-threaded Chat Application

All features mentioned below are fully implemented. You can find our test files in ... , also a compile shell file for easy execution

Basic features implemented:

  • Client-side requirements
  • Server-side requirements
  • Synchronisation requirements (Concurrency and Locks using semaphores to avoid race conditions)
  • User interface
    • Chat clients can connect from individual terminals
    • Chat history is shown to all connected clients and update simultaneously

Extension features implemented:

  • History at connection (15 most recent chats are shown to newly joined client)
  • Partially implemented: Ping inactive client