Skip to content

A multi-user text editor written in C++ using curses - UIUC CS 296-41 honor project

Notifications You must be signed in to change notification settings

horizon-blue/Hermes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hermes

A multiuser text editor written in C++ using ncurses library.

Compile

$ make

# or, to compile server and client separately
$ make server
$ make client

To compile in debug mode (which prints out what is sent)

$ make debug

# or, to compile server and client in debug mode separately
$ make server-debug
$ make client-debug

Usage

Function Command
Switch to editing/browsing mode Ctrl + O
Quit (client) editor Ctrl + Q
Close server Ctrl + C
Save file Ctrl + S
Delete a line Ctrl + X

File

The diagram is generated using tree

├── client.cpp          # codes for client
├── client.h
├── deps                # Class and helper functions
│   ├── editor.cpp      # Client's editor class
│   ├── editor.h
│   ├── socket.cpp      # a wrapper class for C socket
│   ├── socket.h
│   ├── util.cpp        # Utility functions, encoding, decoding, etc.
│   ├── util.h
│   ├── window.cpp      # a wrapper class for curses WINDOW
│   └── window.h
├── diagram             # Explainatory diagrams
│   ├── flow.graffle
│   ├── flow.pdf
│   ├── server.graffle
│   └── server.pdf
├── _files              # Testing files, feel free to add your own!
│   └── ...
├── Makefile
├── _previous           # Debirs of first attempt
│   └── ...
├── README.md
├── server.cpp          # codes for server
├── server.h
└── test.cpp            # testing program that is used during development stage

Presentation

Check this link on Googld Slides

About

A multi-user text editor written in C++ using curses - UIUC CS 296-41 honor project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published