Haluasin kokeilla edt editoria openSUSEssani, vaan en osaa asentaa (konfiguroida) sitä.
Tähän saakka on tehty seuraavat temput:
1. ladattu edt verkosta (edt_1.9.zip)
2. purettu
3. ajettu komento gcc -O edt_1.9.c -o edt, josta syntyi edt (suoritettava ohjelma)
4. kopioitu kaikki tavara purkuhakemistosta hakemistoon /home/raija/bin/
Ohjeessa sanotaan:
________________________________________
Edt.c - Edt text editor emulator. This text-editor emulates the VAX VMS
text editor known as Edt, and to some extent, later versions called TPU/Eve.
Compile as:
gcc -O edt_1.9.c -o edt
Configure:
Place an alias in your .bashrc or .tcshrc to the absolute location of edt.
Example: alias edt=/home/bart/bin/edt
Set environment variable, EDT_KEYPAD_SETUP, to point at the edt_keypad.xml file.
Example: export EDT_KEYPAD_SETUP=/home/bart/edt_keypad.xml
If default keypad map does not match your keyboard, type "help_config" at
editor prompt for instructions on generating new edt_keypad.xml file for your
keyboard. See web-page also.
Several default/example keypad map files are also provided, "edt_keypad_*.xml".
______________________________________
Yritin editoida .bashrc:hen joitan noiden yo. esimerkkien mukaan, mutta mitään ei kuitenkaan tapahdu, vaikka kirjoitan purkuhamistossa edt. Ei siis edes mitään kunnon herjaa, paitsi "If 'edt' is not a typo..."
Tässä baschrc, josta poistettu yritelmäni:
# Sample .bashrc for SuSE Linux
# Copyright (c) SuSE GmbH Nuernberg
# There are 3 different types of shells in bash: the login shell, normal shell
# and interactive shell. Login shells read ~/.profile and interactive shells
# read ~/.bashrc; in our setup, /etc/profile sources ~/.bashrc - thus all
# settings made here will also take effect in a login shell.
#
# NOTE: It is recommended to make language settings in ~/.profile rather than
# here, since multilingual X sessions would not work properly if LANG is over-
# ridden in every subshell.
# Some applications read the EDITOR variable to determine your favourite text
# editor. So uncomment the line below and enter the editor of your choice :-)
#export EDITOR=/usr/bin/vim
#export EDITOR=/usr/bin/mcedit
# For some news readers it makes sense to specify the NEWSSERVER variable here
#export NEWSSERVER=your.news.server
# If you want to use a Palm device with Linux, uncomment the two lines below.
# For some (older) Palm Pilots, you might need to set a lower baud rate
# e.g. 57600 or 38400; lowest is 9600 (very slow!)
#
#export PILOTPORT=/dev/pilot
#export PILOTRATE=115200
test -s ~/.alias && . ~/.alias || true