|
@@ -413,19 +413,6 @@ int rx_match(regex_t *regex, const char *buffer) {
|
|
|
return ret;
|
|
|
}
|
|
|
|
|
|
-/*
|
|
|
-Terminal processing section.
|
|
|
-
|
|
|
-Monitor lines, position, color.
|
|
|
-
|
|
|
-What screen size do I want to emulate?
|
|
|
-
|
|
|
-ANSI codes.
|
|
|
-
|
|
|
-Do I need this??
|
|
|
-
|
|
|
-*/
|
|
|
-
|
|
|
/**
|
|
|
* random_activate()
|
|
|
*
|
|
@@ -447,7 +434,7 @@ int random_activate(int w) {
|
|
|
}
|
|
|
|
|
|
/*
|
|
|
- word_state():
|
|
|
+ word_state(): // deprecated
|
|
|
|
|
|
-1 only lower
|
|
|
+1 only upper
|
|
@@ -495,11 +482,6 @@ int word_state(const char *buffer, int len) {
|
|
|
/*
|
|
|
Given a buffer and length, mangle away.
|
|
|
|
|
|
-We *REALLY* want this to do something, so better run some tests.
|
|
|
-
|
|
|
-Or, maybe we don't. This treats words consistently the same way.
|
|
|
-HMM.
|
|
|
-
|
|
|
toupper, tolower, flipper
|
|
|
*/
|
|
|
int word_mangler(char *buffer, int len) {
|