home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sources.misc
- From: markd@werple.apana.org.au (Mark Delany)
- Subject: v35i121: ipick - an interactive filter to pick lines, Part05/05
- Message-ID: <1993Mar4.195133.11919@sparky.imd.sterling.com>
- X-Md4-Signature: 0dcddf0b2a8d85344cb7fec50582896e
- Date: Thu, 4 Mar 1993 19:51:33 GMT
- Approved: kent@sparky.imd.sterling.com
-
- Submitted-by: markd@werple.apana.org.au (Mark Delany)
- Posting-number: Volume 35, Issue 121
- Archive-name: ipick/part05
- Environment: UNIX, Curses
-
- #! /bin/sh
- # This is a shell archive. Remove anything before this line, then feed it
- # into a shell via "sh file" or similar. To overwrite existing files,
- # type "sh file -c".
- # The tool that generated this appeared in the comp.sources.unix newsgroup;
- # send mail to comp-sources-unix@uunet.uu.net if you want that tool.
- # Contents: ipick/language/english ipick/language/german
- # Wrapped by markd@bushwire on Sun Feb 28 10:06:39 1993
- PATH=/bin:/usr/bin:/usr/ucb ; export PATH
- echo If this archive is complete, you will see the following message:
- echo ' "shar: End of archive 5 (of 5)."'
- if test -f 'ipick/language/english' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'ipick/language/english'\"
- else
- echo shar: Extracting \"'ipick/language/english'\" \(11115 characters\)
- sed "s/^X//" >'ipick/language/english' <<'END_OF_FILE'
- X/* $Id: english,v 1.1 1993/02/27 21:58:07 markd Exp $
- X *
- X * Language dependent runtime messages used by ipick
- X *
- X * Copyright (c) 1993, Mark Delany
- X *
- X * You may distribute under the terms of either the GNU General Public
- X * License or the Artistic License, as specified in the README file.
- X *
- X * $Log: english,v $
- X * Revision 1.1 1993/02/27 21:58:07 markd
- X * Initial revision
- X *
- X */
- X
- X#define IN_LANGUAGE /* Tells ipick.h not to extern */
- X
- X#include "ipick.h"
- X
- X/*
- X * All online messages for ipick are located in this file so that
- X * different nationalities can be relatively easily created.
- X *
- X * Each module has it's own external array of messages of the form
- X * msg_XXXX.
- X *
- X * Notes:
- X * ======
- X *
- X * 1. Be VERY careful when changing messages that are part of a
- X * printf pattern. Make sure that the number type and order of
- X * parameters remain exactly the same.
- X *
- X * 2. The strings ALL and VISIBLE can be changed to anything you
- X * like as long as they are unique in the first character. Don't
- X * forget to change the help_text if you change these.
- X */
- X
- X
- X/********** COMMAND **********/
- X
- Xchar *msg_command[] = {
- X/* 00 */ "all",
- X/* 01 */ "visible",
- X/* 02 */ "", /* UNUSED */
- X/* 03 */ "No previous command",
- X/* 04 */ "All lines selected",
- X/* 05 */ "All lines cleared",
- X/* 06 */ "Top of screen",
- X/* 07 */ "Bottom of screen",
- X/* 08 */ "Top of file",
- X/* 09 */ "End of file",
- X/* 10 */ "Beginning of line",
- X/* 11 */ "End of line",
- X/* 12 */ "Invalid line number",
- X/* 13 */ "Shell command illegal in restricted mode",
- X/* 14 */ "Pipe command illegal in restricted mode",
- X/* 15 */ "\n\r[Depress any data key to continue with %s] ",
- X/* 16 */ "Abort disabled in restricted mode",
- X/* 17 */ "Command complete",
- X/* 18 */ "Unrecognized command - try ? for help.",
- X/* 19 */ "Out of range: Minimum required not reached",
- X/* 20 */ "Out of range: Maximum allowed exceeded",
- X/* 21 */ "Out of range: Selection of unread lines may exceed maximum",
- X/* 22 */ "Number too large",
- X/* 23 */ "Illegal character in selection string",
- X/* 24 */ "Item number not on screen",
- X/* 25 */ "No previous pattern to search",
- X/* 26 */ "Not found",
- X/* 27 */ "No more selected lines",
- X/* 28 */ "No previous selected lines"
- X};
- X
- X/********** CURSES **********/
- X
- Xchar *msg_curses[] = {
- X/* 00 */ "The TERM environment variable is not set",
- X/* 01 */ "\nCurses initialization failed with terminal: %s\n",
- X/* 02 */ "Does this terminal have an entry?\n",
- X/* 03 */ "Could not initialize curses",
- X/* 04 */ "Not enough lines for title+data after window/term resize",
- X/* 05 */ "Not enough lines for title+data. Check the -T value",
- X/* 06 */ "Not enough columns for title+data after window/term resize",
- X/* 07 */ "Not enough columns for title+data.",
- X/* 08 */ "More",
- X/* 09 */ "Last",
- X/* 10 */ "Selected",
- X/* 11 */ "Ok:", /* Include colon */
- X/* 12 */ "to", /* As in range of "1 to 4" */
- X/* 13 */ " auto ", /* Auto exit mode -a. Include spaces */
- X/* 14 */ "Col", /* Col for column */
- X/* 15 */ "%s:%d of %d%s "
- X};
- X
- X/********** FILEIO **********/
- X
- Xchar *msg_fileio[] = {
- X/* 00 */ "",
- X/* 01 */ "",
- X/* 02 */ "",
- X/* 03 */ "fwrite to stdout failed",
- X/* 04 */ "fwrite to stdout of remaining buffer failed",
- X/* 05 */ "fwrite to stdout failed"
- X};
- X
- X/********** HELP **********/
- X
- X
- Xchar *msg_help[] = {
- X/* 00 */ "'Q' to quit help. Any other data key to continue...",
- X/* 01 */ "Depress any data key to return to %s...",
- X/* 02 */ "*nothing bound*"
- X};
- X
- X
- X/* There are no embedded tabs in the help_text list - untabify */
- X
- XHELP_TEXT help_text[] = {
- X
- X" Selection Commands", NO_COMMAND,
- X" ------------------", NO_COMMAND,
- X"", NO_COMMAND,
- X"Select line-range ", SELECT_RANGE,
- X"Select line numbers ", SELECT_NUMBER,
- X"Select all lines ", SELECT_ALL,
- X"Clear line-range ", CLEAR_RANGE,
- X"Clear all lines ", CLEAR_ALL,
- X"Toggle current line ", TOGGLE_CURRENT,
- X"Toggle line-range ", TOGGLE_RANGE,
- X"Toggle unread ", TOGGLE_UNREAD,
- X"", NO_COMMAND,
- X"", NO_COMMAND,
- X"Line numbers can be any number or range on display. eg: 1 14-9 3", NO_COMMAND,
- X"", NO_COMMAND,
- X"A line-range can be any one of:", NO_COMMAND,
- X"", NO_COMMAND,
- X"o line numbers", NO_COMMAND,
- X"o the word 'visible' or 'v' for all lines on the screen", NO_COMMAND,
- X"o the word 'all' or 'a' for all lines", NO_COMMAND,
- X"", NO_COMMAND,
- XPAGE_END, NO_COMMAND,
- X" Positioning", NO_COMMAND,
- X" -----------", NO_COMMAND,
- X"", NO_COMMAND,
- X"Top of File ", BEGINNING_OF_FILE,
- X"Bottom of File ", END_OF_FILE,
- X"Top of screen ", TOP_OF_SCREEN,
- X"Bottom of screen ", BOTTOM_OF_SCREEN,
- X"Next line ", NEXT_LINE,
- X"Previous line ", PREVIOUS_LINE,
- X"Go to line ", GOTO_LINE,
- XLUMP_END, NO_COMMAND,
- X" Vertical scrolling", NO_COMMAND,
- X" ------------------", NO_COMMAND,
- X"", NO_COMMAND,
- X"Up half screen ", SCROLL_UP_HALF,
- X"Down half screen ", SCROLL_DOWN_HALF,
- X"Up full screen ", SCROLL_UP_FULL,
- X"Down full screen ", SCROLL_DOWN_FULL,
- XLUMP_END, NO_COMMAND,
- X" Horizontal scrolling", NO_COMMAND,
- X" --------------------", NO_COMMAND,
- X"", NO_COMMAND,
- X"Right one character ", SCROLL_RIGHT_CHAR,
- X"Left one character ", SCROLL_LEFT_CHAR,
- X"Right one tabstop ", SCROLL_TAB,
- X"Left one tabstop ", SCROLL_BACKTAB,
- X"Beginning of line ", BEGINNING_OF_LINE,
- X"End of line ", END_OF_LINE,
- X"Scroll left half screen ", SCROLL_LEFT_SCREEN,
- X"Scroll right half screen ", SCROLL_RIGHT_SCREEN,
- XPAGE_END, NO_COMMAND,
- X" Searching", NO_COMMAND,
- X" ---------", NO_COMMAND,
- X"", NO_COMMAND,
- X"Search forwards ", SEARCH_FORWARD,
- X"Search backwards ", SEARCH_BACKWARD,
- X"Re-search forwards ", RE_SEARCH_FORWARD,
- X"Re-search backwards ", RE_SEARCH_BACKWARD,
- X"Next selected ", NEXT_SELECTED,
- X"Previous selected ", PREVIOUS_SELECTED,
- XLUMP_END, NO_COMMAND,
- X" Miscellaneous", NO_COMMAND,
- X" -------------", NO_COMMAND,
- X"", NO_COMMAND,
- X"Quit ", QUIT,
- X"Abort ", ABORT,
- X"Refresh ", REFRESH,
- X"Redo last command ", REDO_COMMAND,
- X"Online Help ", HELP,
- X"Shell command ", SHELL,
- X"Pipe the current line ", PIPE,
- XLUMP_END, NO_COMMAND,
- X" Xterm Mouse tracking", NO_COMMAND,
- X" --------------------", NO_COMMAND,
- X"", NO_COMMAND,
- X"Simplistic mouse button events are supported when running within", NO_COMMAND,
- X"an xterm window.", NO_COMMAND,
- X"", NO_COMMAND,
- X"Button Down events:", NO_COMMAND,
- X"", NO_COMMAND,
- X"Button 1 Start of Select range", NO_COMMAND,
- X"Button 2 Start of Toggle range", NO_COMMAND,
- X"Button 3 Start of Clear range", NO_COMMAND,
- X"", NO_COMMAND,
- X"", NO_COMMAND,
- X"The button release event defines the end of the button down range.", NO_COMMAND,
- XLUMP_END, NO_COMMAND,
- X"While 'dragging' is supported, the lines will not change their", NO_COMMAND,
- X"selection status until the mouse-release event (ie: no HILITE).", NO_COMMAND,
- X"", NO_COMMAND,
- X"Chording of buttons serves no purpose as successive down events", NO_COMMAND,
- X"are ignored. Likewise ignored are the augmentation keys; Shift", NO_COMMAND,
- X"Control and Meta.", NO_COMMAND,
- XNULL};
- X
- X
- X/********** KEYBOARD **********/
- X
- Xchar *msg_keyboard[] = {
- X/* 00 */ "Select: v=visible, a=all, number or range",
- X/* 01 */ "Select: number or range",
- X/* 02 */ "Clear: v=visible, a=all, number or range",
- X/* 03 */ "Toggle: v=visible, a=all, number or range",
- X/* 04 */ "Forward search",
- X/* 05 */ "Reverse search",
- X/* 06 */ "Go to line",
- X/* 07 */ "Shell command",
- X/* 08 */ "Pipe the current line"
- X};
- X
- X/********** MISC **********/
- X
- Xchar *msg_misc[] = {
- X/* 00 */ "Could not open pipe",
- X/* 01 */ "malloc() failed",
- X/* 02 */ "realloc() failed",
- X/* 03 */ "strdup() failed",
- X/* 04 */ "Incomplete Control sequence (^)",
- X/* 05 */ "Incomplete \\ sequence",
- X/* 06 */ "Incomplete octal sequence"
- X};
- X
- X/********** MAIN **********/
- X
- Xchar *msg_main[] = {
- X/* 00 */ "Usage:\t\
- Xipick\t[-abdhrRvV] [-m number] [-M number] [-t title] [-T lines]\n\
- X\t\t[-X xterm-substring] [file]\n",
- X
- X/* 01 */ "\t\t\t\t(-h for detailed command line help)\n",
- X/* 02 */ "\n\
- XInteractive Pick: A curses based filter with online help.\n\
- X\n\
- X-a\tAutomatically exit when lines selected within range of -m to -M\n\
- X-b\tNoisy error messages (ring bell)\n\
- X-d\tDrain stdin on exit to avoid possible SIGPIPE's upstream\n\
- X-h\tPrint this message\n\
- X-r\tRun in restricted mode - no abnormal escape possible\n\
- X-R\tDisable keyboard raw mode\n\
- X-v\tInvert the selection by writing all lines NOT selected\n\
- X-V\tPrint a version, compilation options and copyright message\n\
- X\n\
- X-m\tMinimum number of lines that can be picked (see -a)\n\
- X-M\tMaximum number of lines that can be picked\n\
- X-t\tTitle line(s)\n\
- X-T\tLines to read from stdin as title lines subsequent to -t\n\
- X-X\tIf in $TERM, enables Xterm mouse tracking (default 'xterm')\n\
- X\n\
- Xfile\tRead this file instead of stdin\n\
- X\n\
- XExit 0 = something written to stdout; 1 = nothing written; 2 = fatal error.\n",
- X
- X/* 03 */ "dup() failed when twiddling stdin",
- X/* 04 */ "dup() failed when twiddling stdout",
- X/* 05 */ "ipick:error:fdopen(%d,'r') failed. errno=%d\n",
- X/* 06 */ "ipick:error:fdopen(%d,'w') failed. errno=%d\n",
- X/* 07 */ "Draining stdin...",
- X/* 08 */ "ipick:error:Minimum of %s invalid\n",
- X/* 09 */ "ipick:error:Maximum of %s invalid\n",
- X/* 10 */ "ipick:error:title count of %s invalid\n",
- X/* 11 */ "ipick:error: Minimum of %d is > maximum of %d\n",
- X/* 12 */ ".rc initialization failed",
- X/* 13 */ "ipick:error: Only one file name allowed.\n",
- X/* 14 */ "ipick:error:Cannot open %s. errno=%d\n",
- X/* 15 */ "Sorry, could not fork a process",
- X/* 16 */ "Decode of title (-t) string failed: %s\n",
- X/* 17 */ "version",
- X/* 18 */ "Patch level",
- X/* 19 */ "Config",
- X/* 20 */ "Flags",
- X/* 21 */ "Copyright (c) 1993, %s\nAll rights reserved.\n\n",
- X/* 22 */ "ipick may only be copied under the terms of either the Artistic License or\n",
- X/* 23 */ "the GNU General Public Licence, which may be found in the ipick source kit.\n",
- X/* 24 */ "\nThe author welcomes bug reports and suggestions.\n\n",
- X/* 25 */ "*FATAL ERROR*",
- X/* 26 */ "Language",
- X/* 27 */ "*none*"
- X};
- X
- X/********** PORT **********/
- X
- Xchar *msg_port[] = {
- X/* 00 */ ""
- X};
- X
- X/********** RC **********/
- X
- Xchar *msg_rc[] = {
- X/* 00 */ "\n\ripick:\tIn '%s' at line: %d.\r\n\t",
- X/* 01 */ "Unrecognized command: >>%s<<\n",
- X/* 02 */ "Insufficient parameters for %s. Minimum: %d\n",
- X/* 03 */ "Too many parameters for %s. Maximum: %d\n",
- X/* 04 */ "Parameter %d for %s is unexpectedly empty.\n",
- X/* 05 */ "%s failed. Reason: %s\n",
- X/* 06 */ "Trailing quote missing: %s\n",
- X/* 07 */ "Unexpected character after quote: %s\n",
- X/* 08 */ "Token too long: %s\n",
- X/* 09 */ "Previous error",
- X/* 10 */ "Open failed",
- X/* 11 */ "Tilde (~) expansion failed",
- X/* 12 */ "unknown function name",
- X/* 13 */ "invalid termcap capability",
- X/* 14 */ "invalid terminfo capability"
- X};
- X
- END_OF_FILE
- if test 11115 -ne `wc -c <'ipick/language/english'`; then
- echo shar: \"'ipick/language/english'\" unpacked with wrong size!
- fi
- # end of 'ipick/language/english'
- fi
- if test -f 'ipick/language/german' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'ipick/language/german'\"
- else
- echo shar: Extracting \"'ipick/language/german'\" \(13869 characters\)
- sed "s/^X//" >'ipick/language/german' <<'END_OF_FILE'
- X/* $Id: german,v 1.1 1993/02/27 21:58:14 markd Exp $
- X *
- X * Language dependent runtime messages used by ipick
- X *
- X * Copyright (c) 1993, Mark Delany
- X *
- X * You may distribute under the terms of either the GNU General Public
- X * License or the Artistic License, as specified in the README file.
- X *
- X * $Log: german,v $
- X * Revision 1.1 1993/02/27 21:58:14 markd
- X * Initial revision
- X *
- X */
- X
- X#define IN_LANGUAGE /* Tells ipick.h not to extern */
- X
- X#include "ipick.h"
- X
- X/*
- X * All online messages for ipick are located in this file so that
- X * different nationalities can be relatively easily created.
- X *
- X * Each module has it's own external array of messages of the form
- X * msg_XXXX.
- X *
- X * This file translated into german by: Peter Funk <pf@artcom0.north.de>
- X * Version : Tue, 02-Feb-93 / 08:01 / (pf)
- X *
- X * Notes:
- X * ======
- X *
- X * 0. I haven't used any 8Bit-"Umlaute", since there is no widely
- X * accepted standard. (Also I'm aware of ISO 8859-1).
- X * In particular most UNIX Systems are not yet 8-bit
- X * clean. So for the sake of portability I've used the
- X * ASCII Replacements ("a --> ae, "o --> oe, ....) as standardized
- X * in the "Duden / Rechtschreibung der deutschen Sprache,
- X * Bibliographisches Institut Mannheim/Wien/Zuerich". (pf)
- X *
- X * 1. Be VERY careful when changing messages that are part of a
- X * printf pattern. Make sure that the number type and order of
- X * parameters remain exactly the same.
- X *
- X * 2. The strings ALL and VISIBLE can be changed to anything you
- X * like as long as they are unique in the first character. Don't
- X * forget to change the help_text if you change these.
- X *
- X * 3. At this stage, the single character commands such as 's' and 'c'
- X * cannot be changed easily. Perhaps when there is a .ipickrc file
- X * this will become easier.
- X */
- X
- X
- X/********** COMMAND **********/
- X
- Xchar *msg_command[] = {
- X/* 00 */ "alle",
- X/* 01 */ "visible (sichtbar)",
- X /* 'sichtbar' would be fooled by 'select'-command starting also with 's'! */
- X/* 02 */ "", /* UNUSED */
- X/* 03 */ "Kein vorheriges Kommando",
- X/* 04 */ "Alle Zeilen ausgewaehlt",
- X/* 05 */ "Keine Zeile ausgewaehlt",
- X/* 06 */ "Anfang des Bildschirm",
- X/* 07 */ "Ende des Bildschirm",
- X/* 08 */ "Anfang der Liste",
- X/* 09 */ "Ende der Liste",
- X/* 10 */ "Anfang der Zeile",
- X/* 11 */ "Ende der Zeile",
- X/* 12 */ "Ungueltige Zeilennummer",
- X/* 13 */ "Shell-Kommandos nicht erlaubt in dieser Betriebsart",
- X/* 14 */ "Filter-Kommandos nicht erlaubt in dieser Betriebsart",
- X/* 15 */ "\n\r[Irgendeine Datentaste druecken, um mit %s fortzufahren] ",
- X/* 16 */ "Abbruch nicht erlaubt",
- X/* 17 */ "Kommando ausgefuehrt",
- X/* 18 */ "Unbekanntes Kommando - `?' gibt Hilfstext.",
- X/* 19 */ "Bereich: Noch nicht genuegend ausgewaehlt",
- X/* 20 */ "Bereich: Zuviele ausgewaehlt",
- X/* 21 */ "Bereich: Die Ungelesenen koennten das Maximum ueberschreiten",
- X/* 22 */ "Zahl zu gross",
- X/* 23 */ "Falsches Zeichen in Bereichsauswahl",
- X/* 24 */ "Zeile nicht sichtbar auf dem Bildschirm",
- X/* 25 */ "Bislang wurde noch kein Suchbegriff eingegeben",
- X/* 26 */ "Nichts gefunden",
- X/* 27 */ "Weiter unten ist nichts mehr ausgewaehlt",
- X/* 28 */ "Weiter oben ist nichts mehr ausgewaehlt"
- X};
- X
- X/********** CURSES **********/
- X
- Xchar *msg_curses[] = {
- X/* 00 */ "Die Umgebungsvariable TERM ist nicht gesetzt",
- X/* 01 */ "\nDie Initialisierung von `curses' schlug fehl mit : %s\n",
- X/* 02 */ "Hat dieses Terminal ueberhaupt einen Eintrag ?\n",
- X/* 03 */ "`curses' kann nicht initialisiert werden",
- X/* 04 */ "Nicht genug Platz fuer Titel+Daten nach Fenster-Konfiguration",
- X/* 05 */ "Nicht genug Platz fuer Titel+Daten. Pruefe den -T Wert",
- X/* 06 */ "Nicht genug Spalten fuer Titel+Daten nach Fenster-Konfiguration",
- X/* 07 */ "Nicht genug Spalten fuer Titel+Daten",
- X/* 08 */ "Mehr",
- X/* 09 */ "Ende",
- X/* 10 */ "Ausgewaehlt",
- X/* 11 */ "Ok:", /* Include colon */
- X/* 12 */ "bis", /* As in range of "1 to 4" */
- X/* 13 */ " auto ", /* Auto exit mode -a. Include spaces */
- X/* 14 */ "Sp", /* Col for column, Sp fuer Spalte */
- X/* 15 */ "%s:%d aus %d%s " /* aus versus of */
- X};
- X
- X/********** FILEIO **********/
- X
- Xchar *msg_fileio[] = {
- X/* 00 */ "", /* OLD "Zu wenig Speicher (malloc of LN failed)", */
- X/* 01 */ "", /* OLD "Zu wenig Speicher (malloc of line failed)", */
- X/* 02 */ "", /* OLD "Zu wenig Speicher (malloc of unprintable line failed)", */
- X/* 03 */ "Ausgabe fehlgeschlagen (fwrite to stdout failed)",
- X/* 04 */ "Ausgabe fehlgeschlagen (fwrite to stdout of remaining buffer failed)",
- X/* 05 */ "Ausgabe fehlgeschlagen (fwrite to stdout failed)"
- X};
- X
- X/********** HELP **********/
- X
- Xchar *msg_help[] = {
- X/* 00 */ "'Q' um die Hilfe zu verlassen. Sonst geht's weiter...",
- X/* 01 */ "Zurueck nach %s durch irgendeine Datentaste...",
- X/* 02 */ "*nicht belegt*"
- X};
- X
- X
- X/* There are no embedded tabs in the help_text list */
- X
- XHELP_TEXT help_text[] = {
- X" Auswahl Kommandos", NO_COMMAND,
- X" -----------------", NO_COMMAND,
- X"", NO_COMMAND,
- X"Auswaehlen eines Zeilenbereiches ", SELECT_RANGE,
- X"Bestimmte Zeilennummern auswaehlen ", SELECT_NUMBER,
- X"Alle Zeilen auswaehlen ", SELECT_ALL,
- X"Abwaehlen eines Zeilenbereiches ", CLEAR_RANGE,
- X"Alle Zeilen abwaehlen ", CLEAR_ALL,
- X"Momentane Zeile umschalten (toggle) ", TOGGLE_CURRENT,
- X"Umschalten eines Zeilenbereiches ", TOGGLE_RANGE,
- X"Alle ungelesenen Zeilen umschalten ", TOGGLE_UNREAD,
- X"", NO_COMMAND,
- X"Als Zeilennummern kommen Nummern oder Bereiche in Frage,", NO_COMMAND,
- X"die gerade angezeigt werden. z.B.: 1 14-9 3", NO_COMMAND,
- X"Ein Zeilenbereich kann folgendes sein:", NO_COMMAND,
- X"", NO_COMMAND,
- X" o Zeilennummern", NO_COMMAND,
- X" o Das Wort 'visible' oder 'v' fuer alle sichtbaren Zeilen", NO_COMMAND,
- X" o Das Wort 'alle' oder 'a' fuer alle Zeilen", NO_COMMAND,
- XPAGE_END, NO_COMMAND,
- X" Positionierung", NO_COMMAND,
- X" --------------", NO_COMMAND,
- X"Anfang der Liste ", BEGINNING_OF_FILE,
- X"Ende der Liste ", END_OF_FILE,
- X"oberer Schirmrand ", TOP_OF_SCREEN,
- X"unterer Schirmrand ", BOTTOM_OF_SCREEN,
- X"Naechste Zeile ", NEXT_LINE,
- X"Vorige Zeile ", PREVIOUS_LINE,
- X"gehe zu Zeile ", GOTO_LINE,
- XLUMP_END, NO_COMMAND,
- X" Vertikales Verschieben", NO_COMMAND,
- X" ----------------------", NO_COMMAND,
- X"Halben Schirm aufwaerts ", SCROLL_UP_HALF,
- X"Halben Schirm abwaerts ", SCROLL_DOWN_HALF,
- X"Zurueck blaettern ", SCROLL_UP_FULL,
- X"Weiter blaettern ", SCROLL_DOWN_FULL,
- XLUMP_END, NO_COMMAND,
- X" Horizontales Verschieben", NO_COMMAND,
- X" ------------------------", NO_COMMAND,
- X"1 nach rechts ", SCROLL_RIGHT_CHAR,
- X"1 nach links ", SCROLL_LEFT_CHAR,
- X"8 nach links ", SCROLL_TAB,
- X"8 nach rechts ", SCROLL_BACKTAB,
- X"zum linken Rand ", BEGINNING_OF_LINE,
- X"zum Zeilenende ", END_OF_LINE,
- X"halben Bildschirm nach links ", SCROLL_LEFT_SCREEN,
- X"halben Bildschirm nach rechts ", SCROLL_RIGHT_SCREEN,
- XPAGE_END, NO_COMMAND,
- X" Zeichenketten suchen", NO_COMMAND,
- X" --------------------", NO_COMMAND,
- X"Vorwaerts suchen ", SEARCH_FORWARD,
- X"Rueckwaerts suchen ", SEARCH_BACKWARD,
- X"Wiederhole letzte Suche ", RE_SEARCH_FORWARD,
- X"Wiederhole rueckwaerts ", RE_SEARCH_BACKWARD,
- X"Naechste ausgewaehlte ", NEXT_SELECTED,
- X"Zuletzt ausgewaehlte ", PREVIOUS_SELECTED,
- XLUMP_END, NO_COMMAND,
- X" Andere Kommandos", NO_COMMAND,
- X" ----------------", NO_COMMAND,
- X"", NO_COMMAND,
- X"Ende ", QUIT,
- X"Abbruch ", ABORT,
- X"Bildschirm neu ", REFRESH,
- X"Wiederhole Kommando ", REDO_COMMAND,
- X"Info ", HELP,
- X"Systemkommandos (Shell) ", SHELL,
- X"aktuelle Zeile an Pipeline ", PIPE,
- XLUMP_END, NO_COMMAND,
- X" Bemerkungen", NO_COMMAND,
- X" -----------", NO_COMMAND,
- X"", NO_COMMAND,
- X"1. Die Verschiebungskommandos wirken auf den Cursor und", NO_COMMAND,
- X" *NICHT* auf die angezeigten Daten. (z.B. beim Verschieben", NO_COMMAND,
- X" des Cursors nach rechts oder links)", NO_COMMAND,
- XLUMP_END, NO_COMMAND,
- X"2. Die Tastenbelegungen aller Kommandos lassen sich durch", NO_COMMAND,
- X" eine Datei namens `.ipickrc' nach Belieben umdefinieren.", NO_COMMAND,
- XLUMP_END, NO_COMMAND,
- X" Xterm Maus Unterstuetzung", NO_COMMAND,
- X" -------------------------", NO_COMMAND,
- X"In einem Xterm Fenster ist eine Auswahl per Maus moeglich.", NO_COMMAND,
- X"", NO_COMMAND,
- X"Beim Druecken eines Mausknopfes passiert folgendes:", NO_COMMAND,
- X"", NO_COMMAND,
- X"Knopf 1 Start eines Auswaehlbereiches", NO_COMMAND,
- X"Knopf 2 Start eines Auswaehlumschalt-Bereiches", NO_COMMAND,
- X"Knopf 3 Start eines Abwaehlbereiches", NO_COMMAND,
- X"", NO_COMMAND,
- X"Der Bereich endet in der Zeile, auf der der Mausknopf losgelassen wird.", NO_COMMAND,
- XLUMP_END, NO_COMMAND,
- X"Waehrend der Bewegung der Maus mit gedruecktem Knopf gibt es", NO_COMMAND,
- X"allerdings keine Rueckkopplung auf dem Bildschirm.", NO_COMMAND,
- X"", NO_COMMAND,
- X"Gleichzeitiges Druecken mehrerer Maustasten ist sinnlos, da nur der zuerst", NO_COMMAND,
- X"gedrueckte Knopf beruecksichtigt wird. Entsprechend werden auch die", NO_COMMAND,
- X"Tasten <Strg>, <Umschaltung> und <Alt> nicht beruecksichtigt.", NO_COMMAND,
- XNULL};
- X
- X/********** KEYBOARD **********/
- X
- Xchar *msg_keyboard[] = {
- X/* 00 */ "Waehle: v=visible (sichtbare), a=alle, Nummer oder Bereich",
- X/* 01 */ "Waehle: Nummer oder Bereich",
- X/* 02 */ "Deselektion: v=visible (sichtbare), a=alle, Nummer oder Bereich",
- X/* 03 */ "Umschalt: v=visible (sichtbare), a=alle, Nummer oder Bereich",
- X/* 04 */ "Vorwaerts suchen",
- X/* 05 */ "Rueckwaerts suchen",
- X/* 06 */ "Gehe zu Zeile",
- X/* 07 */ "Shell Kommando",
- X/* 08 */ "Diese Zeile in Kommando-`Pipeline' schicken"
- X/* OLD
- X "ipick: Nicht genug Speicher (malloc failed for keybinding)"
- X*/
- X};
- X
- X/********** MISC **********/
- X
- Xchar *msg_misc[] = {
- X/* 00 */ "Kann Pipeline nicht oeffnen",
- X/* 01 */ "Nicht genug Speicher (malloc() fehlgeschlagen)",
- X/* 02 */ "realloc() fehlgeschlagen",
- X/* 03 */ "strdup() fehlgeschlagen",
- X/* 04 */ "Unvollstaendige Kontrollsequenz (^)",
- X/* 05 */ "Unvollstaendige \\ Sequenz",
- X/* 06 */ "Unvollstaendige oktal Sequenz"
- X};
- X
- X/********** MAIN **********/
- X
- Xchar *msg_main[] = {
- X/* 00 */ "Aufruf:\t\
- Xipick\t[-abdhrRvV] [-m Anzahl] [-M Anzahl] [-t Titel]\n\
- X\t\t[-T Zeilen] [-X xterm-substring] [Eingabedatei]\n",
- X
- X/* 01 */ "\t\t\t\t(-h beschreibt die Kommandozeilenparameter)\n",
- X/* 02 */ "\n\
- XInteraktives Pick: Ein auf `curses' basierender Filter mit ONLINE-Hilfe.\n\
- X-a\tAutom. Ende sobald mindestens -m bis -M Zeilen ausgewaehlt sind\n\
- X-b\tGeraeuschvolle Fehlermeldungen (Piepton)\n\
- X-d\t`stdin' \"entwaessern\" am Ende um moegliche SIGPIPE's zu vermeiden\n\
- X-h\tAnzeige dieses Hilfstextes\n\
- X-v\tnegatiV: alle NICHT ausgewaehlten Zeilen werden ausgegeben\n\
- X-V\tVersion, Uebersetzungsoptionen und Urheberrechts-Notiz anzeigen\n\
- X-r\tEingeschraenkte Betriebsart - kein Shell-Ausgang moeglich\n\
- X-R\tRaw-Mode (eine bestimmte Tastatur-Betriebsart) unterbinden\n\
- X\n\
- X-m\tMinimal auszuwaehlende Anzahl von Zeilen (siehe auch -a)\n\
- X-M\tMaximale Anzahl auszuwaehlender Zeilen\n\
- X-t\tTitel Zeile(n)\n\
- X-T\tAnzahl der Titel-Zeilen im Eingabestrom (werden unter den mit\n\
- X\tder Option -t angegebenen angezeigt)\n\
- X-X\tWenn in $TERM, Xterm Maus-Bedienung aktivieren (voreinstellung 'xterm')\n\
- Xdatei\tDiese Datei anstelle von `stdin' verabeiten\n\
- X\n\
- XStatuswerte: 0 = Irgendwas ausgewaehlt. 1 = Nichts. 2 = Fataler Fehler.\n",
- X
- X/* 03 */ "dup() fehlgeschlagen mit stdin",
- X/* 04 */ "dup() fehlgeschlagen mit stdout",
- X/* 05 */ "ipick:Fehler:fdopen(%d,'r') fehlgeschlagen. UNIX-Fehler=%d\n",
- X/* 06 */ "ipick:Fehler:fdopen(%d,'w') fehlgeschlagen. UNIX-Fehler=%d\n",
- X/* 07 */ "Restliche Daten aus dem Eingabestrom weglesen...",
- X/* 08 */ "ipick:Fehler:Minimum %s unzulaessig\n",
- X/* 09 */ "ipick:Fehler:Maximum %s unzulaessig\n",
- X/* 10 */ "ipick:Fehler:Titel Anzahl %s unzulaessig\n",
- X/* 11 */ "ipick:Fehler: Minimum %d ist > als maximum %d\n",
- X/* 12 */ "Wenn -a benutzt werden soll, wird ein Minimum gebraucht\n",
- X/* 13 */ "ipick:Fehler: Nur eine Eingabedatei erlaubt.\n",
- X/* 14 */ "ipick:Fehler: Beim Oeffnen von %s. UNIX-Fehler=%d\n",
- X/* 15 */ "Tut mir leid, kann keinen Prozess mehr abzweigen (fork)",
- X/* 16 */ "Dekodierung der (-t) Titelzeile fehlgeschlagen: %s\n",
- X/* 17 */ "Version",
- X/* 18 */ "`Patch' version",
- X/* 19 */ "Konfiguration",
- X/* 20 */ "Optionen",
- X/* 21 */ "Copyright (c) 1993, %s\nAlle Rechte reserviert.\n\n",
- X/* 22 */ "`ipick' darf nur unter den in der Datei COPYING im Quelltext-Paket\n",
- X/* 23 */ "genannten Bedingungen kopiert und benutzt werden.\nDer Autor begruesst ",
- X/* 24 */ "Fehlerberichte und Verbesserungsvorschlaege.\n(in Englisch)\n",
- X/* 25 */ "*FATALER FEHLER*",
- X/* 26 */ "Sprache",
- X/* 27 */ "*nichts*"
- X};
- X
- X/********** PORT **********/
- X
- Xchar *msg_port[] = {
- X/* 00 */ ""
- X};
- X
- X/********** RC **********/
- X
- Xchar *msg_rc[] = {
- X/* 00 */ "\n\ripick:\tIn '%s' in Zeile: %d.\r\n\t",
- X/* 01 */ "Unbekanntes Kommando: >>%s<<\n",
- X/* 02 */ "Nicht genuegend Parameter fuer %s. Mindestens: %d\n",
- X/* 03 */ "Zuviele Parameters fuer %s. Hoechstens: %d\n",
- X/* 04 */ "Der Parameter %d bei %s ist leer ! Da muss aber was rein.\n",
- X/* 05 */ "%s fehlgeschlagen. Grund: %s\n",
- X/* 06 */ "Schliessendes Anfuehrungszeichen fehlt: %s\n",
- X/* 07 */ "Unerwartetes Zeichen nach Anfuehrungszeichen: %s\n",
- X/* 08 */ "Symbol zu lang: %s\n",
- X/* 09 */ "Voriger Fehler",
- X/* 10 */ "Oeffnen fehlgeschlagen",
- X/* 11 */ "Tilde (~) Ersetzung fehlgeschlagen",
- X/* 12 */ "Unbekannter Funktionsname",
- X/* 13 */ "Ungueltige termcap Eigenschaft (capability)",
- X/* 14 */ "Ungueltige terminfo Eigenschaft (capability)"
- X};
- END_OF_FILE
- if test 13869 -ne `wc -c <'ipick/language/german'`; then
- echo shar: \"'ipick/language/german'\" unpacked with wrong size!
- fi
- # end of 'ipick/language/german'
- fi
- echo shar: End of archive 5 \(of 5\).
- cp /dev/null ark5isdone
- MISSING=""
- for I in 1 2 3 4 5 ; do
- if test ! -f ark${I}isdone ; then
- MISSING="${MISSING} ${I}"
- fi
- done
- if test "${MISSING}" = "" ; then
- echo You have unpacked all 5 archives.
- echo "Check Makefile then run 'make'"
- rm -f ark[1-9]isdone
- else
- echo You still must unpack the following archives:
- echo " " ${MISSING}
- fi
- exit 0
-
- exit 0 # Just in case...
-