vga now working with term and shell program
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "syscall.h"
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
const char* shell_prompt = "rocksh> ";
|
||||
@@ -11,7 +11,7 @@ size_t buf_offset = 0;
|
||||
|
||||
char path[256];
|
||||
|
||||
const char* bin_dir = "/bin/";
|
||||
const char* bin_dir = "/usr/bin/";
|
||||
|
||||
void parse_cmd() {
|
||||
if (strcmp(buf, "exit") == 0) {
|
||||
|
||||
Reference in New Issue
Block a user