Commit f9b6c9b3 authored by Chris Allegretta's avatar Chris Allegretta
Browse files

Fixed iris-ansi term problem

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@241 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 26 additions and 17 deletions
+26 -17
...@@ -3,6 +3,10 @@ CVS Code - ...@@ -3,6 +3,10 @@ CVS Code -
toggle_init() toggle_init()
- Added #ifdef around toggle_regex_msg to get rid of compiler - Added #ifdef around toggle_regex_msg to get rid of compiler
warning. warning.
- winio.c
nanogetstr()
- Added check for 343 in while loop to get rid of getting "locked"
into statusbar" bug in odd $TERMs like iris-ansi.
nano 0.9.19 - 10/02/2000 nano 0.9.19 - 10/02/2000
- General - General
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2000-10-03 01:46-0400\n" "POT-Creation-Date: 2000-10-18 15:38-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
...@@ -380,7 +380,7 @@ msgid "Case Sens" ...@@ -380,7 +380,7 @@ msgid "Case Sens"
msgstr "" msgstr ""
#: global.c:342 global.c:361 global.c:371 global.c:387 global.c:391 #: global.c:342 global.c:361 global.c:371 global.c:387 global.c:391
#: global.c:397 winio.c:999 #: global.c:397 winio.c:1004
msgid "Cancel" msgid "Cancel"
msgstr "" msgstr ""
...@@ -807,67 +807,67 @@ msgstr "" ...@@ -807,67 +807,67 @@ msgstr ""
msgid "actual_x_from_start for xplus=%d returned %d\n" msgid "actual_x_from_start for xplus=%d returned %d\n"
msgstr "" msgstr ""
#: winio.c:410 #: winio.c:415
#, c-format #, c-format
msgid "input '%c' (%d)\n" msgid "input '%c' (%d)\n"
msgstr "" msgstr ""
#: winio.c:444 #: winio.c:449
msgid "New Buffer" msgid "New Buffer"
msgstr "" msgstr ""
#: winio.c:447 #: winio.c:452
msgid " File: ..." msgid " File: ..."
msgstr "" msgstr ""
#: winio.c:455 #: winio.c:460
msgid "Modified" msgid "Modified"
msgstr "" msgstr ""
#: winio.c:915 #: winio.c:920
#, c-format #, c-format
msgid "Moved to (%d, %d) in edit buffer\n" msgid "Moved to (%d, %d) in edit buffer\n"
msgstr "" msgstr ""
#: winio.c:926 #: winio.c:931
#, c-format #, c-format
msgid "current->data = \"%s\"\n" msgid "current->data = \"%s\"\n"
msgstr "" msgstr ""
#: winio.c:969 #: winio.c:974
#, c-format #, c-format
msgid "I got \"%s\"\n" msgid "I got \"%s\"\n"
msgstr "" msgstr ""
#: winio.c:994 #: winio.c:999
msgid "Yes" msgid "Yes"
msgstr "" msgstr ""
#: winio.c:996 #: winio.c:1001
msgid "All" msgid "All"
msgstr "" msgstr ""
#: winio.c:998 #: winio.c:1003
msgid "No" msgid "No"
msgstr "" msgstr ""
#: winio.c:1135 #: winio.c:1140
#, c-format #, c-format
msgid "do_cursorpos: linepct = %f, bytepct = %f\n" msgid "do_cursorpos: linepct = %f, bytepct = %f\n"
msgstr "" msgstr ""
#: winio.c:1139 #: winio.c:1144
msgid "line %d of %d (%.0f%%), character %d of %d (%.0f%%)" msgid "line %d of %d (%.0f%%), character %d of %d (%.0f%%)"
msgstr "" msgstr ""
#: winio.c:1267 #: winio.c:1272
msgid "Dumping file buffer to stderr...\n" msgid "Dumping file buffer to stderr...\n"
msgstr "" msgstr ""
#: winio.c:1269 #: winio.c:1274
msgid "Dumping cutbuffer to stderr...\n" msgid "Dumping cutbuffer to stderr...\n"
msgstr "" msgstr ""
#: winio.c:1271 #: winio.c:1276
msgid "Dumping a buffer to stderr...\n" msgid "Dumping a buffer to stderr...\n"
msgstr "" msgstr ""
...@@ -250,6 +250,11 @@ int nanogetstr(char *buf, char *def, shortcut s[], int slen, int start_x) ...@@ -250,6 +250,11 @@ int nanogetstr(char *buf, char *def, shortcut s[], int slen, int start_x)
xend = strlen(buf) + strlen(inputbuf); xend = strlen(buf) + strlen(inputbuf);
switch (kbinput) { switch (kbinput) {
/* Stuff we want to equate with <enter>, ASCII 13 */
case 343:
ungetch(13); /* Enter on iris-ansi $TERM, sometimes */
break;
case KEY_HOME: case KEY_HOME:
x = x_left; x = x_left;
blank_statusbar(); blank_statusbar();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment