AminetAminet
Search:
84736 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/gg/custom-ti.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:custom Amigaized terminfos and termcaps
Author: megacz at usa.com
Type:dev/gg
Version:0.0.1
Architecture:generic
Date:2007-07-04
Download:dev/gg/custom-ti.lha - View contents
Readme:dev/gg/custom-ti.readme
Downloads:1299

custom-ti-0.0.1
-----------------

---

INTRO:

custom-ti is a compilation of things that allows to run different kind
of Unix console proggies on your Amiga without problems.

The default terminfo/termcap entries that comes with 'termcap' or 'ncurses'
arent very nice, there are often visual or keymap incompatibilies,
so i made 'iris-mono' and 'iris-color' entries for both, termcap
and terminfo based proggies - based upon 'iris-ansi'.
The terminal i have chosen seems to be well suited for Amiga,
however function and cursor keys are in Unix compatibility mode,
but that is not a problem since there are keymaps.

---

INSTALLATION:

Do these only if you dont have 'gg:' in your system:

   cd custom-ti-0.0.1
   makedir sys:gg sys:gg/etc sys:gg/usr sys:gg/usr/local sys:gg/usr/local/share
   makedir sys:gg/usr/local/share/terminfo sys:gg/usr/local/share/terminfo/a
   makedir sys:gg/usr/local/share/terminfo/i
   assign gg: sys:gg
   assign etc: gg:etc
   assign usr: gg:usr

And add these to your 'startup-sequence':

   assign gg: sys:gg
   assign etc: gg:etc
   assign usr: gg:usr
   set TERM amiga-fb

Now just copy:

   copy etc/ etc:
   copy usr/local/share/terminfo/ usr:local/share/terminfo/
   copy c/ c:
   copy devs/keymaps/ devs:keymaps/

---

EXAMPLE:

There are programs that do not like 'amiga*' terminfo/termcap entries,
they will be dumping garbage in most cases plus as a bonus they will be
interpreting keypresses incorectly.. In such cases do these(suppose your
proggy is 'consolequacks'):

   - rename it to 'consolequacks.exec'

   - copy 'wrapper' to 'c:' as 'consolequacks' and edit that file:

     - (-) go to line 17 and specify new default options for the program
     - (-) go to line 27 and specify the default terminfo entry
     - (*) go to line 39 and enter new default home path
     - (*) go to line 51 and enter the name of the proggy,
           in our case 'consolequacks.exec'      
 
   - type in the shell: 'protect consolequacks +s' and run that script
     like it would be executable.


 template: consolequacks [OPTIONS] [TERM] [HOME]
      ex1: consolequacks "-a -b -c" amiga-f /home/sweet/home
      ex2: consolequacks term=amiga-f
      ex3: consolequacks home=/ram      


 (-) not required
 (*) a must!

---
megacz@usa.com



Contents of dev/gg/custom-ti.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 2384    3488  68.3% -lh5- bfd9 Sep 15  1991 custom-ti-0.0.1/c/SetCLIMap
[generic]                  871    1376  63.3% -lh5- e196 Jun 30 17:56 custom-ti-0.0.1/devs/keymaps/mcsl-amiga
[generic]                  885    1416  62.5% -lh5- 6afd Jun 30 17:56 custom-ti-0.0.1/devs/keymaps/mcsl-vt100
[generic]               201469  552504  36.5% -lh5- f30f Jun 30 23:51 custom-ti-0.0.1/etc/termcap
[generic]                16600   76512  21.7% -lh5- 83d3 May  5 18:30 custom-ti-0.0.1/html/terminfo&cap.html
[generic]                 1013    2279  44.4% -lh5- c6c2 Jul  3 19:35 custom-ti-0.0.1/README.custom-ti
[generic]                  215     340  63.2% -lh5- 6fc3 Jul  3 19:43 custom-ti-0.0.1/README.iris
[generic]                  333     537  62.0% -lh5- 1758 May  6 19:55 custom-ti-0.0.1/README.setclimap
[generic]                  460    1031  44.6% -lh5- ae08 Jun 30 19:39 custom-ti-0.0.1/src/amiga-fb
[generic]                  740    1590  46.5% -lh5- 4d1a Jun 30 23:47 custom-ti-0.0.1/src/iris-color
[generic]                  712    1521  46.8% -lh5- 0ca7 Jun 30 23:47 custom-ti-0.0.1/src/iris-mono
[generic]                  421    1163  36.2% -lh5- a5b7 Jun 30 20:46 custom-ti-0.0.1/usr/local/share/terminfo/a/amiga-fb
[generic]                  610    1387  44.0% -lh5- c5a5 Jun 30 23:47 custom-ti-0.0.1/usr/local/share/terminfo/i/iris-color
[generic]                  585    1237  47.3% -lh5- b545 Jun 30 23:47 custom-ti-0.0.1/usr/local/share/terminfo/i/iris-mono
[generic]                  491    1190  41.3% -lh5- 8035 Jul  3 19:22 custom-ti-0.0.1/wrapper
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        15 files  227789  647571  35.2%            Jul  3 18:26
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>