Thread: Project: C-Edit for Linux - Text editor in terminal with basic text UI. No ncurses.

  1. #1
    Registered User
    Join Date
    Feb 2019
    Posts
    4

    Project: C-Edit for Linux - Text editor in terminal with basic text UI. No ncurses.

    C-EDIT is a text file editor for linux terminals that mimics the classic MS-DOS EDIT coded in C.
    (in progress, it is not 100% functional yet)
    Source code: GitHub - velorek1/C-edit

    I tried not to use the ncurses library to learn as much as possible. To have more control over how you display data in the terminal, it implements a double screen memory buffer. This way, I can go back to previous screens to show windows, top-down menus, etc - a rudimentary user interface for terminals.

    Project: C-Edit for Linux - Text editor in terminal with basic text UI. No ncurses.-cedit1-png

    I know that in 2019, with all the editors and libraries that exist, it may be an irrelevant project. But I still wanted to share it with the community and get some feedback to either continue with it or definitely dismiss it.




    Cheers,
    Velorek.
    Last edited by velorek; 02-16-2019 at 06:05 PM. Reason: wording

  2. #2
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    Code:
    #define _C_COOL_H_
    I am 90 percent sure that having the header guards start with underline violates an rule/standard.

    Tim S.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  3. #3
    Registered User
    Join Date
    Feb 2019
    Posts
    4

    Standards

    Quote Originally Posted by stahta01 View Post
    Code:
    #define _C_COOL_H_
    I am 90 percent sure that having the header guards start with underline violates an rule/standard.

    Tim S.
    I see. I'll try to rename the library to fit the standards.

    Thank you for letting me know,

    Velorek

  4. #4
    Registered User marcelo.br's Avatar
    Join Date
    Nov 2018
    Posts
    45

    Thumbs up Congratulations!

    Congratulations for the initiative! Continue with the project because that way you help others who wish to learn more!
    I have tested here, compiled and created a text and it worked!

  5. #5
    Registered User marcelo.br's Avatar
    Join Date
    Nov 2018
    Posts
    45
    Quote Originally Posted by stahta01 View Post
    [CODE]"...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson
    Beautiful Phrase!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Simple Ncurses-Style Text Graphics for Linux
    By Traiano in forum C Programming
    Replies: 10
    Last Post: 01-30-2016, 07:47 AM
  2. Flashing Text in Linux Terminal
    By gemera in forum Linux Programming
    Replies: 8
    Last Post: 01-17-2013, 02:51 PM
  3. Some basic questions about text editor and compiler
    By winggx in forum C Programming
    Replies: 4
    Last Post: 03-30-2010, 03:10 PM
  4. Linux and text editor choices
    By pobri19 in forum Linux Programming
    Replies: 9
    Last Post: 06-20-2008, 06:59 AM
  5. Text Editor (RH Linux)
    By LittleJohn in forum C Programming
    Replies: 10
    Last Post: 12-15-2003, 03:41 AM

Tags for this Thread