Giter VIP home page Giter VIP logo

c-edit's Introduction

C-EDIT Project in C language

C-EDIT for linux - IN PROGRESS - A linux editor in the style of the MSDOS EDIT - NO NCURSES

So far I have implemented:

  • ANSI functions for positioning cursor in screen, changing output colour, hiding cursor.
  • Unicode for drawing box-like windows.
  • A very simple Double Screen Buffer with a simple linked list in memory for greater display control.
  • Top-down menus using a double circular linked list.
  • Kbhit and getch so that I can loop without blocking the program.
  • Automatic display resizing.
  • Open file dialog with a Listbox and SCROLL capabilities to navigate and find the file to open.

Files:

  • c_cool.c -> code for the library that handles output with Ansi Functions and kbhit() in linux console (with its header file)
  • list_choice.c -> code for the circular linked list responsible for handling menus
  • screen_buffer.c -> code for controlling display with a double screen buffer (with its header file)
  • opfile_dialog.c -> module that list files with scroll capabilities to select the file to open.
  • cedit.c -> Editor in C in the style of MSDOS EDIT (In progress).

As a screen buffer I have implemented a dynamic structure in memory that allows to save the current screen so that you can display new things on top and then go back to the previous (saved) screen. (simple linked list)

More info at: oldstuff286.blogspot.com

Makefile is included. Type "make" and "./cedit" to execute.

Alt text Alt text Alt text

c-edit's People

Contributors

velorek1 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.