userspace: Implement basic less program

This is very simple and only supports couple of flags and scrolling
This commit is contained in:
2025-05-29 01:00:28 +03:00
parent 69c4940b27
commit 37dea8aee7
3 changed files with 377 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
set(SOURCES
main.cpp
)
add_executable(less ${SOURCES})
banan_link_library(less ban)
banan_link_library(less libc)
install(TARGETS less OPTIONAL)