Fixed iris-ansi term problem

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@241 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
Chris Allegretta 2000-10-18 19:35:59 +00:00
parent d7934d4c85
commit f9b6c9b398
3 changed files with 26 additions and 17 deletions

View File

@ -3,6 +3,10 @@ CVS Code -
toggle_init()
- Added #ifdef around toggle_regex_msg to get rid of compiler
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
- General

View File

@ -6,7 +6,7 @@
msgid ""
msgstr ""
"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"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -380,7 +380,7 @@ msgid "Case Sens"
msgstr ""
#: 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"
msgstr ""
@ -807,67 +807,67 @@ msgstr ""
msgid "actual_x_from_start for xplus=%d returned %d\n"
msgstr ""
#: winio.c:410
#: winio.c:415
#, c-format
msgid "input '%c' (%d)\n"
msgstr ""
#: winio.c:444
#: winio.c:449
msgid "New Buffer"
msgstr ""
#: winio.c:447
#: winio.c:452
msgid " File: ..."
msgstr ""
#: winio.c:455
#: winio.c:460
msgid "Modified"
msgstr ""
#: winio.c:915
#: winio.c:920
#, c-format
msgid "Moved to (%d, %d) in edit buffer\n"
msgstr ""
#: winio.c:926
#: winio.c:931
#, c-format
msgid "current->data = \"%s\"\n"
msgstr ""
#: winio.c:969
#: winio.c:974
#, c-format
msgid "I got \"%s\"\n"
msgstr ""
#: winio.c:994
#: winio.c:999
msgid "Yes"
msgstr ""
#: winio.c:996
#: winio.c:1001
msgid "All"
msgstr ""
#: winio.c:998
#: winio.c:1003
msgid "No"
msgstr ""
#: winio.c:1135
#: winio.c:1140
#, c-format
msgid "do_cursorpos: linepct = %f, bytepct = %f\n"
msgstr ""
#: winio.c:1139
#: winio.c:1144
msgid "line %d of %d (%.0f%%), character %d of %d (%.0f%%)"
msgstr ""
#: winio.c:1267
#: winio.c:1272
msgid "Dumping file buffer to stderr...\n"
msgstr ""
#: winio.c:1269
#: winio.c:1274
msgid "Dumping cutbuffer to stderr...\n"
msgstr ""
#: winio.c:1271
#: winio.c:1276
msgid "Dumping a buffer to stderr...\n"
msgstr ""

View File

@ -250,6 +250,11 @@ int nanogetstr(char *buf, char *def, shortcut s[], int slen, int start_x)
xend = strlen(buf) + strlen(inputbuf);
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:
x = x_left;
blank_statusbar();