home *** CD-ROM | disk | FTP | other *** search
- ;$VER: RDB-Salv-Install 1.00 (17-May-96)
- ;
-
- (set txt_lang_0 "Deutsch") (set txt_langdir_0 "deutsch")
- (set txt_lang_1 "English") (set txt_langdir_1 "english")
- (set txt_lang_2 "Français") (set txt_langdir_2 "français")
- (set txt_lang_3 "Nederlands") (set txt_langdir_3 "nederlands")
- (set txt_lang_4 "Norsk") (set txt_langdir_4 "norsk")
- (set txt_lang_5 "Svenska") (set txt_langdir_5 "svenska")
- (set txt_lang_6 "") (set txt_langdir_6 "")
- (set txt_lang_7 "") (set txt_langdir_7 "")
- (set txt_lang_8 "") (set txt_langdir_8 "")
- (set txt_lang_9 "") (set txt_langdir_9 "")
-
- (set numlangs 6)
-
- (set langnum
- (askchoice
- (prompt "Choose the language to be used in this installer script.")
- (help @askchoice-help)
- (choices
- txt_lang_0
- txt_lang_1
- txt_lang_2
- txt_lang_3
- txt_lang_4
- txt_lang_5
- )
- (default
- (if (patmatch @language txt_lang_0)
- 0
- (if (patmatch @language txt_lang_1)
- 1
- (if (patmatch @language txt_lang_2)
- 2
- (if (patmatch @language txt_lang_3)
- 3
- (if (patmatch @language txt_lang_4)
- 4
- (if (patmatch @language txt_lang_5)
- 5
- 1 ; English
- )
- )
- )
- )
- )
- )
- )
- )
- )
-
- (if (= langnum 0) (set langstring txt_lang_0))
- (if (= langnum 1) (set langstring txt_lang_1))
- (if (= langnum 2) (set langstring txt_lang_2))
- (if (= langnum 3) (set langstring txt_lang_3))
- (if (= langnum 4) (set langstring txt_lang_4))
- (if (= langnum 5) (set langstring txt_lang_5))
- (if (= langnum 6) (set langstring txt_lang_6))
- (if (= langnum 7) (set langstring txt_lang_7))
- (if (= langnum 8) (set langstring txt_lang_8))
- (if (= langnum 9) (set langstring txt_lang_9))
-
-
- ; Set default strings
-
- (set txt_choose_rdbsalv_directory
- ("%s%s"
- "Please choose the destination directory for RDB-Salv. "
- "A drawer named \"RDB-Salv\" will be created there."
- )
- )
- (set txt_which_languages_to_install
- ("%s"
- "Which languages do you want to install?"
- )
- )
- (set txt_which_devicename
- ("%s%s"
- "Please enter the name of the device you are usually using. "
- "You MUST write this name in a CASE-SENSITIV way!"
- )
- )
- (set txt_which_devicename_help
- ("%s%s%s"
- "The name requires the suffix .device. The device must be in memory at the moment. "
- "If you don't know the name of the device, consult the manual of your harddisk controller "
- "or SCSI hostadapter, please."
- )
- )
- (set txt_device_not_there
- ("%s%s"
- "You may only choose a device which is already loaded into memory.\n"
- "Sorry, but \"%s\" is not yet in memory."
- )
- )
- (set txt_must_end_with_device
- ("%s%s"
- "A device always ends on \".device\". Please try again!\n"
- "You have entered \"%s\"."
- )
- )
- (set txt_which_unitnumber
- ("%s"
- "Please enter the number of the unit your drive is connected with."
- )
- )
- (set txt_which_unitnumber_help
- ("%s%s"
- "If you are using more than one drive, use the number you're probably using more often. "
- "If you don't know the unit number, enter 0."
- )
- )
- (set txt_cannot_find_lang_docs
- ("%s%s"
- "Sorry, cannot find any docs for language \"%s\".\n\n"
- "Installation of the docs of this language skipped."
- )
- )
- (set txt_cannot_find_lang_catalogs
- ("%s%s"
- "Sorry, cannot find any catalogs for language \"%s\".\n\n"
- "Installation of the catalogs of this language skipped."
- )
- )
- (set txt_warning_unknown_device_etc
- ("%s%s%s%s"
- "Sorry, we could not test the device you are using and so the "
- "best configuration cannot be set automatically. Please read the "
- "installation chapter in the manual and follow the instrutions "
- "which are described there."
- )
- )
- (set txt_start_rdbtools_debug
- ("%s%s%s%s%s%s"
- "Do you have email access and do you want to support the future "
- "development of RDB-Salv? Then, please allow a test program to be "
- "started. It creates the file \"T:RDB-Tools-Mail\". Please send "
- "this file to \"Angela.Schmidt@stud.uni-karlsruhe.de\", so this "
- "installer script will be able to support your system much better in future.\n\n"
- "Do you want the test program to be started?"
- )
- )
- (set txt_start_rdbtools_debug_help
- ("%s%s%s%s"
- "This tool tests your device driver for bugs. This allows some "
- "workaround to be written in future. The commands TD_GETGEOMETRY, "
- "HD_SCSICMD (to find out the media size) and CMD_READ will be sent and "
- "some a protocol will be written."
- )
- )
- (set txt_start_rdbtools_debug_thanx
- ("%s%s"
- "Thank you for your support. Please send now \"T:RDB-Tools-Mail\" to "
- "\"Angela.Schmidt@stud.uni-karlsruhe.de\"."
- )
- )
-
- ;(if (patmatch langstring "English")
- ; (
- ; ; default strings set above
- ; )
- ;)
- (if (patmatch langstring "Deutsch")
- (
- (set txt_choose_rdbsalv_directory
- ("%s%s"
- "Bitte wählen Sie das Zielverzeichnis für RDB-Salv. "
- "Es wird ein eigener Ordner mit dem Namen \"RDB-Salv\" angelegt."
- )
- )
- (set txt_which_languages_to_install
- ("%s"
- "Welche Sprachen möchten Sie installieren?"
- )
- )
- (set txt_which_devicename
- ("%s%s"
- "Bitte geben Sie den Namen des Gerätes (Devices) ein, das Sie normalerweise verwenden. "
- "Bitte beachten Sie UNBEDINGT, daß Sie die Groß-/Kleinschreibung EXAKT einhalten!"
- )
- )
- (set txt_which_devicename_help
- ("%s%s%s"
- "Der Name muß auf .device enden. Das Gerät muß momentan angemeldet sein. "
- "Falls Sie den Geräte-Namen nicht kennen, schlagen Sie bitte im Handbuch "
- "Ihres Festplattencontrollers/Hostadapters nach."
- )
- )
- (set txt_device_not_there
- ("%s%s"
- "Sie können nur ein Device wählen, das bereits in den Speicher geladen wurde.\n"
- "\"%s\" ist leider noch nicht im Speicher."
- )
- )
- (set txt_must_end_with_device
- ("%s%s"
- "Ein Gerätetreiber (Device) endet immer auf \".device\". Bitte nochmal probieren!\n"
- "Sie haben \"%s\" eingegeben."
- )
- )
- (set txt_which_unitnumber
- ("%s"
- "Bitte geben Sie ein, unter welcher Gerätenummer (Unit) Ihre Festplatte angeschlossen ist."
- )
- )
- (set txt_which_unitnumber_help
- ("%s%s"
- "Falls Sie mehrere Festplatten haben, geben Sie die voraussichtlich am häufigsten "
- "benutzte Gerätenummer ein. Falls Sie die Gerätenummer nicht kennen, geben Sie 0 ein."
- )
- )
- (set txt_cannot_find_lang_docs
- ("%s%s"
- "Die Anleitung für die Sprache \"%s\" kann leider nicht gefunden werden.\n\n"
- "Die Installation der Anleitung dieser Sprache wurde übersprungen."
- )
- )
- (set txt_cannot_find_lang_catalogs
- ("%s%s"
- "Der Katalog für die Sprache \"%s\" kann leider nicht gefunden werden.\n\n"
- "Die Installation des Katalogs dieser Sprache wurde übersprungen."
- )
- )
- (set txt_warning_unknown_device_etc
- ("%s%s%s%s"
- "Leider konnten wir das von Ihnen verwendete Gerät nicht ausprobieren. "
- "Daher können die idealen Einstellungen nicht automatisch gesetzt werden. "
- "Bitte lesen Sie im Handbuch das Installations-Kapitel und befolgen Sie die "
- "dort beschriebenen weiteren Anweisungen."
- )
- )
- (set txt_start_rdbtools_debug
- ("%s%s%s%s%s%s"
- "Haben Sie EMail-Zugang und möchten Sie die zukünftige Entwicklung von "
- "RDB-Salv unterstützen? Dann erlauben Sie bitte, daß ein Test-Programm "
- "gestartet wird, das die Datei \"T:RDB-Tools-Mail\" erzeugt. Schicken Sie "
- "diese Datei dann bitte an \"Angela.Schmidt@stud.uni-karlsruhe.de\", "
- "damit dieses Installer-Script Ihr System in Zukunft besser unterstützen kann.\n\n"
- "Soll das Test-Programm gestartet werden?"
- )
- )
- (set txt_start_rdbtools_debug_help
- ("%s%s%s%s"
- "Dieses Tool testet Ihren Gerätetreiber auf Unzulänglichkeiten, damit diese "
- "in Zukunft umgangen werden können. Es werden die Befehle TD_GETGEOMETRY, "
- "HD_SCSICMD (zum Herausfinden der Plattengröße) und CMD_READ abgeschickt und "
- "einige Daten protokolliert."
- )
- )
- (set txt_start_rdbtools_debug_thanx
- ("%s%s"
- "Vielen Dank für Ihre Unterstützung. Schicken Sie \"T:RDB-Tools-Mail\" nun "
- "bitte an \"Angela.Schmidt@stud.uni-karlsruhe.de\"."
- )
- )
- )
- )
- (if (patmatch langstring "Français")
- (
- (set txt_choose_rdbsalv_directory
- ("%s%s"
- "Veuillez choisir le répertoire de destination pour RDB-Salv. "
- "Un tiroir nommé \"RDB-Salv\" y sera créé."
- )
- )
- (set txt_which_languages_to_install
- ("%s"
- "Quelles langues voulez-vous installer ?"
- )
- )
- (set txt_which_devicename
- ("%s%s"
- "Veuillez entrer le nom du périphérique que utilisez d'habitude. "
- "Vous DEVEZ écrire ce nom en TENANT COMPTE DES MAJUSCULES !"
- )
- )
- (set txt_which_devicename_help
- ("%s%s%s"
- "Le suffixe .device est nécessaire pour ce nom. Le périphérique doit être en mémoire actuellement. "
- "Si vous ne connaissez pas ce nom, veuillez consulter le manuel de votre contrôleur "
- " de disque dur ou contrôleur SCSI."
- )
- )
- (set txt_device_not_there
- ("%s%s"
- "Vous ne pouvez choisir qu'un périphérique qui est déjà chargé en mémoire.\n"
- "Désolé, mais \"%s\" n'est pas encore en mémoire."
- )
- )
- (set txt_must_end_with_device
- ("%s%s"
- "Le nom d'un pilote de périphérique se termine toujours par \".device\". Veuillez réessayer !\n"
- "Vous avez entré \"%s\"."
- )
- )
- (set txt_which_unitnumber
- ("%s"
- "Veuillez entrer le numéro d'unité sous lequel votre disque est connecté."
- )
- )
- (set txt_which_unitnumber_help
- ("%s%s"
- "Si vous utilisez plus d'un seul disque, donnez le numéro que vous emploierez le plus souvent. "
- "Si vous ne connaissez pas le numéro d'unité, entrez 0."
- )
- )
- (set txt_cannot_find_lang_docs
- ("%s%s"
- "Désolé, impossible de trouver de documentation dans la langue \"%s\".\n\n"
- "L'installation de la documentation dans cette langue est ignorée."
- )
- )
- (set txt_cannot_find_lang_catalogs
- ("%s%s"
- "Désolé, impossible de trouver de catalogue dans la langue \"%s\".\n\n"
- "L'installation du catalogue dans cette langue est ignorée."
- )
- )
- (set txt_warning_unknown_device_etc
- ("%s%s%s%s"
- "Désolé, nous n'avons pas pu tester le périphérique indiqué et la meilleure "
- "configuration ne peut donc pas être trouvée automatiquement. Veuillez lire "
- "le chapitre sur l'installation dans le manuel et suivre les instrutions "
- "qui y sont décrites."
- )
- )
- (set txt_start_rdbtools_debug
- ("%s%s%s%s%s%s"
- "Avez-vous accès au courrier électronique et voulez-vous soutenir le développement "
- "futur de RDB-Salv ? Dans ce cas, veuillez permettre le lancement d'un programme de "
- "test. Il crée le fichier \"T:RDB-Tools-Mail\". Veuillez envoyer ce fichier "
- "à \"Angela.Schmidt@stud.uni-karlsruhe.de\", de sorte que ce script "
- "d'installation soit capable de mieux reconnaître votre système à l'avenir.\n\n"
- "Désirez-vous que le programme de test soit lancé ?"
- )
- )
- (set txt_start_rdbtools_debug_help
- ("%s%s%s%s"
- "Cet outil recherche d'éventuelles bogues dans votre pilote de périphériques. "
- "Ce qui permettra dans le futur de concevoir des astuces les contournant. Les "
- "commandes TD_GETGEOMETRY, HD_SCSICMD (afin de déterminer la taille du support) "
- "et CMD_READ seront envoyées afin de pouvoir écrire un protocole."
- )
- )
- (set txt_start_rdbtools_debug_thanx
- ("%s%s"
- "Merci de votre soutien. Veuillez envoyer maintenant \"T:RDB-Tools-Mail\" à "
- "\"Angela.Schmidt@stud.uni-karlsruhe.de\"."
- )
- )
- )
- )
- (if (patmatch langstring "Norsk")
- (
- (set txt_choose_rdbsalv_directory
- ("%s%s"
- "Vennligst velg en katalog å plassere RDB-Salv i. "
- "En katalog med navn \"RDB-Salv\" vil bli opprettet der."
- )
- )
- (set txt_which_languages_to_install
- ("%s"
- "Hvilke språk vil du installere?"
- )
- )
- (set txt_which_devicename
- ("%s%s"
- "Vennligst skriv inn navnet på den enheten du vanligvis bruker. "
- "Du MÅ skrive inn navnet korrekt med tanke på STORE og små bokstaver!"
- )
- )
- (set txt_which_devicename_help
- ("%s%s%s"
- "Navnet må ha etternavnet .device. Enheten må være i minnet på det nåværende tidspunkt. "
- "Hvis du ikke vet navnet på enheten, konsulter manualen til harddisk-kontrolleren "
- "eller SCSI vertskortet ditt."
- )
- )
- (set txt_device_not_there
- ("%s%s"
- "Du kan kun velge en enhet som allerede er lastet inn i minnet.\n"
- "Beklager, men \"%s\" er ikke i minnet på det nåværende tidspunkt."
- )
- )
- (set txt_must_end_with_device
- ("%s%s"
- "En enhet må alltid slutte på \".device\". Vennligst prøv igjen!\n"
- "Du skrev inn \"%s\"."
- )
- )
- (set txt_which_unitnumber
- ("%s"
- "Vennligst skriv inn nummeret på enheten som disken din er forbundet med."
- )
- )
- (set txt_which_unitnumber_help
- ("%s%s"
- "Hvis du bruker mere enn en disk, skriv det nummeret du bruker oftest. "
- "Hvis du ikke vet enhets-nummeret, skriv 0."
- )
- )
- (set txt_cannot_find_lang_docs
- ; *** This string is still subject to be translated!
- ("%s%s"
- "Beklager, kunne ikke finne dokumentasjon for språket \"%s\".\n\n"
- "Installeringen av dokumentasjonen for dette språket hoppes over."
- )
- )
- (set txt_cannot_find_lang_catalogs
- ; *** This string is still subject to be translated!
- ("%s%s"
- "Beklager kunne ikke finne språkfiler for språket \"%s\".\n\n"
- "Installeringen av dokumentasjonen for dette språket hoppes over."
- )
- )
- (set txt_warning_unknown_device_etc
- ("%s%s%s%s"
- "Beklager men vi kunne ikke teste enheten du bruker, og vi kan "
- "derfor ikke automatisk sette de perfekte innstillingene dine automatisk. Vennligst les "
- "innstallerings-kapittelet i manualen og følg instruksjonene "
- "som er beskrevet der."
- )
- )
- (set txt_start_rdbtools_debug
- ("%s%s%s%s%s%s"
- "Har du en EMail adresse og vil være med å støtte den videre fremtidige "
- "utviklingen av RDB-Salv? Da kan du vennligst tillate et testprogram "
- "å bli startet. Det lager filen \"T:RDB-Tools-Mail\". Vennligst send "
- "denne filen til \"Angela.Schmidt@stud.uni-karlsruhe.de\", så dette "
- "installerings-scriptet vil ha muligheten til å støtte ditt system bedre i fremtiden.\n\n"
- "Vil du starte testprogrammet nå?"
- )
- )
- (set txt_start_rdbtools_debug_help
- ("%s%s%s%s"
- "Dette programmet tester enheten din for \"bugs\". Dette muliggjør "
- "å lage en slags fiksing av dette i fremtiden. Kommandoene TD_GETGEOMETRY, "
- "HD_SCSICMD (for å finne ut lagringskapasiteten på mediet) og CMD_READ vil bli sendt og "
- "en loggfil vil bli skrevet."
- )
- )
- (set txt_start_rdbtools_debug_thanx
- ("%s%s"
- "Tusen takk for hjelpen. Vennligst send \"T:RDB-Tools-Mail\" til "
- "\"Angela.Schmidt@stud.uni-karlsruhe.de\"."
- )
- )
- )
- )
- (if (patmatch langstring "Svenska")
- (
- (set txt_choose_rdbsalv_directory
- ("%s%s"
- "Välj var du vill installera RDB-Salv. "
- "En låda kallad \"RDB-Salv\" kommer att skapas automatiskt."
- )
- )
- (set txt_which_languages_to_install
- ("%s"
- "Vilka språk vill du installera?"
- )
- )
- (set txt_which_devicename
- ("%s%s"
- "Skriv in vilket device du normalt använder. "
- "Tänk på att det i det här fallet är skillnad mellan stora och små bokstäver!"
- )
- )
- (set txt_which_devicename_help
- ("%s%s%s"
- "Device-namnet måste sluta med \".device\". Devicet måste vara inladdat i minnet. "
- "Om du inte vet vilket device som gäller, se efter i manualen du fick med din "
- "hårddiskkontroller eller SCSI-hostadapter."
- )
- )
- (set txt_device_not_there
- ("%s%s"
- "Du kan bara välja ett device som för tillfället är inladdat i minnet.\n"
- "\"%s\" finns tyvärr inte i minnet."
- )
- )
- (set txt_must_end_with_device
- ("%s%s"
- "Ett device måste alltid sluta med \".device\". Försök igen.\n"
- "Du skrev \"%s\"."
- )
- )
- (set txt_which_unitnumber
- ("%s"
- "Skriv in vilket enhetsnummer din drive är ansluten som."
- )
- )
- (set txt_which_unitnumber_help
- ("%s%s"
- "Om du använder mer än en drive, skriv numret för den du tror att du använder oftast.\n"
- "Om du inte vet vilket nummer som gäller, skriv 0."
- )
- )
- (set txt_cannot_find_lang_docs
- ("%s%s"
- "Kan inte hitta manualen på \"%s\".\n\n"
- "Hoppar över installationen av manualen på detta språk."
- )
- )
- (set txt_cannot_find_lang_catalogs
- ("%s%s"
- "Kan inte hitta några kataloger på \"%s\".\n\n"
- "Hoppar över installationen av katalogerna på detta språk."
- )
- )
- (set txt_warning_unknown_device_etc
- ("%s%s%s%s"
- "Tyvärr kunde devicet du använder inte testas, och därför kan inte de "
- "optimala inställningarna göras automatiskt. "
- "När installationen är klar, läs kapitlet om installation i manualen, "
- "och följ dessa instruktioner."
- )
- )
- (set txt_start_rdbtools_debug
- ("%s%s%s%s%s%s"
- "Har du tillgång till E-post och vill stödja den fortsatta utvecklingen av RDB-salv?\n"
- "Låt i så fall testprogrammet startas. Det skapar filen \T:RDB-Tools-Mail\". "
- "Skicka denna fil till \"Angela.Schmidt@stud.uni-karlsruhe.de\", "
- "så kommer den här installationsskripten att kunna stödja ditt system bättre "
- "i framtida versioner.\n\n"
- "Vill du starta testprogrammet?"
- )
- )
- (set txt_start_rdbtools_debug_help
- ("%s%s%s%s"
- "Detta program testar ditt device drivrutin efter buggar. Det ger möjlighet "
- "att på olika sätt ta sig runt dessa i framtiden. Kommandona TD_GETGEOMETRY, "
- "HD_SCSICMD (för att ta reda på mediats storlek) och CMD_READ kommer att ges, "
- "och resultaten kommer att protokollföras."
- )
- )
- (set txt_start_rdbtools_debug_thanx
- ("%s%s"
- "Tack för hjälpen! Skicka nu filen \"T:RDB-Tools-Mail\" "
- "till \"Angela.Schmidt@stud.uni-karlsruhe.de\"."
- )
- )
- )
- )
- (if (patmatch langstring "Nederlands")
- (
- (set txt_choose_rdbsalv_directory
- ("%s%s"
- "Kiest u alstublieft een plaats voor RDB-Salv. "
- "Een lade genaamd \"RDB-Salv\" wordt aangemaakt."
- )
- )
- (set txt_which_languages_to_install
- ("%s"
- "Welke talen wilt u installeren?"
- )
- )
- (set txt_which_devicename
- ("%s%s"
- "Welk apparaat (.device) gebruikt u het meest? "
- "U MOET letten op hoofd/kleine letters!"
- )
- )
- (set txt_which_devicename_help
- ("%s%s%s"
- "De naam heeft de suffix .device. Het device moet nu in het geheugen zijn. "
- "Als u de naam niet weet, kijkt u dan in de handleiding van uw schijf "
- "of SCSI hostadapter, a.u.b."
- )
- )
- (set txt_device_not_there
- ("%s%s"
- "Het device MOET in het geheugen aanwezig zijn.\n"
- "Sorry, maar \"%s\" is (op dit moment) niet resident."
- )
- )
- (set txt_must_end_with_device
- ("%s%s"
- "Een device eindigt altijd op \".device\". Probeert u het nog een keer!\n"
- "U hebt \"%s\" ingevoerd."
- )
- )
- (set txt_which_unitnumber
- ("%s"
- "Geef nu aan onder welk unit-nummer uw harde schijf aangesloten is."
- )
- )
- (set txt_which_unitnumber_help
- ("%s%s"
- "Als u meerdere schijven hebt, gebruik dan het nummer van de schijf de u het meest gebruikt. "
- "Als u onzeker bent, kies dan 0."
- )
- )
- (set txt_warning_unknown_device_etc
- ("%s%s%s%s"
- "Sorry, we konden het apparaat niet testen en daardoor "
- "kon de optimale configuratie niet optimaal ingesteld worden. "
- "Leest u alstublieft het hoofdstuk over installatie in de handleiding "
- "en volg de instructies die daar staan."
- )
- )
- (set txt_start_rdbtools_debug
- ("%s%s%s%s%s%s"
- "Hebt u toegang tot e-mail en wilt u de ontwikkeling van RDB-Salv "
- "steunen? Laat dan alstublieft een test-programma starten. "
- "Het maakt het bestand \"T:RDB-Tools-Mail\" aan. Stuurt u dit "
- "bestand aan \"Angela.Schmidt@stud.uni-karlsruhe.de\", zodat dit "
- "installer script in de toekomst uw machine beter kan ondersteunen.\n\n"
- "Wilt u dit test-programma starten?"
- )
- )
- (set txt_start_rdbtools_debug_help
- ("%s%s%s%s"
- "Deze routine test ew device driver op bugs. Dit maakt het mogelijk "
- "in de toekomst een workaround te maken. De opdrachten TD_GETGEOMETRY, "
- "HD_SCSICMD (om de grootte van het medium te meten) en CMD_READ zullen gestuurd worden "
- "en een protocol zal worden geschreven."
- )
- )
- (set txt_start_rdbtools_debug_thanx
- ("%s%s"
- "Hartelijk dank voor uw steun. Stuurt u nu \"T:RDB-Tools-Mail\" naar "
- "\"Angela.Schmidt@stud.uni-karlsruhe.de\"."
- )
- )
- )
- )
-
- (set todir @default-dest)
- (set todir
- (askdir
- (prompt txt_choose_rdbsalv_directory)
- (help @askdir-help)
- (default todir)
- )
- )
- (set newdir (tackon todir "RDB-Salv"))
- (makedir newdir (infos))
- (set @default-dest newdir)
-
- (set i 0)
- (set langbits 0)
- (while (< i numlangs)
- (
- (set thislangdir (select i txt_langdir_0 txt_langdir_1 txt_langdir_2 txt_langdir_3 txt_langdir_4 txt_langdir_5 txt_langdir_6 txt_langdir_7 txt_langdir_8 txt_langdir_9))
- (set langbits
- (if
- (OR
- (OR
- (= 1 (exists ("doc_%s.lha" thislangdir)))
- (= 2 (exists (tackon "Catalogs" thislangdir)))
- )
- (= 2 (exists thislangdir))
- )
- ( ; then
- (+ langbits (shiftleft 1 i))
- )
- ( ; else
- (+ langbits 0)
- )
- )
- )
- (set i (+ i 1))
- )
- )
-
-
- (set langbits
- (askoptions
- (prompt txt_which_languages_to_install)
- (help @askchoice-help)
- (choices txt_lang_0 txt_lang_1 txt_lang_2 txt_lang_3 txt_lang_4 txt_lang_5)
- (default langbits)
- )
- )
-
- (set devicename "none")
- (set vernum 0)
-
- (until (AND (patmatch "#?.device" devicename) (<> vernum 0))
- (set devicename
- (askstring
- (prompt txt_which_devicename)
- (help txt_which_devicename_help)
- (default "scsi.device")
- )
- )
-
- (set vernum (getversion devicename (resident)))
- (set deviceversion (/ vernum 65536))
- (set devicerevision (- vernum (* deviceversion 65536)))
-
- (if (patmatch "#?.device" devicename)
- (
- (if (= 0 vernum)
- (
- (message (txt_device_not_there devicename))
- )
- )
- )
- ; else
- (
- (message (txt_must_end_with_device devicename))
- )
- )
- )
-
- (set unitnumber
- (asknumber
- (prompt txt_which_unitnumber)
- (help txt_which_unitnumber_help)
- (default 0)
- )
- )
-
- (copyfiles
- (source "")
- (dest newdir)
- (pattern "(RDB-Salv|RDB-Salv.info|rdbtools-debug|registerscript)")
- (optional force)
- )
-
- (set i 0)
- (while (< i numlangs)
- (
- (set thislang (select i txt_lang_0 txt_lang_1 txt_lang_2 txt_lang_3 txt_lang_4 txt_lang_5 txt_lang_6 txt_lang_7 txt_lang_8 txt_lang_9))
- (set thislangdir (select i txt_langdir_0 txt_langdir_1 txt_langdir_2 txt_langdir_3 txt_langdir_4 txt_langdir_5 txt_langdir_6 txt_langdir_7 txt_langdir_8 txt_langdir_9))
- (if (IN langbits i)
- (
- (if (= 2 (exists thislangdir))
- (
- (copyfiles
- (source "")
- (dest newdir)
- (pattern ("%s#?" thislangdir))
- (optional force)
- )
- )
- (
- (if (= 1 (exists ("doc_%s.lha" thislangdir)))
- (
- (if (= 1 (exists "lhex"))
- (
- (run ("lhex -afFqw=%s e doc_%s.lha" newdir thislangdir))
- )
- (
- (message ("LhA -a -m -M x doc_%s.lha %s/" thislangdir newdir))
- (run ("LhA -a -m -M x doc_%s.lha %s/" thislangdir newdir))
- )
- )
- )
- (
- (message (txt_cannot_find_lang_docs thislang))
- )
- )
- )
- )
- (if (= 2 (exists (tackon "Catalogs" thislangdir)))
- (
- (copyfiles
- (source "Catalogs")
- (dest (tackon newdir "Catalogs"))
- (pattern thislangdir)
- (optional force)
- )
- )
- ( ; else
- (if (NOT (patmatch "english" thislangdir)) ; nicht English
- (
- (message (txt_cannot_find_lang_catalogs thislang))
- )
- )
- )
- )
- )
- )
- (set i (+ i 1))
- )
- )
-
-
- (set knowndevice 0)
- (set noscsicmd 0)
- (set nogetgeometry 0)
- (set nonewstyle 0)
- (set baddevice1 0)
- ;(set bufmemtype 1)
- ;(set maxtransfer 32256)
- ;(set mask 16777214)
- ;(set scsireadwrite 0)
-
- (if (patmatch "2060scsi.device" devicename) ; cybscsi.device, getestet mit V7.7
- (
- (set knowndevice 1)
- )
- )
-
- (if (patmatch "ALF.device" devicename) ; ALF.device, getestet mit V2.13
- (
- (set knowndevice 1)
- (set nogetgeometry 1)
- (set baddevice1 1)
- )
- )
-
- (if (patmatch "cybscsi.device" devicename) ; cybscsi.device, getestet mit V1.17
- (
- (set knowndevice 1)
- )
- )
-
- (if (patmatch "dracoscsi.device" devicename) ; dracoscsi.device, getestet mit V1.1
- (
- (set knowndevice 1)
- (set nogetgeometry 1)
- )
- )
-
- (if (patmatch "evolution.device" devicename) ; evolution.device, getestet mit V3.0 und V3.2
- (
- (set knowndevice 1)
- (set nogetgeometry 1)
- )
- )
-
- (if (patmatch "gvpscsi.device" devicename) ; gvpscsi.device, getestet mit V3.7, V3.15, V4.13, V4.15
- (
- (set knowndevice 1)
- (set nogetgeometry 1)
- )
- )
-
- (if (patmatch "oktagon.device" devicename) ; oktagon.device, verschiedene Ergebnisse mit V6.8 und V6.10 auf verschiedenen Rechnern - NACHHAKEN!
- (
- (set knowndevice 1)
- (set nogetgeometry 1)
- )
- )
-
- (if (patmatch "omniscsi.device" devicename) ; omniscsi.device, getestet mit V1.9 und V1.10
- (
- (set knowndevice 1)
- )
- )
-
- (if (patmatch "scsi.device" devicename) ; getestet mit 6.6, 37.64, 40.4, 40.5, 40.12, 40.20, 104.2
- ; scsi.device, getestet mit V40.4, V40.5, V40.12 und V40.20
- ; bis mind. V40.12 kein TD_GETGEOMETRY
- ; V40.20 gibt bei TD_GETGEOMETRY ein Block zuwenig zurück
- ; V104.2 ist aus IDEfix/ATAPI und funktioniert
- ; V6.6 ist A2091 und liefert bei TD_GETGEOMETRY nur Nullen zurück
- (if (AND (= 104 deviceversion) (= 2 devicerevision))
- (
- (set knowndevice 1)
- )
- ; else ; V40.x etc. have problems with TD_GETGEOMETRY
- (
- (if (AND (>= deviceversion 36) (<= deviceversion 40))
- (
- (set knowndevice 1)
- (set nogetgeometry 1)
- )
- else ;
- (
- (if (>= deviceversion 6) ; V6.6 - A2091
- (
- (set nogetgeometry 1)
- )
- else ;
- (
- (nop)
- )
- )
- )
- )
- )
- )
- )
-
- (if (patmatch "vobscsi.device" devicename) ; vobscsi.device, getestet mit V37.3
- (
- (set knowndevice 1)
- (set nogetgeometry 1)
- )
- )
-
- (if (patmatch "warpdrive.device" devicename) ; warpdrive.device, getestet mit V40.66
- (
- (set knowndevice 1)
- (set nogetgeometry 1)
- )
- )
-
- (if (patmatch "z3scsi.device" devicename) ; z3scsi.device, getestet mit V5.997, 5.1034
- (
- (set knowndevice 1)
- )
- )
-
- (if (= 0 knowndevice)
- (
- (message txt_warning_unknown_device_etc)
- (if (askbool
- (prompt txt_start_rdbtools_debug)
- (help txt_start_rdbtools_debug_help)
- (default 0)
- )
- (
- (run ("rdbtools-debug >T:RDB-Tools-Mail \"%s\" \"%lu\"" devicename unitnumber))
- (message txt_start_rdbtools_debug_thanx)
- )
- )
- )
- )
-
- (tooltype
- (dest (tackon newdir "RDB-Salv") )
- (settooltype "DEVICE" devicename )
- (settooltype "UNIT" ("%lu" unitnumber) )
- (if (= 1 nogetgeometry) (settooltype "NOGETGEOMETRY" ""))
- (if (= 1 noscsicmd) (settooltype "NOSCSICMD" ""))
- (if (= 1 nonewstyle) (settooltype "NONEWSTYLE" ""))
- (if (= 1 baddevice1) (settooltype "BADDEVICE1" ""))
- )
-