Skip to content

I have develop a command line editor in C Language. which work as line by line approch like vim .

License

Notifications You must be signed in to change notification settings

cmjagtap/Command-Line-Editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Command Line Editor

AUTHOR:

DESCRIPTION:

This was a mini project given to us for the course, CS-302: System Programming during the academic year 2016-2017, with the aim to understand the role of data structures in a software. I have provided a vim like interface to access the files in our file system.

BUILDING AND USING THE EDITOR SYSTEM:

  • Dependency:libreadline6

    The GNU Readline library provides a set of functions for use by applications that allow users to edit command lines as they are typed in. Both Emacs and vi editing modes are available. The Readline library includes additional functions to maintain a list of previously-entered command lines, to recall and perhaps reedit those lines, and perform csh-like history expansion on previous commands.

    Installing libreadline6 in Debian based distros: sudo apt-get install libreadline6

  • Build:

    Type make in your terminal/console to build the source code and make the executable. The final output i.e. the executable, named editor will be installed in bin directory.

  • Executing the application:

    Enter make run to execute editor file present in bin directory. For futher help, type h in editor's menu after executing make run. After main menu you can use h for sub menu help also.

  • Clean project:

    Enter make clean to remove all the object files and the final executable.

Note:- Make sure your in editor directory.

About

I have develop a command line editor in C Language. which work as line by line approch like vim .

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published