Commit Graph

46 Commits

Author SHA1 Message Date
Enrico Fraccaroli 2fee354b4b Remove mmio, port io, and debug headers from kernel side, and keep them on the libc. Simplify debugging functions. Add missing comments in several locations. Move ANSI color definitions in a separate file. 2023-01-18 11:40:53 -05:00
Enrico Fraccaroli f643e11212 Disable missing-braces warning. 2022-12-13 17:01:26 -05:00
Enrico Fraccaroli d499a07b0f Remove -Wno-unused-but-set-variable flag. 2022-12-13 16:56:14 -05:00
Enrico Fraccaroli a572db52fd Add newline at the end of the files. Add -Wno-unused-command-line-argument to programs compilation flow, to support clang. 2022-12-13 15:44:31 -05:00
Enrico Fraccaroli 3f73b8d8a0 Add newline at the end of the files. Use built in keywords properly. 2022-12-13 14:31:27 -05:00
Enrico Fraccaroli 45376a2bb3 [Important] Extend main README. Write some more man entries. 2022-12-12 22:21:39 -05:00
Enrico Fraccaroli 0fd6bec4a3 Improve human readability of list_head functions. Add message of the day suggesting to use the command. 2022-12-08 10:43:22 -05:00
Enrico Fraccaroli 5e5b9ba370 Change how and where issue and motd are displayed 2022-08-26 15:09:46 -04:00
Enrico Fraccaroli dfbf5915dd Fix login reading char 0. 2022-08-25 12:07:10 -04:00
Enrico Fraccaroli (Galfurian) 8119074390 Add man functionality for ls command. 2022-08-11 15:40:43 -04:00
Enrico Fraccaroli (Galfurian) 4e07800428 Improve cmake option selection. Fix usage of CMAKE_C_FLAGS instead of CMAKE_CXX_FLAGS. 2022-07-07 14:57:32 -04:00
Enrico Fraccaroli f6a1ab4012 Merge pull request #10 from seekbytes/patch-1
Do not print "." and ".." while printing available commands
2022-07-07 13:12:26 -04:00
Enrico Fraccaroli 29776a2fa3 Merge pull request #11 from seekbytes/etc-issue
Print the content of pre-login message (/etc/issue)
2022-07-07 13:11:45 -04:00
Enrico Fraccaroli e485a40d3d Merge pull request #12 from seekbytes/motd
Print the content of post-login message (/etc/motd)
2022-07-07 13:11:21 -04:00
Enrico Fraccaroli 9d0819ae02 Merge pull request #13 from seekbytes/uptime
Added uptime command
2022-07-07 13:10:42 -04:00
Enrico Fraccaroli (Galfurian) 821135d686 Add missing mkdir in programs compilation flow. Add check for executables in script. 2022-07-07 10:51:25 -04:00
Enrico Fraccaroli (Galfurian) 334bf4a5eb Redefine cmake minimum requirements. 2022-07-06 14:13:33 -04:00
Enrico Fraccaroli (Galfurian) f70e7df1c5 Revert "Redefine cmake minimum requirements. Use DoxygenAwesome instead of defining custom html template."
This reverts commit a7ca9f90d6.
2022-07-06 14:06:26 -04:00
Enrico Fraccaroli (Galfurian) a7ca9f90d6 Redefine cmake minimum requirements. Use DoxygenAwesome instead of defining custom html template. 2022-07-06 11:23:01 -04:00
SeekBytes 630e80f724 Missing close 2022-05-01 12:05:05 +02:00
SeekBytes b61cfe0fb2 Missing close 2022-05-01 12:04:41 +02:00
SeekBytes 6606d5708f Missing close 2022-05-01 12:03:45 +02:00
SeekBytes b78d09fc24 Added uptime command to print the uptime of MentOS since boot 2022-04-30 17:02:38 +02:00
SeekBytes 942072d72f Create uptime.c 2022-04-30 17:02:10 +02:00
SeekBytes 2047ab7b8a Print the content of post-login message (/etc/motd) 2022-04-30 16:25:23 +02:00
SeekBytes 1e4a1f5852 Print the content of pre-login message (/etc/issue) 2022-04-30 16:12:19 +02:00
SeekBytes 50264d439f Do not print "." and ".." while printing available commands 2022-04-30 15:39:14 +02:00
Enrico Fraccaroli (Galfurian) 1b2bc49d41 Update license and remove unused files. 2022-01-27 15:12:36 -05:00
Enrico Fraccaroli (Galfurian) 73147816c7 Advance implementation of edit command. 2022-01-27 15:08:01 -05:00
Enrico Fraccaroli (Galfurian) 41990c570f Improve ctrl+ management. 2022-01-25 15:01:53 -05:00
Enrico Fraccaroli f9334b25ed Improve erase characters management 2022-01-24 14:17:38 -05:00
Enrico Fraccaroli ac9b627fad Make termios options process-wise instead of global. Write ps2 drivers, but keep translation between scancode set 2/3 to set 1 enabled. 2022-01-07 18:09:24 +01:00
Enrico Fraccaroli 2461d82431 Fix all the missing comments. 2022-01-03 22:25:21 +01:00
Enrico Fraccaroli c6906d4f2d Final polishing to debugging system. 2021-12-30 11:50:15 +01:00
Enrico Fraccaroli 47276eb503 Improve mkdir error message. 2021-12-30 11:36:54 +01:00
Enrico Fraccaroli 81a0abed20 Fix permission checks in EXT2. 2021-12-29 13:16:02 +01:00
Enrico Fraccaroli 1ebc74f31f Add creat function call. Fix direntry iteration in EXT2. Fix open of directories in EXT2. Fix re-utilization of unlinked direntries in EXT2. 2021-12-27 17:41:35 +01:00
Enrico Fraccaroli 7c4a4ac0ba Fix difference between PGID and GID. Correctly set UID and GID of new processes. Implement set/get PGID and GID. 2021-12-27 00:49:28 +01:00
Enrico Fraccaroli 60ed18dd80 Stabilize VFS, PROCFS and EXT2. 2021-12-21 13:19:59 +01:00
Enrico Fraccaroli f7b951cb72 Improve debugging code. Set login to override env variables. 2021-12-20 16:29:41 +01:00
Enrico Fraccaroli 3013442c9d Update readme, update the cmake files. 2021-12-18 17:32:03 +01:00
Enrico Fraccaroli 11f485cf77 Fix login. 2021-12-17 00:49:17 +01:00
Enrico Fraccaroli 33c02fe570 Write getdents for ext2. Fix and test all getdents functions. 2021-12-16 09:08:25 +01:00
Enrico Fraccaroli 28981a82d0 Change name to the help program. 2021-10-19 12:07:45 +02:00
Enrico Fraccaroli 5263b115bf Add help command. Remove compiled files. 2021-10-04 11:55:18 +02:00
Enrico Fraccaroli b01eccca2e Update MentOs code to the latest development version. 2021-10-04 11:44:02 +02:00