summaryrefslogtreecommitdiffstats
path: root/usr.bin/ee
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/ee')
-rw-r--r--usr.bin/ee/Makefile42
-rw-r--r--usr.bin/ee/doc/new_curse.h2
-rw-r--r--usr.bin/ee/ee.135
-rw-r--r--usr.bin/ee/ee.c553
-rw-r--r--usr.bin/ee/nls/de_DE.ISO8859-1/ee.msg170
-rw-r--r--usr.bin/ee/nls/de_DE.ISO_8859-1/ee.msg170
-rw-r--r--usr.bin/ee/nls/en_US.ISO_8859-1/ee.msg6
-rw-r--r--usr.bin/ee/nls/en_US.US-ASCII/ee.msg170
-rw-r--r--usr.bin/ee/nls/fr_FR.ISO8859-1/ee.msg170
-rw-r--r--usr.bin/ee/nls/fr_FR.ISO_8859-1/ee.msg170
10 files changed, 991 insertions, 497 deletions
diff --git a/usr.bin/ee/Makefile b/usr.bin/ee/Makefile
index a6525ea..0edddc0 100644
--- a/usr.bin/ee/Makefile
+++ b/usr.bin/ee/Makefile
@@ -1,29 +1,23 @@
-# This is the make file for ee, the "easy editor".
-#
-# A file called 'make.local' will be generated which will contain information
-# specific to the local system, such as if it is a BSD or System V based
-# version of UNIX, whether or not it has catgets, or select.
-#
-# The "install" target ("make install") will copy the ee binary to
-# the /usr/local/bin directory on the local system. The man page (ee.1)
-# will be copied into the /usr/local/man/man1 directory.
-#
-# The "clean" target ("make clean") will remove the ee and new_curse.o
-# object files, and the ee binary.
-#
+CFLAGS+= -DCAP -DHAS_NCURSES -DHAS_UNISTD -DHAS_STDARG -DHAS_STDLIB \
+ -DHAS_CTYPE -DHAS_SYS_IOCTL -DHAS_SYS_WAIT -DSLCT_HDR
-all : localmake buildee
+PROG= ee
+SRCS= ee.c
+LINKS= ${BINDIR}/ee ${BINDIR}/ree
+MLINKS= ee.1 ree.1
+DPADD= ${LIBNCURSES} ${LIBMYTINFO}
+LDADD= -lncurses -lmytinfo
-buildee :
- make -f make.local
+LANGS= en_US.ISO_8859-1 fr_FR.ISO_8859-1 de_DE.ISO_8859-1
-localmake:
- @./create.make
+afterinstall:
+.for l in ${LANGS}
+ @${ECHO} "Install ${DESTDIR}${NLSDIR}/${l}/ee.cat"
+ @rm -f ${DESTDIR}${NLSDIR}/${l}/ee.cat
+ @gencat -new ${DESTDIR}${NLSDIR}/${l}/ee.cat ${.CURDIR}/nls/${l}/ee.msg
+ @chown ${BINOWN}.${BINGRP} ${DESTDIR}${NLSDIR}/${l}/ee.cat
+ @chmod 444 ${DESTDIR}${NLSDIR}/${l}/ee.cat
+.endfor
-install :
- cp ee /usr/local/bin/ee
- cp ee.1 /usr/local/man/man1/ee.1
-
-clean :
- rm -f ee.o new_curse.o ee
+.include <bsd.prog.mk>
diff --git a/usr.bin/ee/doc/new_curse.h b/usr.bin/ee/doc/new_curse.h
index f69ee59..86a8574 100644
--- a/usr.bin/ee/doc/new_curse.h
+++ b/usr.bin/ee/doc/new_curse.h
@@ -235,7 +235,7 @@ extern void savetty P_((void));
extern void resetty P_((void));
extern void endwin P_((void));
extern void delwin P_((WINDOW *window));
-extern void wprintw P_((WINDOW *window, __const char* format, ...));
+extern void wprintw P_((WINDOW *window, const char* format, ...));
extern void iout P_((WINDOW *window, int value));
extern int Comp_line P_((struct _line *line1, struct _line *line2));
extern struct _line *Insert_line P_((int row, int end_row, WINDOW *window));
diff --git a/usr.bin/ee/ee.1 b/usr.bin/ee/ee.1
index d5f02c8..b51d9d7 100644
--- a/usr.bin/ee/ee.1
+++ b/usr.bin/ee/ee.1
@@ -4,7 +4,7 @@
.\"
.\" nroff -man ee.1
.\"
-.\" $Header: /home/hugh/sources/old_ae/RCS/ee.1,v 1.19 1995/11/29 04:03:15 hugh Exp $
+.\" $Header: /home/ncvs/src/usr.bin/ee/ee.1,v 1.2 1996/01/30 13:48:39 mpp Exp $
.\"
.\"
.TH ee 1 "" "" "" ""
@@ -211,7 +211,7 @@ Read the named \fIfile\fR.
Write the text to the named \fIfile\fR.
.RE
.\"
-.\" menu operations
+.\" menu options
.\"
.SS "Menu Operations"
.PP
@@ -231,9 +231,6 @@ for moving down to move to the desired items in the menu, then press
.B return
to perform the indicated task.
.PP
-To the left of each menu item is a letter, which if the corresponding
-letter is pressed on the keyboard selects that menu entry.
-.PP
The main menu in \fIee\fR is as follows:
.RS 4
.IP "\fBleave editor\fR"
@@ -399,7 +396,7 @@ cursor location. The old information would have to be deleted by the user.
.PP
Since different users have different preferences, \fIee\fR allows some
slight configurability. There are three possible locations for an
-initialization file for ee: the file \fI/usr/local/lib/init.ee\fR, the
+initialization file for ee: the file \fI/usr/share/misc/init.ee\fR, the
file \fI.init.ee\fR in the user's home directory, or the file \fI.init.ee\fR
in the current directory (if different from the home
directory). This allows system administrators to set some preferences for
@@ -407,7 +404,7 @@ the users on a system-wide basis (for example, the \fBprint\fR command),
and the user to customize settings for particular directories (like one
for correspondence, and a different directory for programming).
.PP
-The file \fI\/usr/local/lib/init.ee\fR is read first, then
+The file \fI\/usr/share/misc/init.ee\fR is read first, then
\fI$HOME/.init.ee\fR, then \fI.init.ee\fR, with the settings specified by the
most recent file read taking precedence.
.PP
@@ -457,24 +454,6 @@ Turns on emacs key bindings.
.IP \fBnoemacs\fR
Turns off emacs key bindings.
.RE
-.\"
-.\" save editor configuration
-.\"
-.SS "Save Editor Configuration"
-.PP
-When using this entry from the
-.B settings
-menu, the user may choose to save the current configuration of
-the editor (see \fBInitializing ee from a
-file\fR above) to a file named
-.I .init.ee
-in the current directory or the user's home directory. If a file named
-.I .init.ee
-already exists, it will be renamed
-.IR .init.ee.old .
-.\"
-.\" Caveats
-.\"
.SH CAVEATS
.PP
THIS MATERIAL IS PROVIDED "AS IS". THERE ARE
@@ -507,7 +486,7 @@ The automatic paragraph formatting operation
may be too slow for slower systems.
.SH FILES
.PP
-.I /usr/local/lib/init.ee
+.I /usr/share/misc/init.ee
.br
.I $HOME/.init.ee
.br
@@ -522,8 +501,8 @@ This software and documentation contains
proprietary information which is protected by
copyright. All rights are reserved.
.PP
-Copyright (c) 1990, 1991, 1992, 1993, 1995 Hugh Mahon.
+Copyright (c) 1990, 1991, 1992, 1993 Hugh Mahon.
.SH "SEE ALSO"
.PP
-termcap(4), terminfo(4), environ(5), spell(1), ispell(1), lp(1)
+termcap(5), terminfo(5), environ(7), spell(1), ispell(1), lp(1)
diff --git a/usr.bin/ee/ee.c b/usr.bin/ee/ee.c
index fc0c06f..a5f609a 100644
--- a/usr.bin/ee/ee.c
+++ b/usr.bin/ee/ee.c
@@ -49,12 +49,12 @@
| proprietary information which is protected by
| copyright. All rights are reserved.
|
- | $Header: /home/hugh/sources/old_ae/RCS/ee.c,v 1.92 1996/05/07 02:48:19 hugh Exp hugh $
+ | $Header: /home/ncvs/src/usr.bin/ee/ee.c,v 1.5 1995/11/08 09:54:19 ache Exp $
|
*/
char *ee_copyright_message =
-"Copyright (c) 1986, 1990, 1991, 1992, 1993, 1994, 1995, 1996 Hugh Mahon ";
+"Copyright (c) 1986, 1990, 1991, 1992, 1993, 1994, 1995 Hugh Mahon ";
char *ee_long_notice[] = {
"This software and documentation contains",
@@ -62,13 +62,17 @@ char *ee_long_notice[] = {
"copyright. All rights are reserved."
};
-char *version = "@(#) ee, version 1.3 $Revision: 1.92 $";
+char *version = "@(#) ee, version 1.2.4 $Revision: 1.5 $";
#ifdef NCURSE
#include "new_curse.h"
#else
+#ifdef HAS_NCURSES
+#include <ncurses.h>
+#else
#include <curses.h>
#endif
+#endif
#include <signal.h>
#include <fcntl.h>
@@ -312,7 +316,6 @@ void sh_command P_((char *string));
void set_up_term P_((void));
void resize_check P_((void));
int menu_op P_((struct menu_entries *));
-void paint_menu P_((struct menu_entries menu_list[], int max_width, int max_height, int list_size, int top_offset, WINDOW *menu_win, int off_start, int vert_size));
void help P_((void));
void paint_info_win P_((void));
void no_info_window P_((void));
@@ -324,7 +327,6 @@ void redraw P_((void));
int Blank_Line P_((struct text *test_line));
void Format P_((void));
void ee_init P_((void));
-void dump_ee_conf P_((void));
void echo_string P_((char *string));
void spell_op P_((void));
void ispell_op P_((void));
@@ -352,21 +354,13 @@ struct menu_entries modes_menu[] = {
{"", NULL, NULL, NULL, NULL, -1},
{"", NULL, NULL, NULL, NULL, -1},
{"", NULL, NULL, NULL, NULL, -1},
- {"", NULL, NULL, NULL, dump_ee_conf, -1},
{NULL, NULL, NULL, NULL, NULL, -1}
};
-char *mode_strings[10];
+char *mode_strings[9];
#define NUM_MODES_ITEMS 9
-struct menu_entries config_dump_menu[] = {
- {"", NULL, NULL, NULL, NULL, 0},
- {"", NULL, NULL, NULL, NULL, -1},
- {"", NULL, NULL, NULL, NULL, -1},
- {NULL, NULL, NULL, NULL, NULL, -1}
- };
-
struct menu_entries leave_menu[] = {
{"", NULL, NULL, NULL, NULL, -1},
{"", NULL, NULL, NULL, finish, -1},
@@ -431,10 +425,6 @@ char *command_strings[5];
char *commands[30];
char *init_strings[20];
-#define MENU_WARN 1
-
-#define max_alpha_char 36
-
/*
| Declarations for strings for localization
*/
@@ -520,13 +510,6 @@ char *EIGHTBIT;
char *NOEIGHTBIT;
char *EMACS_string;
char *NOEMACS_string;
-char *conf_dump_err_msg;
-char *conf_dump_success_msg;
-char *conf_not_saved_msg;
-char *ree_no_file_msg;
-char *cancel_string;
-char *menu_too_lrg_msg;
-char *more_above_str, *more_below_str;
#ifndef __STDC__
#ifndef HAS_STDLIB
@@ -583,14 +566,6 @@ char *argv[];
right_margin = COLS - 1;
if (top_of_stack == NULL)
{
- if (restrict_mode())
- {
- wmove(com_win, 0, 0);
- werase(com_win);
- wprintw(com_win, ree_no_file_msg);
- wrefresh(com_win);
- edit_abort(0);
- }
wprintw(com_win, no_file_string);
wrefresh(com_win);
}
@@ -2102,8 +2077,11 @@ check_fp() /* open or close files according to flags */
curr_line = tmp_line;
point = curr_line->line;
draw_screen();
+ wmove(com_win, 0, 0);
+ wclrtoeol(com_win);
if (input_file)
{
+ wprintw(com_win, open_file_msg, in_file_name, line_num);
input_file = FALSE;
if (start_at_line != NULL)
{
@@ -2115,8 +2093,6 @@ check_fp() /* open or close files according to flags */
}
else
{
- wmove(com_win, 0, 0);
- wclrtoeol(com_win);
text_changes = TRUE;
if ((tmp_file != NULL) && (*tmp_file != (char) NULL))
wprintw(com_win, file_read_fin_msg, tmp_file);
@@ -2134,7 +2110,6 @@ char *file_name;
int length; /* length of line read by read */
int append; /* should text be appended to current line */
struct text *temp_line;
- char ro_flag = FALSE;
if (recv_file) /* if reading a file */
{
@@ -2144,10 +2119,7 @@ char *file_name;
if (access(file_name, 2)) /* check permission to write */
{
if ((errno == ENOTDIR) || (errno == EACCES) || (errno == EROFS) || (errno == ETXTBSY) || (errno == EFAULT))
- {
wprintw(com_win, read_only_msg);
- ro_flag = TRUE;
- }
}
wrefresh(com_win);
}
@@ -2181,8 +2153,6 @@ char *file_name;
wmove(com_win, 0, 0);
wclrtoeol(com_win);
wprintw(com_win, file_read_lines_msg, in_file_name, curr_line->line_number);
- if (ro_flag)
- wprintw(com_win, read_only_msg);
wrefresh(com_win);
}
else if (can_read) /* not input_file and file is non-zero size */
@@ -3181,11 +3151,9 @@ resize_check()
wrefresh(text_win);
}
-static char item_alpha[] = "abcdefghijklmnopqrstuvwxyz0123456789 ";
-
int
menu_op(menu_list)
-struct menu_entries menu_list[];
+struct menu_entries * menu_list;
{
WINDOW *temp_win;
int max_width, max_height;
@@ -3193,13 +3161,10 @@ struct menu_entries menu_list[];
int counter;
int length;
int input;
- int temp;
int list_size;
- int top_offset; /* offset from top where menu items start */
- int vert_pos; /* vertical position */
- int vert_size; /* vertical size for menu list item display */
- int off_start = 1; /* offset from start of menu items to start display */
-
+ int top_offset;
+ int temp_int;
+ char *cancel_string = menu_cancel_msg;
/*
| determine number and width of menu items
@@ -3208,15 +3173,12 @@ struct menu_entries menu_list[];
list_size = 1;
while (menu_list[list_size + 1].item_string != NULL)
list_size++;
- max_width = 0;
+ max_width = strlen(cancel_string);
for (counter = 0; counter <= list_size; counter++)
{
if ((length = strlen(menu_list[counter].item_string)) > max_width)
max_width = length;
}
- max_width += 3;
- max_width = max(max_width, strlen(cancel_string));
- max_width = max(max_width, max(strlen(more_above_str), strlen(more_below_str)));
max_width += 6;
/*
@@ -3224,157 +3186,114 @@ struct menu_entries menu_list[];
| if not, print error message and return to calling function
*/
- if (max_width > COLS)
+ if ((LINES < list_size) || (max_width > COLS))
{
wmove(com_win, 0, 0);
werase(com_win);
- wprintw(com_win, menu_too_lrg_msg);
- wrefresh(com_win);
+ wprintw(com_win, menu_size_err_msg);
clear_com_win = TRUE;
return(0);
}
top_offset = 0;
+ max_height = list_size;
- if (list_size > LINES)
- {
- max_height = LINES;
- if (max_height > 11)
- vert_size = max_height - 8;
- else
- vert_size = max_height;
- }
- else
- {
- vert_size = list_size;
- max_height = list_size;
- }
-
- if (LINES >= (vert_size + 8))
+ if (LINES >= (list_size + 8))
{
- if (menu_list[0].argument != MENU_WARN)
- max_height = vert_size + 8;
- else
- max_height = vert_size + 7;
+ max_height = list_size + 8;
top_offset = 4;
}
x_off = (COLS - max_width) / 2;
y_off = (LINES - max_height - 1) / 2;
temp_win = newwin(max_height, max_width, y_off, x_off);
keypad(temp_win, TRUE);
+ werase(temp_win);
- paint_menu(menu_list, max_width, max_height, list_size, top_offset, temp_win, off_start, vert_size);
+ /*
+ | output top and bottom portions of menu box only if window
+ | large enough
+ */
- counter = 1;
- vert_pos = 0;
- do
+ if (max_height > list_size)
{
- if (off_start > 2)
- wmove(temp_win, (1 + counter + top_offset - off_start), 3);
- else
- wmove(temp_win, (counter + top_offset - off_start), 3);
-
- wrefresh(temp_win);
- in = wgetch(temp_win);
- input = in;
- if (input == -1)
- exit(0);
+ wmove(temp_win, 1, 1);
+ if (!nohighlight)
+ wstandout(temp_win);
+ waddch(temp_win, '+');
+ for (counter = 0; counter < (max_width - 4); counter++)
+ waddch(temp_win, '-');
+ waddch(temp_win, '+');
- if (((tolower(input) >= 'a') && (tolower(input) <= 'z')) ||
- ((input >= '0') && (input <= '9')))
+ wmove(temp_win, (max_height - 2), 1);
+ waddch(temp_win, '+');
+ for (counter = 0; counter < (max_width - 4); counter++)
+ waddch(temp_win, '-');
+ waddch(temp_win, '+');
+ wstandend(temp_win);
+ wmove(temp_win, 2, 3);
+ waddstr(temp_win, menu_list[0].item_string);
+ wmove(temp_win, (max_height - 3), 3);
+ waddstr(temp_win, cancel_string);
+ }
+ if (!nohighlight)
+ wstandout(temp_win);
+ for (counter = 0; counter < (list_size + top_offset); counter++)
+ {
+ if (top_offset == 4)
{
- if ((tolower(input) >= 'a') && (tolower(input) <= 'z'))
- {
- temp = 1 + tolower(input) - 'a';
- }
- else if ((input >= '0') && (input <= '9'))
- {
- temp = (2 + 'z' - 'a') + (input - '0');
- }
-
- if (temp <= list_size)
- {
- input = '\n';
- counter = temp;
- }
+ temp_int = counter + 2;
}
else
- {
- switch (input)
- {
- case ' ': /* space */
- case '\004': /* ^d, down */
- case KEY_RIGHT:
- case KEY_DOWN:
- counter++;
- if (counter > list_size)
- counter = 1;
- break;
- case '\010': /* ^h, backspace*/
- case '\025': /* ^u, up */
- case 127: /* ^?, delete */
- case KEY_BACKSPACE:
- case KEY_LEFT:
- case KEY_UP:
- counter--;
- if (counter == 0)
- counter = list_size;
- break;
- case '\033': /* escape key */
- if (menu_list[0].argument != MENU_WARN)
- counter = 0;
- break;
- case '\014': /* ^l */
- case '\022': /* ^r, redraw */
- paint_menu(menu_list, max_width, max_height,
- list_size, top_offset, temp_win,
- off_start, vert_size);
- break;
- default:
- break;
- }
- }
-
- if (((list_size - off_start) >= (vert_size - 1)) &&
- (counter > (off_start + vert_size - 3)) &&
- (off_start > 1))
- {
- if (counter == list_size)
- off_start = (list_size - vert_size) + 2;
- else
- off_start++;
-
- paint_menu(menu_list, max_width, max_height,
- list_size, top_offset, temp_win, off_start,
- vert_size);
- }
- else if ((list_size != vert_size) &&
- (counter > (off_start + vert_size - 2)))
- {
- if (counter == list_size)
- off_start = 2 + (list_size - vert_size);
- else if (off_start == 1)
- off_start = 3;
- else
- off_start++;
+ temp_int = counter;
- paint_menu(menu_list, max_width, max_height,
- list_size, top_offset, temp_win, off_start,
- vert_size);
- }
- else if (counter < off_start)
+ wmove(temp_win, temp_int, 1);
+ waddch(temp_win, '|');
+ wmove(temp_win, temp_int, (max_width - 2));
+ waddch(temp_win, '|');
+ }
+ wstandend(temp_win);
+ for (counter = 1; counter <= list_size; counter++)
+ {
+ wmove(temp_win, (top_offset + counter - 1), 3);
+ waddstr(temp_win, menu_list[counter].item_string);
+ }
+ counter = 1;
+ do
+ {
+ wmove(temp_win, (counter + top_offset - 1), 3);
+ wrefresh(temp_win);
+ input = wgetch(temp_win);
+ if (input == -1)
+ exit(0);
+ switch (input)
{
- if (counter <= 2)
- off_start = 1;
- else
- off_start = counter;
-
- paint_menu(menu_list, max_width, max_height,
- list_size, top_offset, temp_win, off_start,
- vert_size);
+ case ' ': /* space */
+ case '\022': /* ^r, right */
+ case '\004': /* ^d, down */
+ case KEY_RIGHT:
+ case KEY_DOWN:
+ counter++;
+ if (counter > list_size)
+ counter = 1;
+ break;
+ case '\010': /* ^h, backspace*/
+ case '\014': /* ^l, left */
+ case '\025': /* ^u, up */
+ case 127: /* ^?, delete */
+ case KEY_LEFT:
+ case KEY_UP:
+ counter--;
+ if (counter == 0)
+ counter = list_size;
+ break;
+ case '\033': /* escape key */
+ counter = 0;
+ break;
+ default:
+ break;
}
}
- while ((input != '\r') && (input != '\n') && (counter != 0));
+ while ((input != '\r') && (input != '\n') && (input != '\033'));
werase(temp_win);
wrefresh(temp_win);
@@ -3394,115 +3313,12 @@ struct menu_entries menu_list[];
if (info_window)
paint_info_win();
- redraw();
+ midscreen(scr_vert, point);
return(counter);
}
void
-paint_menu(menu_list, max_width, max_height, list_size, top_offset, menu_win,
- off_start, vert_size)
-struct menu_entries menu_list[];
-int max_width, max_height, list_size, top_offset;
-WINDOW *menu_win;
-int off_start, vert_size;
-{
- int counter, temp_int;
-
- werase(menu_win);
-
- /*
- | output top and bottom portions of menu box only if window
- | large enough
- */
-
- if (max_height > vert_size)
- {
- wmove(menu_win, 1, 1);
- if (!nohighlight)
- wstandout(menu_win);
- waddch(menu_win, '+');
- for (counter = 0; counter < (max_width - 4); counter++)
- waddch(menu_win, '-');
- waddch(menu_win, '+');
-
- wmove(menu_win, (max_height - 2), 1);
- waddch(menu_win, '+');
- for (counter = 0; counter < (max_width - 4); counter++)
- waddch(menu_win, '-');
- waddch(menu_win, '+');
- wstandend(menu_win);
- wmove(menu_win, 2, 3);
- waddstr(menu_win, menu_list[0].item_string);
- wmove(menu_win, (max_height - 3), 3);
- if (menu_list[0].argument != MENU_WARN)
- waddstr(menu_win, cancel_string);
- }
- if (!nohighlight)
- wstandout(menu_win);
-
- for (counter = 0; counter < (vert_size + top_offset); counter++)
- {
- if (top_offset == 4)
- {
- temp_int = counter + 2;
- }
- else
- temp_int = counter;
-
- wmove(menu_win, temp_int, 1);
- waddch(menu_win, '|');
- wmove(menu_win, temp_int, (max_width - 2));
- waddch(menu_win, '|');
- }
- wstandend(menu_win);
-
- if (list_size > vert_size)
- {
- if (off_start >= 3)
- {
- temp_int = 1;
- wmove(menu_win, top_offset, 3);
- waddstr(menu_win, more_above_str);
- }
- else
- temp_int = 0;
-
- for (counter = off_start;
- ((temp_int + counter - off_start) < (vert_size - 1));
- counter++)
- {
- wmove(menu_win, (top_offset + temp_int +
- (counter - off_start)), 3);
- if (list_size > 1)
- wprintw(menu_win, "%c) ", item_alpha[min((counter - 1), max_alpha_char)]);
- waddstr(menu_win, menu_list[counter].item_string);
- }
-
- wmove(menu_win, (top_offset + (vert_size - 1)), 3);
-
- if (counter == list_size)
- {
- if (list_size > 1)
- wprintw(menu_win, "%c) ", item_alpha[min((counter - 1), max_alpha_char)]);
- wprintw(menu_win, menu_list[counter].item_string);
- }
- else
- wprintw(menu_win, more_below_str);
- }
- else
- {
- for (counter = 1; counter <= list_size; counter++)
- {
- wmove(menu_win, (top_offset + counter - 1), 3);
- if (list_size > 1)
- wprintw(menu_win, "%c) ", item_alpha[min((counter - 1), max_alpha_char)]);
- waddstr(menu_win, menu_list[counter].item_string);
- }
- }
-}
-
-void
help()
{
int counter;
@@ -3964,7 +3780,7 @@ Format() /* format the paragraph according to set margins */
}
char *init_name[3] = {
- "/usr/local/lib/init.ee",
+ "/usr/share/misc/init.ee",
NULL,
".init.ee"
};
@@ -3981,6 +3797,8 @@ ee_init() /* check for init file and read it if it exists */
int temp_int;
string = getenv("HOME");
+ if (!string)
+ string = "/root"; /* Set to reasonable default so we don't crash */
str1 = home = malloc(strlen(string)+10);
strcpy(home, string);
strcat(home, "/.init.ee");
@@ -3994,14 +3812,12 @@ ee_init() /* check for init file and read it if it exists */
init_file = fopen(init_name[counter], "r");
while ((str2 = fgets(string, 512, init_file)) != NULL)
{
+ if (unique_test(string, init_strings) != 1)
+ continue;
str1 = str2 = string;
while (*str2 != '\n')
str2++;
*str2 = (char) NULL;
-
- if (unique_test(string, init_strings) != 1)
- continue;
-
if (compare(str1, CASE, FALSE))
case_sen = TRUE;
else if (compare(str1, NOCASE, FALSE))
@@ -4067,109 +3883,6 @@ ee_init() /* check for init file and read it if it exists */
free(home);
}
-/*
- | Save current configuration to .init.ee file in the current directory.
- */
-
-void
-dump_ee_conf()
-{
- FILE *init_file;
- FILE *old_init_file = NULL;
- char *file_name = ".init.ee";
- char *home_dir = "~/.init.ee";
- char buffer[512];
- struct stat buf;
- char *string;
- int length;
- int option = 0;
-
- if (restrict_mode())
- {
- return;
- }
-
- option = menu_op(config_dump_menu);
-
- werase(com_win);
- wmove(com_win, 0, 0);
-
- if (option == 0)
- {
- wprintw(com_win, conf_not_saved_msg);
- wrefresh(com_win);
- return;
- }
- else if (option == 2)
- file_name = resolve_name(home_dir);
-
- /*
- | If a .init.ee file exists, move it to .init.ee.old.
- */
-
- if (stat(file_name, &buf) != -1)
- {
- sprintf(buffer, "%s.old", file_name);
- unlink(buffer);
- link(file_name, buffer);
- unlink(file_name);
- old_init_file = fopen(buffer, "r");
- }
-
- init_file = fopen(file_name, "w");
- if (init_file == NULL)
- {
- wprintw(com_win, conf_dump_err_msg);
- wrefresh(com_win);
- return;
- }
-
- if (old_init_file != NULL)
- {
- /*
- | Copy non-configuration info into new .init.ee file.
- */
- while ((string = fgets(buffer, 512, old_init_file)) != NULL)
- {
- length = strlen(string);
- string[length - 1] = (char) NULL;
-
- if (unique_test(string, init_strings) == 1)
- {
- if (compare(string, Echo, FALSE))
- {
- fprintf(init_file, "%s\n", string);
- }
- }
- else
- fprintf(init_file, "%s\n", string);
- }
-
- fclose(old_init_file);
- }
-
- fprintf(init_file, "%s\n", case_sen ? CASE : NOCASE);
- fprintf(init_file, "%s\n", expand_tabs ? EXPAND : NOEXPAND);
- fprintf(init_file, "%s\n", info_window ? INFO : NOINFO );
- fprintf(init_file, "%s\n", observ_margins ? MARGINS : NOMARGINS );
- fprintf(init_file, "%s\n", auto_format ? AUTOFORMAT : NOAUTOFORMAT );
- fprintf(init_file, "%s %s\n", PRINTCOMMAND, print_command);
- fprintf(init_file, "%s %d\n", RIGHTMARGIN, right_margin);
- fprintf(init_file, "%s\n", nohighlight ? NOHIGHLIGHT : HIGHLIGHT );
- fprintf(init_file, "%s\n", eightbit ? EIGHTBIT : NOEIGHTBIT );
- fprintf(init_file, "%s\n", emacs_keys_mode ? EMACS_string : NOEMACS_string );
-
- fclose(init_file);
-
- wprintw(com_win, conf_dump_success_msg, file_name);
- wrefresh(com_win);
-
- if ((option == 2) && (file_name != home_dir))
- {
- free(file_name);
- }
-}
-
void
echo_string(string) /* echo the given string */
char *string;
@@ -4274,11 +3987,8 @@ struct text *test_line;
int counter;
char *pnt;
- if (test_line == NULL)
- return(0);
-
pnt = test_line->line;
- if ((pnt == NULL) || (*pnt == (char) NULL) ||
+ if ((test_line == NULL) || (pnt == NULL) || (*pnt == (char) NULL) ||
(*pnt == '.') || (*pnt == '>'))
return(0);
@@ -4316,7 +4026,6 @@ Auto_Format() /* format the paragraph according to set margins */
int leave_loop = FALSE;
int status;
int counter;
- char not_blank;
char *line;
char *tmp_srchstr;
char *temp1, *temp2;
@@ -4393,8 +4102,6 @@ Auto_Format() /* format the paragraph according to set margins */
| will fit in before the margin.
*/
- counter = 0;
-
while (!leave_loop)
{
if (position != curr_line->line_length)
@@ -4408,8 +4115,6 @@ Auto_Format() /* format the paragraph according to set margins */
else
right(TRUE);
- not_blank = FALSE;
-
/*
| fill line if first word on next line will fit
| in the line without crossing the margin
@@ -4425,27 +4130,10 @@ Auto_Format() /* format the paragraph according to set margins */
del_word();
if (position != 1)
bol();
-
- /*
- | We know this line was not blank before, so
- | make sure that it doesn't have one of the
- | leading characters that indicate the line
- | should not be modified.
- |
- | We also know that this character should not
- | be left as the first character of this line.
- */
-
- if ((Blank_Line(curr_line)) &&
- (curr_line->line[0] != '.') &&
- (curr_line->line[0] != '>'))
+ if (Blank_Line(curr_line))
{
del_line();
- not_blank = FALSE;
}
- else
- not_blank = TRUE;
-
/*
| go to end of previous line
*/
@@ -4482,18 +4170,14 @@ Auto_Format() /* format the paragraph according to set margins */
if ((*point == ' ') || (*point == '\t'))
adv_word();
undel_word();
- not_blank = TRUE;
if (position != 1)
bol();
left(TRUE);
}
}
- if ((!Blank_Line(curr_line->next_line)) || (not_blank))
- {
+ if (!Blank_Line(curr_line->next_line))
adv_line();
- counter++;
- }
else
leave_loop = TRUE;
}
@@ -4502,9 +4186,8 @@ Auto_Format() /* format the paragraph according to set margins */
| go back to begin of paragraph, put cursor back to original position
*/
- if (position != 1)
- bol();
- while ((counter-- > 0) || (!Blank_Line(curr_line->prev_line)))
+ bol();
+ while (!Blank_Line(curr_line->prev_line))
bol();
/*
@@ -4635,8 +4318,8 @@ modes_op()
}
char *
-is_in_string(string, substring) /* a strchr() look-alike for systems without
- strchr() */
+is_in_string(string, substring) /* a strstr() look-alike for systems without
+ strstr() */
char * string, *substring;
{
char *full, *sub;
@@ -4909,7 +4592,7 @@ strings_init()
help_text[6] = catgetlocal( 41, "^f undelete char ^n next page ^x search ");
help_text[7] = catgetlocal( 42, "^g begin of line ^o end of line ^y delete line ");
help_text[8] = catgetlocal( 43, "^h backspace ^p prev page ^z undelete line ");
- help_text[9] = catgetlocal( 44, "^[ (escape) menu ");
+ help_text[9] = catgetlocal( 44, "^[ (escape) menu ESC-Enter: exit ee ");
help_text[10] = catgetlocal( 45, " ");
help_text[11] = catgetlocal( 46, "Commands: ");
help_text[12] = catgetlocal( 47, "help : get this info file : print file name ");
@@ -4926,7 +4609,7 @@ strings_init()
control_keys[1] = catgetlocal( 58, "^a ascii code ^x search ^z undelete line ^d down ^n next page ");
control_keys[2] = catgetlocal( 59, "^b bottom of text ^g begin of line ^w delete word ^l left ");
control_keys[3] = catgetlocal( 60, "^t top of text ^o end of line ^v undelete word ^r right ");
- control_keys[4] = catgetlocal( 61, "^c command ^k delete char ^f undelete char ");
+ control_keys[4] = catgetlocal( 61, "^c command ^k delete char ^f undelete char ESC-Enter: exit ee ");
command_strings[0] = catgetlocal( 62, "help : get help info |file : print file name |line : print line # ");
command_strings[1] = catgetlocal( 63, "read : read a file |char : ascii code of char |0-9 : go to line \"#\"");
command_strings[2] = catgetlocal( 64, "write: write a file |case : case sensitive search |exit : leave and save ");
@@ -5044,18 +4727,6 @@ strings_init()
EMACS_string = catgetlocal( 159, "EMACS");
NOEMACS_string = catgetlocal( 160, "NOEMACS");
usage4 = catgetlocal( 161, " +# put cursor at line #\n");
- conf_dump_err_msg = catgetlocal( 162, "unable to open .init.ee for writing, no configuration saved!");
- conf_dump_success_msg = catgetlocal( 163, "ee configuration saved in file %s");
- modes_menu[9].item_string = catgetlocal( 164, "save editor configuration");
- config_dump_menu[0].item_string = catgetlocal( 165, "save ee configuration");
- config_dump_menu[1].item_string = catgetlocal( 166, "save in current directory");
- config_dump_menu[2].item_string = catgetlocal( 167, "save in home directory");
- conf_not_saved_msg = catgetlocal( 168, "ee configuration not saved");
- ree_no_file_msg = catgetlocal( 169, "must specify a file when invoking ree");
- cancel_string = catgetlocal( 170, "press Esc to cancel");
- menu_too_lrg_msg = catgetlocal( 180, "menu too large for window");
- more_above_str = catgetlocal( 181, "^^more^^");
- more_below_str = catgetlocal( 182, "VVmoreVV");
commands[0] = HELP;
commands[1] = WRITE;
diff --git a/usr.bin/ee/nls/de_DE.ISO8859-1/ee.msg b/usr.bin/ee/nls/de_DE.ISO8859-1/ee.msg
new file mode 100644
index 0000000..9f62c50
--- /dev/null
+++ b/usr.bin/ee/nls/de_DE.ISO8859-1/ee.msg
@@ -0,0 +1,170 @@
+$ This file contains the messages for ee ("easy editor"). See the file
+$ ee.i18n.guide for more information
+$
+$ For ee patchlevel 3
+$
+$ $Header: /home/ncvs/src/usr.bin/ee/nls/de_DE.ISO_8859-1/ee.msg,v 1.1 1995/10/21 23:47:40 joerg Exp $
+$
+$set 1
+$quote "
+1 "Modus-Menü"
+2 "Tab -> Leerzeichen "
+3 "Suche ohne Groß/Klein"
+4 "Ränder beachten "
+5 "Automatische Absätze "
+6 "8-Bit Zeichen (Uml.) "
+7 "Hilfefenster "
+8 "rechter Rand "
+9 "Ende-Menü"
+10 "Speichern"
+11 "Verwerfen"
+12 "Dateimenü"
+13 "Öffnen"
+14 "Schreiben in Datei"
+15 "Speichern"
+16 "Aktuellen Inhalt drucken"
+17 "Textsuche"
+18 "Suche nach ..."
+19 "Suchen"
+20 "Rechtschreibung"
+21 "'spell' benutzen"
+22 "'ispell' benutzen"
+23 "Verschiedenes"
+24 "Absatz formatieren"
+25 "Unix-Kommando"
+26 "Rechtschreibung prüfen"
+27 "Hauptmenü"
+28 "Editor beenden"
+29 "Hilfe"
+30 "Dateioperationen"
+31 "Bildschirm regenerieren"
+32 "Einstellungen"
+33 "Suche"
+34 "Verschiedenes"
+35 "Steuertasten: "
+36 "^a ASCII-Code direkt ^i Tabulator ^r nach rechts "
+37 "^b Ende des Textes ^j neue Zeile ^t Anfang des Textes "
+38 "^c Befehl ^k Zeichen löschen ^u hoch "
+39 "^d runter ^l nach links ^v Wort zurückholen "
+40 "^e Textsuche (Menü) ^m neue Zeile ^w Wort löschen "
+41 "^f Zeichen zurückholen ^n nächste Seite ^x Weitersuchen "
+42 "^g zum Zeilenanfang ^o zum Zeilenende ^y Zeile löschen "
+43 "^h Rückschritt ^p vorige Seite ^z Zeile zurückholen "
+44 "^[ (Escape) Menü ESC-Enter: ee beenden "
+45 " "
+46 "Befehle: "
+47 "hilfe : diese Hilfe anzeigen datei : Dateinamen anzeigen "
+48 "lesen : Datei öffnen zeichen : ASCII-Code anzeigen "
+49 "schreiben:Datei schreiben grosskl : Suche mit Groß/Kleinschr."
+50 "ende : Sichern und Beenden klein : Suche ohne Groß/Klein. "
+51 "abbruch : Abbruch ohne Sichern !bef : Unix-Befehl \"bef\" ausf. "
+52 "zeile : Zeilennummer anzeigen 0-9 : Zur angegebenen Zeile "
+53 "leer : Tabulat. in Leerz. wandeln tabs : Tabulatoren belassen "
+54 " "
+55 " ee [-i] [-e] [-h] [datei(en)] "
+56 " -i : ohne Hilfefenster -e : Tabulatoren lassen -h : k. Hervorheb."
+57 "^[ (Escape) Menü ^e Textsuche ^y Zeile löschen ^u hoch ^p Seite zur. "
+58 "^a ASCII-Code ^x Weitersuchen ^z Zeile rückhl. ^d runter ^n Seite vor "
+59 "^b Textende ^g Zeilenanfang ^w Wort löschen ^l links "
+60 "^t Textanfang ^o Zeilenende ^v Wort rückhol. ^r rechts "
+61 "^c Befehl ^k Zeichen lösch. ^f Zeichen rückholen ESC-Enter: Ende ee "
+62 "hilfe: Hilfe |datei : Dateiname anzeigen |zeile: Zeilennumer "
+63 "lesen: Datei lesen |zeichen:ASCII-Code des Zeichens |0-9 : zur Zeile "
+64 "schre: Datei schreib. |grosskl:Suche mit Groß/Klein |ende : Speichern,Ende "
+65 "!bef : Unix-\"bef\" |klein: Suche ohne Groß/Klein |abbr : Abbruch "
+66 "leer : Tab -> Leerz. |tabs : Tabulatoren belassen "
+67 " Escape (^[) drücken für Menü"
+68 "Keine Datei"
+69 "ASCII-Code: "
+70 "Pufferinhalt nach \"%s\" schreiben "
+71 "Befehl: "
+72 "Dateiname zum Schreiben: "
+73 "Dateiname zum Lesen: "
+74 "Zeichen = %d"
+75 "Unbekannter Befehl \"%s\""
+76 "Angegebener Befehl ist nicht eindeutig"
+77 "Zeile %d "
+78 "Länge = %d"
+79 "Aktuelle Datei ist \"%s\" "
+80 "Benutzung: %s [-i] [-e] [-h] [+zeilennummer] [dateien]\n"
+81 " -i Hilfefenster ausschalten\n"
+82 " -e Tabulatoren nicht in Leerzeichen wandeln\"
+83 " -h keine Hervorhebungen\n"
+84 "Datei \"%s\" ist ein Verzeichnis"
+85 "Neue Datei \"%s\""
+86 "Datei \"%s\" kann nicht geöffnet werden"
+87 "Datei \"%s\", %d Zeilen"
+88 "Lesen der Datei \"%s\" beendet"
+89 "Lese die Datei \"%s\""
+90 ", schreibgeschützt"
+91 "Datei \"%s\", %d Zeilen"
+92 "Dateinamen eingeben: "
+93 "Kein Name angegeben; Datei nicht gespeichert"
+94 "Pufferinhalt geändert, wirklich verlassen? (j/n [n]) "
+95 "j"
+96 "Datei existiert bereits, überschreiben? (j/n) [n] "
+97 "Datei \"%s\" kann nicht erzeugt werden"
+98 "Schreibe Datei \"%s\""
+99 "\"%s\" %d Zeilen, %d Zeichen"
+100 " ...Suche läuft"
+101 "Zeichenfolge \"%s\" nicht gefunden"
+102 "Suchen nach: "
+103 "Kann %s nicht ausführen\n"
+104 "Bitte die Eingabetaste drücken "
+105 "Escape zum Beenden"
+106 "Menü ist zu groß für das Fenster"
+107 "eine beliebige Taste drücken "
+108 "Unix-Befehl: "
+109 "...formatiere Absatz..."
+110 "<!echo 'Liste der nicht gefundenen Wörter'; echo -=-=-=-=-=-"
+111 "Sende den Pufferinhalt an 'spell'"
+112 "Rechter Rand: "
+113 "Eingeschränkter Modus: gewünschte Operation unzulässig"
+114 "EIN"
+115 "AUS"
+116 "HILFE"
+117 "SCHREIBEN"
+118 "LESEN"
+119 "ZEILE"
+120 "DATEI"
+121 "ZEICHEN"
+122 "REGENERIEREN"
+123 "UMNUMERIEREN"
+124 "AUTOR"
+125 "VERSION"
+126 "GROSSKL"
+127 "KLEIN"
+128 "LEER"
+129 "TABS"
+130 "ENDE"
+131 "ABBRUCH"
+132 "INFO"
+133 "[INFO]"
+134 "RAND"
+135 "[RAND]"
+136 "FORMAT."
+137 "[FORMAT.]"
+138 "ECHO"
+139 "DRUCKBEFEHL"
+140 "RECHTERRAND"
+141 "HERVORHEB."
+142 "[HERVORHEB.]"
+143 "8-BIT"
+144 "[8-BIT]"
+145 "Emacs-Tastenbelegung "
+146 "^a Zeilenanfang ^i Tabulator ^r Wort zurückholen "
+147 "^b ein Zeichen zurück ^j Zeichen zurückholen ^t Textanfang "
+148 "^c Befehl ^k Zeile löschen ^u Textende "
+149 "^d Zeichen löschen ^l Zeile zurückholen ^v nächste Seite "
+150 "^e Zeilenendee ^m neue Zeile ^w Wort löschen "
+151 "^f ein Zeichen vorwärts ^n neue Zeile ^x Weitersuchen "
+152 "^g vorige Seite ^o ASCII-Zeichen einfü. ^y Textsuche "
+153 "^h Rückschritt ^p vorige Zeile ^z nächstes Wort "
+154 "^[ (Escape) Menü ^y Suchtext eing. ^k Zeile löschen ^p vor.Zeile ^g vor.Seite"
+155 "^o ASCII-Zeichen ^x Weitersuchen ^l Zeile rückhol ^n nä. Zeile ^v nä. Seite"
+156 "^u Textende ^a Zeilenanfang ^w Wort löschen ^b ein Zeichen zurück "
+157 "^t Textanfang ^e Zeilenende ^r Wort rückhol. ^f ein Zeichen vor "
+158 "^c Befehl ^d Zeichen lösch. ^j Zeich. rückh. ^z nächstes Wort "
+159 "EMACS"
+160 "[EMACS]"
+161 " +<zahl> Zeiger auf Zeile <zahl> setzen"
diff --git a/usr.bin/ee/nls/de_DE.ISO_8859-1/ee.msg b/usr.bin/ee/nls/de_DE.ISO_8859-1/ee.msg
new file mode 100644
index 0000000..9f62c50
--- /dev/null
+++ b/usr.bin/ee/nls/de_DE.ISO_8859-1/ee.msg
@@ -0,0 +1,170 @@
+$ This file contains the messages for ee ("easy editor"). See the file
+$ ee.i18n.guide for more information
+$
+$ For ee patchlevel 3
+$
+$ $Header: /home/ncvs/src/usr.bin/ee/nls/de_DE.ISO_8859-1/ee.msg,v 1.1 1995/10/21 23:47:40 joerg Exp $
+$
+$set 1
+$quote "
+1 "Modus-Menü"
+2 "Tab -> Leerzeichen "
+3 "Suche ohne Groß/Klein"
+4 "Ränder beachten "
+5 "Automatische Absätze "
+6 "8-Bit Zeichen (Uml.) "
+7 "Hilfefenster "
+8 "rechter Rand "
+9 "Ende-Menü"
+10 "Speichern"
+11 "Verwerfen"
+12 "Dateimenü"
+13 "Öffnen"
+14 "Schreiben in Datei"
+15 "Speichern"
+16 "Aktuellen Inhalt drucken"
+17 "Textsuche"
+18 "Suche nach ..."
+19 "Suchen"
+20 "Rechtschreibung"
+21 "'spell' benutzen"
+22 "'ispell' benutzen"
+23 "Verschiedenes"
+24 "Absatz formatieren"
+25 "Unix-Kommando"
+26 "Rechtschreibung prüfen"
+27 "Hauptmenü"
+28 "Editor beenden"
+29 "Hilfe"
+30 "Dateioperationen"
+31 "Bildschirm regenerieren"
+32 "Einstellungen"
+33 "Suche"
+34 "Verschiedenes"
+35 "Steuertasten: "
+36 "^a ASCII-Code direkt ^i Tabulator ^r nach rechts "
+37 "^b Ende des Textes ^j neue Zeile ^t Anfang des Textes "
+38 "^c Befehl ^k Zeichen löschen ^u hoch "
+39 "^d runter ^l nach links ^v Wort zurückholen "
+40 "^e Textsuche (Menü) ^m neue Zeile ^w Wort löschen "
+41 "^f Zeichen zurückholen ^n nächste Seite ^x Weitersuchen "
+42 "^g zum Zeilenanfang ^o zum Zeilenende ^y Zeile löschen "
+43 "^h Rückschritt ^p vorige Seite ^z Zeile zurückholen "
+44 "^[ (Escape) Menü ESC-Enter: ee beenden "
+45 " "
+46 "Befehle: "
+47 "hilfe : diese Hilfe anzeigen datei : Dateinamen anzeigen "
+48 "lesen : Datei öffnen zeichen : ASCII-Code anzeigen "
+49 "schreiben:Datei schreiben grosskl : Suche mit Groß/Kleinschr."
+50 "ende : Sichern und Beenden klein : Suche ohne Groß/Klein. "
+51 "abbruch : Abbruch ohne Sichern !bef : Unix-Befehl \"bef\" ausf. "
+52 "zeile : Zeilennummer anzeigen 0-9 : Zur angegebenen Zeile "
+53 "leer : Tabulat. in Leerz. wandeln tabs : Tabulatoren belassen "
+54 " "
+55 " ee [-i] [-e] [-h] [datei(en)] "
+56 " -i : ohne Hilfefenster -e : Tabulatoren lassen -h : k. Hervorheb."
+57 "^[ (Escape) Menü ^e Textsuche ^y Zeile löschen ^u hoch ^p Seite zur. "
+58 "^a ASCII-Code ^x Weitersuchen ^z Zeile rückhl. ^d runter ^n Seite vor "
+59 "^b Textende ^g Zeilenanfang ^w Wort löschen ^l links "
+60 "^t Textanfang ^o Zeilenende ^v Wort rückhol. ^r rechts "
+61 "^c Befehl ^k Zeichen lösch. ^f Zeichen rückholen ESC-Enter: Ende ee "
+62 "hilfe: Hilfe |datei : Dateiname anzeigen |zeile: Zeilennumer "
+63 "lesen: Datei lesen |zeichen:ASCII-Code des Zeichens |0-9 : zur Zeile "
+64 "schre: Datei schreib. |grosskl:Suche mit Groß/Klein |ende : Speichern,Ende "
+65 "!bef : Unix-\"bef\" |klein: Suche ohne Groß/Klein |abbr : Abbruch "
+66 "leer : Tab -> Leerz. |tabs : Tabulatoren belassen "
+67 " Escape (^[) drücken für Menü"
+68 "Keine Datei"
+69 "ASCII-Code: "
+70 "Pufferinhalt nach \"%s\" schreiben "
+71 "Befehl: "
+72 "Dateiname zum Schreiben: "
+73 "Dateiname zum Lesen: "
+74 "Zeichen = %d"
+75 "Unbekannter Befehl \"%s\""
+76 "Angegebener Befehl ist nicht eindeutig"
+77 "Zeile %d "
+78 "Länge = %d"
+79 "Aktuelle Datei ist \"%s\" "
+80 "Benutzung: %s [-i] [-e] [-h] [+zeilennummer] [dateien]\n"
+81 " -i Hilfefenster ausschalten\n"
+82 " -e Tabulatoren nicht in Leerzeichen wandeln\"
+83 " -h keine Hervorhebungen\n"
+84 "Datei \"%s\" ist ein Verzeichnis"
+85 "Neue Datei \"%s\""
+86 "Datei \"%s\" kann nicht geöffnet werden"
+87 "Datei \"%s\", %d Zeilen"
+88 "Lesen der Datei \"%s\" beendet"
+89 "Lese die Datei \"%s\""
+90 ", schreibgeschützt"
+91 "Datei \"%s\", %d Zeilen"
+92 "Dateinamen eingeben: "
+93 "Kein Name angegeben; Datei nicht gespeichert"
+94 "Pufferinhalt geändert, wirklich verlassen? (j/n [n]) "
+95 "j"
+96 "Datei existiert bereits, überschreiben? (j/n) [n] "
+97 "Datei \"%s\" kann nicht erzeugt werden"
+98 "Schreibe Datei \"%s\""
+99 "\"%s\" %d Zeilen, %d Zeichen"
+100 " ...Suche läuft"
+101 "Zeichenfolge \"%s\" nicht gefunden"
+102 "Suchen nach: "
+103 "Kann %s nicht ausführen\n"
+104 "Bitte die Eingabetaste drücken "
+105 "Escape zum Beenden"
+106 "Menü ist zu groß für das Fenster"
+107 "eine beliebige Taste drücken "
+108 "Unix-Befehl: "
+109 "...formatiere Absatz..."
+110 "<!echo 'Liste der nicht gefundenen Wörter'; echo -=-=-=-=-=-"
+111 "Sende den Pufferinhalt an 'spell'"
+112 "Rechter Rand: "
+113 "Eingeschränkter Modus: gewünschte Operation unzulässig"
+114 "EIN"
+115 "AUS"
+116 "HILFE"
+117 "SCHREIBEN"
+118 "LESEN"
+119 "ZEILE"
+120 "DATEI"
+121 "ZEICHEN"
+122 "REGENERIEREN"
+123 "UMNUMERIEREN"
+124 "AUTOR"
+125 "VERSION"
+126 "GROSSKL"
+127 "KLEIN"
+128 "LEER"
+129 "TABS"
+130 "ENDE"
+131 "ABBRUCH"
+132 "INFO"
+133 "[INFO]"
+134 "RAND"
+135 "[RAND]"
+136 "FORMAT."
+137 "[FORMAT.]"
+138 "ECHO"
+139 "DRUCKBEFEHL"
+140 "RECHTERRAND"
+141 "HERVORHEB."
+142 "[HERVORHEB.]"
+143 "8-BIT"
+144 "[8-BIT]"
+145 "Emacs-Tastenbelegung "
+146 "^a Zeilenanfang ^i Tabulator ^r Wort zurückholen "
+147 "^b ein Zeichen zurück ^j Zeichen zurückholen ^t Textanfang "
+148 "^c Befehl ^k Zeile löschen ^u Textende "
+149 "^d Zeichen löschen ^l Zeile zurückholen ^v nächste Seite "
+150 "^e Zeilenendee ^m neue Zeile ^w Wort löschen "
+151 "^f ein Zeichen vorwärts ^n neue Zeile ^x Weitersuchen "
+152 "^g vorige Seite ^o ASCII-Zeichen einfü. ^y Textsuche "
+153 "^h Rückschritt ^p vorige Zeile ^z nächstes Wort "
+154 "^[ (Escape) Menü ^y Suchtext eing. ^k Zeile löschen ^p vor.Zeile ^g vor.Seite"
+155 "^o ASCII-Zeichen ^x Weitersuchen ^l Zeile rückhol ^n nä. Zeile ^v nä. Seite"
+156 "^u Textende ^a Zeilenanfang ^w Wort löschen ^b ein Zeichen zurück "
+157 "^t Textanfang ^e Zeilenende ^r Wort rückhol. ^f ein Zeichen vor "
+158 "^c Befehl ^d Zeichen lösch. ^j Zeich. rückh. ^z nächstes Wort "
+159 "EMACS"
+160 "[EMACS]"
+161 " +<zahl> Zeiger auf Zeile <zahl> setzen"
diff --git a/usr.bin/ee/nls/en_US.ISO_8859-1/ee.msg b/usr.bin/ee/nls/en_US.ISO_8859-1/ee.msg
index 1ed22aa..1d4fe8c 100644
--- a/usr.bin/ee/nls/en_US.ISO_8859-1/ee.msg
+++ b/usr.bin/ee/nls/en_US.ISO_8859-1/ee.msg
@@ -3,7 +3,7 @@ $ ee.i18n.guide for more information
$
$ For ee patchlevel 3
$
-$ $Header: /home/ncvs/src/usr.bin/ee/ee.msg,v 1.1.1.1 1995/08/30 07:28:06 jkh Exp $
+$ $Header: /home/ncvs/src/usr.bin/ee/nls/en_US.ISO_8859-1/ee.msg,v 1.1 1995/08/30 13:25:55 jkh Exp $
$
$set 1
$quote "
@@ -50,7 +50,7 @@ $quote "
41 "^f undelete char ^n next page ^x search "
42 "^g begin of line ^o end of line ^y delete line "
43 "^h backspace ^p prev page ^z undelete line "
-44 "^[ (escape) menu "
+44 "^[ (escape) menu ESC-Enter: exit ee "
45 " "
46 "Commands: "
47 "help : get this info file : print file name "
@@ -67,7 +67,7 @@ $quote "
58 "^a ascii code ^x search ^z undelete line ^d down ^n next page "
59 "^b bottom of text ^g begin of line ^w delete word ^l left "
60 "^t top of text ^o end of line ^v undelete word ^r right "
-61 "^c command ^k delete char ^f undelete char "
+61 "^c command ^k delete char ^f undelete char ESC-Enter: exit ee "
62 "help : get help info |file : print file name |line : print line # "
63 "read : read a file |char : ascii code of char |0-9 : go to line \"#\""
64 "write: write a file |case : case sensitive search |exit : leave and save "
diff --git a/usr.bin/ee/nls/en_US.US-ASCII/ee.msg b/usr.bin/ee/nls/en_US.US-ASCII/ee.msg
new file mode 100644
index 0000000..1d4fe8c
--- /dev/null
+++ b/usr.bin/ee/nls/en_US.US-ASCII/ee.msg
@@ -0,0 +1,170 @@
+$ This file contains the messages for ee ("easy editor"). See the file
+$ ee.i18n.guide for more information
+$
+$ For ee patchlevel 3
+$
+$ $Header: /home/ncvs/src/usr.bin/ee/nls/en_US.ISO_8859-1/ee.msg,v 1.1 1995/08/30 13:25:55 jkh Exp $
+$
+$set 1
+$quote "
+1 "modes menu"
+2 "tabs to spaces "
+3 "case sensitive search"
+4 "margins observed "
+5 "auto-paragraph format"
+6 "eightbit characters "
+7 "info window "
+8 "right margin "
+9 "leave menu"
+10 "save changes"
+11 "no save"
+12 "file menu"
+13 "read a file"
+14 "write a file"
+15 "save file"
+16 "print editor contents"
+17 "search menu"
+18 "search for ..."
+19 "search"
+20 "spell menu"
+21 "use 'spell'"
+22 "use 'ispell'"
+23 "miscellaneous menu"
+24 "format paragraph"
+25 "shell command"
+26 "check spelling"
+27 "main menu"
+28 "leave editor"
+29 "help"
+30 "file operations"
+31 "redraw screen"
+32 "settings"
+33 "search"
+34 "miscellaneous"
+35 "Control keys: "
+36 "^a ascii code ^i tab ^r right "
+37 "^b bottom of text ^j newline ^t top of text "
+38 "^c command ^k delete char ^u up "
+39 "^d down ^l left ^v undelete word "
+40 "^e search prompt ^m newline ^w delete word "
+41 "^f undelete char ^n next page ^x search "
+42 "^g begin of line ^o end of line ^y delete line "
+43 "^h backspace ^p prev page ^z undelete line "
+44 "^[ (escape) menu ESC-Enter: exit ee "
+45 " "
+46 "Commands: "
+47 "help : get this info file : print file name "
+48 "read : read a file char : ascii code of char "
+49 "write : write a file case : case sensitive search "
+50 "exit : leave and save nocase : case insensitive search "
+51 "quit : leave, no save !cmd : execute \"cmd\" in shell "
+52 "line : display line # 0-9 : go to line \"#\" "
+53 "expand : expand tabs noexpand: do not expand tabs "
+54 " "
+55 " ee [-i] [-e] [-h] [file(s)] "
+56 " -i : no information window -e : do not expand tabs -h : no highlight "
+57 "^[ (escape) menu ^e search prompt ^y delete line ^u up ^p prev page "
+58 "^a ascii code ^x search ^z undelete line ^d down ^n next page "
+59 "^b bottom of text ^g begin of line ^w delete word ^l left "
+60 "^t top of text ^o end of line ^v undelete word ^r right "
+61 "^c command ^k delete char ^f undelete char ESC-Enter: exit ee "
+62 "help : get help info |file : print file name |line : print line # "
+63 "read : read a file |char : ascii code of char |0-9 : go to line \"#\""
+64 "write: write a file |case : case sensitive search |exit : leave and save "
+65 "!cmd : shell \"cmd\" |nocase: ignore case in search |quit : leave, no save"
+66 "expand: expand tabs |noexpand: do not expand tabs "
+67 " press Escape (^[) for menu"
+68 "no file"
+69 "ascii code: "
+70 "sending contents of buffer to \"%s\" "
+71 "command: "
+72 "name of file to write: "
+73 "name of file to read: "
+74 "character = %d"
+75 "unknown command \"%s\""
+76 "entered command is not unique"
+77 "line %d "
+78 "length = %d"
+79 "current file is \"%s\" "
+80 "usage: %s [-i] [-e] [-h] [+line_number] [file(s)]\n"
+81 " -i turn off info window\n"
+82 " -e do not convert tabs to spaces\n"
+83 " -h do not use highlighting\n"
+84 "file \"%s\" is a directory"
+85 "new file \"%s\""
+86 "can't open \"%s\""
+87 "file \"%s\", %d lines"
+88 "finished reading file \"%s\""
+89 "reading file \"%s\""
+90 ", read only"
+91 "file \"%s\", %d lines"
+92 "enter name of file: "
+93 "no filename entered: file not saved"
+94 "changes have been made, are you sure? (y/n [n]) "
+95 "y"
+96 "file already exists, overwrite? (y/n) [n] "
+97 "unable to create file \"%s\""
+98 "writing file \"%s\""
+99 "\"%s\" %d lines, %d characters"
+100 " ...searching"
+101 "string \"%s\" not found"
+102 "search for: "
+103 "could not exec %s\n"
+104 "press return to continue "
+105 "press Esc to cancel"
+106 "menu too large for window"
+107 "press any key to continue "
+108 "shell command: "
+109 "...formatting paragraph..."
+110 "<!echo 'list of unrecognized words'; echo -=-=-=-=-=-"
+111 "sending contents of edit buffer to 'spell'"
+112 "right margin is: "
+113 "restricted mode: unable to perform requested operation"
+114 "ON"
+115 "OFF"
+116 "HELP"
+117 "WRITE"
+118 "READ"
+119 "LINE"
+120 "FILE"
+121 "CHARACTER"
+122 "REDRAW"
+123 "RESEQUENCE"
+124 "AUTHOR"
+125 "VERSION"
+126 "CASE"
+127 "NOCASE"
+128 "EXPAND"
+129 "NOEXPAND"
+130 "EXIT"
+131 "QUIT"
+132 "INFO"
+133 "NOINFO"
+134 "MARGINS"
+135 "NOMARGINS"
+136 "AUTOFORMAT"
+137 "NOAUTOFORMAT"
+138 "ECHO"
+139 "PRINTCOMMAND"
+140 "RIGHTMARGIN"
+141 "HIGHLIGHT"
+142 "NOHIGHLIGHT"
+143 "EIGHTBIT"
+144 "NOEIGHTBIT"
+145 "emacs key bindings "
+146 "^a beginning of line ^i tab ^r restore word "
+147 "^b back 1 char ^j undel char ^t top of text "
+148 "^c command ^k delete line ^u bottom of text "
+149 "^d delete char ^l undelete line ^v next page "
+150 "^e end of line ^m newline ^w delete word "
+151 "^f forward 1 char ^n next line ^x search "
+152 "^g go back 1 page ^o ascii char insert ^y search prompt "
+153 "^h backspace ^p prev line ^z next word "
+154 "^[ (escape) menu ^y search prompt ^k delete line ^p prev li ^g prev page"
+155 "^o ascii code ^x search ^l undelete line ^n next li ^v next page"
+156 "^u end of file ^a begin of line ^w delete word ^b back 1 char "
+157 "^t top of text ^e end of line ^r restore word ^f forward 1 char "
+158 "^c command ^d delete char ^j undelete char ^z next word "
+159 "EMACS"
+160 "NOEMACS"
+161 " +# put cursor at line #\n"
diff --git a/usr.bin/ee/nls/fr_FR.ISO8859-1/ee.msg b/usr.bin/ee/nls/fr_FR.ISO8859-1/ee.msg
new file mode 100644
index 0000000..f98bf5c
--- /dev/null
+++ b/usr.bin/ee/nls/fr_FR.ISO8859-1/ee.msg
@@ -0,0 +1,170 @@
+$ This file contains the messages for ee ("easy editor"). See the file
+$ ee.i18n.guide for more information
+$
+$ For ee patchlevel 3
+$
+$ $Id: ee.msg,v 1.1 1995/09/09 15:06:08 jmz Exp $
+$
+$set 1
+$quote "
+1 "menu de configuration "
+2 "tabulation -> espaces "
+3 "recherche sensible aux maj/min "
+4 "respect des marges "
+5 "formattage automatique des paragraphes"
+6 "caractères 8 bits "
+7 "fenêtre d'informations "
+8 "marge de droite "
+9 "menu de sortie"
+10 "enregistrer les modifications"
+11 "ne pas enregistrer"
+12 "menu fichiers"
+13 "lire un fichier"
+14 "écrire un fichier"
+15 "enregistrer un fichier"
+16 "imprimer le contenu de l'éditeur"
+17 "menu recherche"
+18 "recherche de..."
+19 "rechercher"
+20 "menu correcteur orthographique"
+21 "utiliser 'spell'"
+22 "utiliser 'ispell'"
+23 "menu divers"
+24 "formatter le paragraphe"
+25 "commande du shell"
+26 "vérifier l'orthographe"
+27 "menu principal"
+28 "quitter l'éditeur"
+29 "aide"
+30 "opérations sur les fichiers"
+31 "rafraîchir l'écran"
+32 "configuration"
+33 "recherche"
+34 "divers"
+35 "Contrôle + touche: "
+36 "^a code ascii ^i tabulation ^r droite "
+37 "^b fin du texte ^j nouvelle ligne ^t début du texte "
+38 "^c commande ^k effacer caractère ^u haut "
+39 "^d bas ^l gauche ^v annuler effacement mot "
+40 "^e entrer recherche ^m nouvelle ligne ^w effacer un mot "
+41 "^f annuler eff. caract. ^n page suivante ^x recherche "
+42 "^g début de ligne ^o fin de ligne ^y effacer ligne "
+43 "^h arrière ^p page précédente ^z annuler effacement ligne"
+44 "^[ (échappement) menu ESC-Enter: quitter ee "
+45 " "
+46 "Commandes: "
+47 "aide : pour cet écran d'info fichier: donne le nom du fichier "
+48 "lire : lire un fichier caract : code ascii d'un caractère"
+49 "ecrire : créer un fichier minmaj : recherche sensible aux maj/Min"
+50 "fin : quitter et enregistrer pasmin : recherche insensible aux maj/Min"
+51 "quitter: quitter, ne pas enregistrer !cmd : exécute \"cmd\" par le shell"
+52 "ligne : indique le nunéro de ligne 0-9 : aller à la ligne \"#\" "
+53 "tabs : étendre les tabulations pastabs: ne pas étendre les tabulations"
+54 " "
+55 " ee [-i] [-e] [-h] [fichier(s)] "
+56 " -i : pas de fenêtre d'info -e : ne pas étendre les tabs -h : pas de surbrillance"
+57 "^[ (echap.) menu ^e rechercher... ^y efface ligne ^u haut ^p page préc."
+58 "^a code ascii ^x rechercher ^z annul. eff. ligne ^d bas ^n page suiv."
+59 "^b fin du texte ^g début de ligne ^w efface mot ^l gauche "
+60 "^t début du texte ^o fin de ligne ^v annul. eff. mot ^r droite "
+61 "^c commande ^k efface caract. ^f annul. eff. caract. ESC-Enter: quitter "
+62 "aide: fenêtre d'aide |fichier: nom du fichier |ligne: numéro de ligne"
+63 "lire: lecture fichier|caract : code ascii du car. |0-9: aller ligne \"#\""
+64 "ecrire: crée un fich. |minmaj: rech. sensible min/maj|fin: quitte et sauve"
+65 "!cmd: shell \"cmd\" |pasmin: rech. insens. min/maj |quitte: quitte sans sauver"
+66 "tabs: étend les tabs |pastabs: n'étend pas les tabulations"
+67 " presser sur Esc (^[) pour le menu"
+68 "pas de fichier"
+69 "code ascii: "
+70 "le contenu du buffer est imprimé sur \"%s\" "
+71 "commande: "
+72 "nom du fichier à créer: "
+73 "nom du fichier à lire: "
+74 "caractère = %d"
+75 "commande inconnue : \"%s\""
+76 "la commande tapée est ambiguë"
+77 "ligne %d "
+78 "longueur = %d"
+79 "le fichier courant est \"%s\" "
+80 "utilisation: %s [-i] [-e] [-h] [+numero_de_ligne] [fichier(s)]\n"
+81 " -i supprime la fenêtre d'informations\n"
+82 " -e ne convertit pas les tabs en espaces\n"
+83 " -h n'utilise pas de surbrillance\n"
+84 "le fichier \"%s\" est un répertoire"
+85 "nouveau fichier \"%s\""
+86 "impossible de d'ouvrir \"%s\""
+87 "fichier \"%s\", %d lignes"
+88 "le fichier \"%s\" a été lu"
+89 "lecture du fichier \"%s\""
+90 ", lecture seule"
+91 "fichier \"%s\", %d lignes"
+92 "entrer un nom de fichier : "
+93 "pas de nom de fichier donné : fichier non enregistré"
+94 "des changements ont été effectués, êtes vous sûr ? (o/n [n]) "
+95 "o"
+96 "le fichier existe déjà, réécrire ? (o/n) [n] "
+97 "impossible de créer le fichier \"%s\""
+98 "écriture du fichier \"%s\""
+99 "\"%s\" %d lignes, %d caractères"
+100 " ...recherche"
+101 "chaîne \"%s\" non trouvée"
+102 "rechercher: "
+103 "impossible d'exécuter %s\n"
+104 "taper return pour continuer "
+105 "presser sur echap pour annuler"
+106 "menu trop grand pour la fenêtre"
+107 "appuyer sur une touche pour continuer "
+108 "commande du shell: "
+109 "...formattage du paragraphe..."
+110 "<!echo 'liste des mots non reconnus'; echo -=-=-=-=-=-"
+111 "envoi du contenu du buffer à 'spell'"
+112 "colonne de la marge de droite : "
+113 "mode restreint: impossible d'effectuer l'opération demandée"
+114 "OUI"
+115 "NON"
+116 "AIDE"
+117 "ECRIRE"
+118 "LIRE"
+119 "LIGNE"
+120 "FICHIER"
+121 "CARACTERE"
+122 "RAFRAICHIR"
+23 "menu divers"
+124 "AUTEUR"
+125 "VERSION"
+126 "MINMAJ"
+127 "PASMINMAJ"
+128 "TABS"
+129 "PASTABS"
+130 "FIN"
+131 "QUITTE"
+132 "INFO"
+133 "PASINFO"
+134 "MARGES"
+135 "PASMARGES"
+136 "AUTOFORMAT"
+137 "PASAUTOFORMAT"
+138 "ECHO"
+139 "COMMANDEIMPRESSION"
+140 "MARGEDROITE"
+141 "SURBRILLANT"
+142 "PASSURBRILLANT"
+143 "8BIT"
+144 "PAS8BIT"
+145 "caractères de contrôle comme emacs "
+146 "^a début de ligne ^i tabulation ^r annule effacement mot "
+147 "^b arrière ^j annule eff. caract. ^t début du texte "
+148 "^c commande ^k efface ligne ^u fin du texte "
+149 "^d efface caractère ^l annule eff. ligne ^v page suivante "
+150 "^e fin de ligne ^m nouvelle ligne ^w effacer un mot "
+151 "^f caractère suivant ^n ligne suivante ^x recherche "
+152 "^g page précédente ^o insère caract. ascii ^y rechercher... "
+153 "^h efface en arrière ^p ligne précédente ^z mot suivant "
+154 "^[ (escape) menu ^y rechercher... ^k efface ligne ^p ligne prec ^g page prec"
+155 "^o code ascii ^x recherche ^l annul. eff.li ^n ligne suiv ^v page suiv"
+156 "^u fin du fichier ^a début de ligne ^w efface mot ^b arrière "
+157 "^t début du texte ^e fin de ligne ^r annul.eff.mot ^f avance 1 caractère "
+158 "^c commande ^d efface caract. ^j annul.eff.car ^z mot suivant "
+159 "EMACS"
+160 "PASEMACS"
+161 " +# positionne le curseur sur la ligne #\n"
diff --git a/usr.bin/ee/nls/fr_FR.ISO_8859-1/ee.msg b/usr.bin/ee/nls/fr_FR.ISO_8859-1/ee.msg
new file mode 100644
index 0000000..f98bf5c
--- /dev/null
+++ b/usr.bin/ee/nls/fr_FR.ISO_8859-1/ee.msg
@@ -0,0 +1,170 @@
+$ This file contains the messages for ee ("easy editor"). See the file
+$ ee.i18n.guide for more information
+$
+$ For ee patchlevel 3
+$
+$ $Id: ee.msg,v 1.1 1995/09/09 15:06:08 jmz Exp $
+$
+$set 1
+$quote "
+1 "menu de configuration "
+2 "tabulation -> espaces "
+3 "recherche sensible aux maj/min "
+4 "respect des marges "
+5 "formattage automatique des paragraphes"
+6 "caractères 8 bits "
+7 "fenêtre d'informations "
+8 "marge de droite "
+9 "menu de sortie"
+10 "enregistrer les modifications"
+11 "ne pas enregistrer"
+12 "menu fichiers"
+13 "lire un fichier"
+14 "écrire un fichier"
+15 "enregistrer un fichier"
+16 "imprimer le contenu de l'éditeur"
+17 "menu recherche"
+18 "recherche de..."
+19 "rechercher"
+20 "menu correcteur orthographique"
+21 "utiliser 'spell'"
+22 "utiliser 'ispell'"
+23 "menu divers"
+24 "formatter le paragraphe"
+25 "commande du shell"
+26 "vérifier l'orthographe"
+27 "menu principal"
+28 "quitter l'éditeur"
+29 "aide"
+30 "opérations sur les fichiers"
+31 "rafraîchir l'écran"
+32 "configuration"
+33 "recherche"
+34 "divers"
+35 "Contrôle + touche: "
+36 "^a code ascii ^i tabulation ^r droite "
+37 "^b fin du texte ^j nouvelle ligne ^t début du texte "
+38 "^c commande ^k effacer caractère ^u haut "
+39 "^d bas ^l gauche ^v annuler effacement mot "
+40 "^e entrer recherche ^m nouvelle ligne ^w effacer un mot "
+41 "^f annuler eff. caract. ^n page suivante ^x recherche "
+42 "^g début de ligne ^o fin de ligne ^y effacer ligne "
+43 "^h arrière ^p page précédente ^z annuler effacement ligne"
+44 "^[ (échappement) menu ESC-Enter: quitter ee "
+45 " "
+46 "Commandes: "
+47 "aide : pour cet écran d'info fichier: donne le nom du fichier "
+48 "lire : lire un fichier caract : code ascii d'un caractère"
+49 "ecrire : créer un fichier minmaj : recherche sensible aux maj/Min"
+50 "fin : quitter et enregistrer pasmin : recherche insensible aux maj/Min"
+51 "quitter: quitter, ne pas enregistrer !cmd : exécute \"cmd\" par le shell"
+52 "ligne : indique le nunéro de ligne 0-9 : aller à la ligne \"#\" "
+53 "tabs : étendre les tabulations pastabs: ne pas étendre les tabulations"
+54 " "
+55 " ee [-i] [-e] [-h] [fichier(s)] "
+56 " -i : pas de fenêtre d'info -e : ne pas étendre les tabs -h : pas de surbrillance"
+57 "^[ (echap.) menu ^e rechercher... ^y efface ligne ^u haut ^p page préc."
+58 "^a code ascii ^x rechercher ^z annul. eff. ligne ^d bas ^n page suiv."
+59 "^b fin du texte ^g début de ligne ^w efface mot ^l gauche "
+60 "^t début du texte ^o fin de ligne ^v annul. eff. mot ^r droite "
+61 "^c commande ^k efface caract. ^f annul. eff. caract. ESC-Enter: quitter "
+62 "aide: fenêtre d'aide |fichier: nom du fichier |ligne: numéro de ligne"
+63 "lire: lecture fichier|caract : code ascii du car. |0-9: aller ligne \"#\""
+64 "ecrire: crée un fich. |minmaj: rech. sensible min/maj|fin: quitte et sauve"
+65 "!cmd: shell \"cmd\" |pasmin: rech. insens. min/maj |quitte: quitte sans sauver"
+66 "tabs: étend les tabs |pastabs: n'étend pas les tabulations"
+67 " presser sur Esc (^[) pour le menu"
+68 "pas de fichier"
+69 "code ascii: "
+70 "le contenu du buffer est imprimé sur \"%s\" "
+71 "commande: "
+72 "nom du fichier à créer: "
+73 "nom du fichier à lire: "
+74 "caractère = %d"
+75 "commande inconnue : \"%s\""
+76 "la commande tapée est ambiguë"
+77 "ligne %d "
+78 "longueur = %d"
+79 "le fichier courant est \"%s\" "
+80 "utilisation: %s [-i] [-e] [-h] [+numero_de_ligne] [fichier(s)]\n"
+81 " -i supprime la fenêtre d'informations\n"
+82 " -e ne convertit pas les tabs en espaces\n"
+83 " -h n'utilise pas de surbrillance\n"
+84 "le fichier \"%s\" est un répertoire"
+85 "nouveau fichier \"%s\""
+86 "impossible de d'ouvrir \"%s\""
+87 "fichier \"%s\", %d lignes"
+88 "le fichier \"%s\" a été lu"
+89 "lecture du fichier \"%s\""
+90 ", lecture seule"
+91 "fichier \"%s\", %d lignes"
+92 "entrer un nom de fichier : "
+93 "pas de nom de fichier donné : fichier non enregistré"
+94 "des changements ont été effectués, êtes vous sûr ? (o/n [n]) "
+95 "o"
+96 "le fichier existe déjà, réécrire ? (o/n) [n] "
+97 "impossible de créer le fichier \"%s\""
+98 "écriture du fichier \"%s\""
+99 "\"%s\" %d lignes, %d caractères"
+100 " ...recherche"
+101 "chaîne \"%s\" non trouvée"
+102 "rechercher: "
+103 "impossible d'exécuter %s\n"
+104 "taper return pour continuer "
+105 "presser sur echap pour annuler"
+106 "menu trop grand pour la fenêtre"
+107 "appuyer sur une touche pour continuer "
+108 "commande du shell: "
+109 "...formattage du paragraphe..."
+110 "<!echo 'liste des mots non reconnus'; echo -=-=-=-=-=-"
+111 "envoi du contenu du buffer à 'spell'"
+112 "colonne de la marge de droite : "
+113 "mode restreint: impossible d'effectuer l'opération demandée"
+114 "OUI"
+115 "NON"
+116 "AIDE"
+117 "ECRIRE"
+118 "LIRE"
+119 "LIGNE"
+120 "FICHIER"
+121 "CARACTERE"
+122 "RAFRAICHIR"
+23 "menu divers"
+124 "AUTEUR"
+125 "VERSION"
+126 "MINMAJ"
+127 "PASMINMAJ"
+128 "TABS"
+129 "PASTABS"
+130 "FIN"
+131 "QUITTE"
+132 "INFO"
+133 "PASINFO"
+134 "MARGES"
+135 "PASMARGES"
+136 "AUTOFORMAT"
+137 "PASAUTOFORMAT"
+138 "ECHO"
+139 "COMMANDEIMPRESSION"
+140 "MARGEDROITE"
+141 "SURBRILLANT"
+142 "PASSURBRILLANT"
+143 "8BIT"
+144 "PAS8BIT"
+145 "caractères de contrôle comme emacs "
+146 "^a début de ligne ^i tabulation ^r annule effacement mot "
+147 "^b arrière ^j annule eff. caract. ^t début du texte "
+148 "^c commande ^k efface ligne ^u fin du texte "
+149 "^d efface caractère ^l annule eff. ligne ^v page suivante "
+150 "^e fin de ligne ^m nouvelle ligne ^w effacer un mot "
+151 "^f caractère suivant ^n ligne suivante ^x recherche "
+152 "^g page précédente ^o insère caract. ascii ^y rechercher... "
+153 "^h efface en arrière ^p ligne précédente ^z mot suivant "
+154 "^[ (escape) menu ^y rechercher... ^k efface ligne ^p ligne prec ^g page prec"
+155 "^o code ascii ^x recherche ^l annul. eff.li ^n ligne suiv ^v page suiv"
+156 "^u fin du fichier ^a début de ligne ^w efface mot ^b arrière "
+157 "^t début du texte ^e fin de ligne ^r annul.eff.mot ^f avance 1 caractère "
+158 "^c commande ^d efface caract. ^j annul.eff.car ^z mot suivant "
+159 "EMACS"
+160 "PASEMACS"
+161 " +# positionne le curseur sur la ligne #\n"
OpenPOWER on IntegriCloud