## VERIFYING
-* paste of selection doesnt occur till next event
-* simultaneously write and read in tide sub commands
-
## STAGING
* registrar: doesnt match open windows when new file created and is then opened for edit or line number
Tags:
-* Kill - Kill a background command
* ID - Get window id of the X window
* Zerox - Create a copy of the window
Maybe think about addressing these later:
-* add current dir to path
+* add current dir to PATH variable
* add support for guidefiles
* Shift+Insert should insert primary selection
* Find shortcut should select previous word if current char is newline
* implement command diffing logic to optimize the undo/redo log
-
-# Auxillary Programs
-
-* Visual diff tool
-* Win-like terminal emulator
-* File browser
-* Acme-like window manager
-
-# Fetch Rule Syntax
-
-include [FILE]
-set [NAME] [VALUE]
-unset [NAME] [VALUE]
-is [NAME] [VALUE]
-isdir [VALUE]
-isfile [VALUE]
-findfile [VALUE]
-matches [NAME] [REGEX]
-exec [CMD] [ARGS...]
bool job_poll(int ms);
void job_spawn(int fd, jobfn_t readfn, jobfn_t writefn, void* data);
-void job_create(char** cmd, jobfn_t readfn, jobfn_t writefn, void* data);
void job_start(char** cmd, char* data, size_t ndata, View* dest);
int job_run(char** cmd);
#include <sys/socket.h>
#include <sys/un.h>
#include <poll.h>
+#include <fcntl.h>
struct PipeData {
char* data;
};
#define MAX_JOBS 256
-
static struct pollfd JobFds[MAX_JOBS];
static Job* JobList = NULL;
if (!job->readfn && !job->writefn)
job_finish(job);
}
-#include <fcntl.h>
static int job_exec(char** cmd, int* p_pid) {
int pid, fds[2];