elks-enhanced
public
Read
Owner: themaster
Branch: master
Commits: 6893
Updated: 2026-04-19 00:15
Git CLI clone URL
git clone https://www.xt-emporium.com/git/elks-enhanced.git
Fullscreen desktop URL
Code
Commits
History
Branches
Bug Reports
Discussions
Compare
Settings
elks-enhanced
/
elkscmd
/
busyelks
/
sash.h
File editor
/* * Copyright (c) 1993 by David I. Bell * Permission is granted to use, distribute, or modify this source, * provided that this copyright notice remains intact. * * Definitions for stand-alone shell for system maintainance for Linux. */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #define CMDLEN 512 #define MAXARGS 500 #define ALIASALLOC 20 #define STDIN 0 #define STDOUT 1 #define MAXSOURCE 10 #ifndef isblank #define isblank(ch) (((ch) == ' ') || ((ch) == '\t')) #endif #define isquote(ch) (((ch) == '"') || ((ch) == '\'')) #define isdecimal(ch) (((ch) >= '0') && ((ch) <= '9')) #define isoctal(ch) (((ch) >= '0') && ((ch) <= '7')) typedef struct chunk CHUNK; #define CHUNKINITSIZE 4 struct chunk { CHUNK *next; char data[CHUNKINITSIZE]; /* actually of varying length */ }; #define FALSE 0 #define TRUE 1 #define BUF_SIZE 1024 /* for stack limit and efficiency*/ extern void do_alias(), do_cd(), do_exec(), do_exit(), do_prompt(); extern void do_source(), do_umask(), do_unalias(), do_help(), do_ln(); extern void do_cp(), do_mv(), do_rm(), do_chmod(), do_mkdir(), do_rmdir(); extern void do_mknod(), do_chown(), do_chgrp(), do_sync(), do_printenv(); extern void do_more(), do_cmp(), do_touch(), do_ls(), do_dd(), do_tar(); extern void do_mount(), do_umount(), do_setenv(), do_pwd(), do_echo(); extern void do_kill(), do_grep(), do_ed(); extern char *buildname(); extern char *modestring(); extern char *timestring(); extern int isadir(); extern int copyfile(); extern int match(); extern int makestring(); extern int makeargs(); extern int expandwildcards(); extern int namesort(); extern char *getchunk(); extern void freechunks(); extern int intflag; /* END CODE */
Commit message
This repository is read-only for this account.
Repository snapshot
Current branch
master
Visibility
public
Your access
Read
Remote
Configured
File activity
View file history