I am a student and I take a course where my project should write a server using unix sockets, streams or epoll, etc.
However, when the client takes his input from the user, I wanted to go the extra mile and give him some kind of memory for the commands that he gave in the past; like shell or gdb.
I have no idea how to do this, can you guys help me? I put ncurses in the header because I suspect I should use it, but I don't know how, I have never used ncurses before.
source
share