Switch to using readline() for getting terminal input. I can't seem

to get the history capabilities working yet, but even so, it does
better handling of the prompt and strips newlines for us, so it's
still a win.

Add a few new commands for terminal mode: help, sig, part, erase.
Display rudimentory help using the help command.

Add some function prototypes.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@36 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
bsd
2001-01-18 03:25:03 +00:00
parent 1b177e45bf
commit 5db692fbe5
2 changed files with 125 additions and 28 deletions

View File

@@ -22,7 +22,7 @@ INSTALL_MANUAL = ${INSTALL_DATA}
all : $(TARGET)
$(TARGET) : avrprog.c
$(CC) $(CFLAGS) -o $(TARGET) $<
$(CC) $(CFLAGS) -o $(TARGET) $< -lreadline
clean :
rm -f *~ *.core $(TARGET)