TE - mi editor de textos pequeño, humilde, portable y útil.

Cualquier tema relacionado con la serie Amstrad CPC que no esté englobado en otra categoría.
Avatar de Usuario
FloppySoftware
Megaforero
Megaforero
Mensajes: 244
Registrado: Mié 26 Oct , 2011 2:07 pm
Ubicación: Spain
Contactar:

TE - mi editor de textos pequeño, humilde, portable y útil.

Mensajepor FloppySoftware » Vie 08 May , 2015 6:33 pm

Hola!

Acabo de subir a mi página web, 'te', mi editor de textos pequeño, humilde, portable y útil.

Entre otros ports, están los de los Amstrad CPC y PCW, así como el del Spectrum +3.

Y Windows!

Imagen

Código: Seleccionar todo

+----+
| te +-------------+
+----| Text Editor |
+-------------+

v1.00 / 07 May 2015

(c) 2015 Miguel Garcia / FloppySoftware

www.floppysoftware.vacau.com
cpm-connections.blogspot.com
floppysoftware@gmail.com


Introduction
------------

The te text editor is small, humble, and useful.

It's screen oriented, and can be easily adapted to a lot of computers.


Command line
------------

It's simple:

te [filename]

Examples:

te - To start an empty document
te notes.txt - To edit the document 'notes.txt'.


The screen layout
-----------------

On the first screen line, you will see - ie:

te: NOTES.TXT - The file name of the document your are editing.

And something like:

Lin:0015/0042/0512 Col:32/90 Len:36

The numbers following 'Lin' are:

0015 - The line number you are editing right now.
0042 - The current total number of lines.
0512 - The maximum number of lines.

The numbers following 'Col' are:

32 - The column number on which you are.
90 - The number of screen columns.

And, finally, the number following 'Len' is:

36 - The length of the current line.

On the last screen line, you will see program messages.


The options menu
----------------

You can enter to the menu, by pressing the ESCAPE key, as shown
in the messages line:

Press [EXIT] to show the menu.

Note that the name of your ESCAPE key may change, depending of
the program adaptation.

The options are:

New - To start a new document
Open - To open a document
Save - To save the current document
save As - To save the current document under another filename.
Help - To show the help screen.
aBout te - To show some te information.
eXit te - To quit the program.

You can select an option by pressing the character in uppercase.

To leave the menu, you must press ESCAPE.

If you start a new document, the 'Save' option will redirect to you to
the 'save As' option.

The help screen will show the keyboard configuration, that depends
of the program adaptation.


File backup
-----------

Each time a file is saved, te does a backup of the previous file
contents if it exists.

It is renamed as 'te.bkp'.


Adaptation
----------

The program adaptation is done by editing a small MESCC source code file.

In this file, you must specify the control characters that your
keyboard send, the help contents, and complete a few C functions to
clear the screen, etc.

As there are some adaptations already done, it's possible that your
machine is already included between them.

If not, don't worry, you can start from a similar adaptation.

See the source code files for more information.

Current adaptations are:

- Amstrad PCW and CP/M Plus (31x90 VT52 like terminal).
- Amstrad CPC and CP/M Plus (24x80 VT52 like terminal).
- Spectrum +3 and CP/M Plus (23x51 VT52 like terminal).
- K. Murakami's CP/M emulator (25x80 VT100/Ansi).
- Takeda Toshiya's CP/M emulator (25x80 VT100/Ansi).
- PC and Windows 32 bit (25x80).

The port to Windows 32 bit has been succesfully done, by converting the
MESCC code to Ansi C and recompiling with the Pelles C compiler, using
its 'conio.h' library.


License
-------

This program is freeware, and it's licensed under the GPL license.

Avatar de Usuario
MiguelSky
Lord of Short Time
Lord of Short Time
Mensajes: 6969
Registrado: Sab 08 Oct , 2005 2:02 am
Contactar:

Re: te - mi editor de textos pequeño, humilde, portable y út

Mensajepor MiguelSky » Vie 08 May , 2015 9:02 pm

Mola !! :) Una pregunta técnica (no tengo tiempo de probarlo ahora mismo): ¿la versión CPC admite distintas rutas? Supón tener el programa en la unidad |A y el archivo a abrir en |B. En mi caso, tendría la herramienta en el PATH de BonnyDOS y ejecutaría un archivo de |C, |A o |B. ¿O quizá es para CP/M?

EDITO: Ya veo, es para CP/M, pensaba que sería para AMSDOS. De momento no accedo a mi disco duro con CP/M.

Avatar de Usuario
FloppySoftware
Megaforero
Megaforero
Mensajes: 244
Registrado: Mié 26 Oct , 2011 2:07 pm
Ubicación: Spain
Contactar:

Re: te - mi editor de textos pequeño, humilde, portable y út

Mensajepor FloppySoftware » Vie 08 May , 2015 11:10 pm

Mola !! :) Una pregunta técnica (no tengo tiempo de probarlo ahora mismo): ¿la versión CPC admite distintas rutas? Supón tener el programa en la unidad |A y el archivo a abrir en |B. En mi caso, tendría la herramienta en el PATH de BonnyDOS y ejecutaría un archivo de |C, |A o |B. ¿O quizá es para CP/M?

EDITO: Ya veo, es para CP/M, pensaba que sería para AMSDOS. De momento no accedo a mi disco duro con CP/M.
Vaya, lo siento!

(por cierto, acabo de subir el port para DOS, compilado con Turbo C)

Avatar de Usuario
MiguelSky
Lord of Short Time
Lord of Short Time
Mensajes: 6969
Registrado: Sab 08 Oct , 2005 2:02 am
Contactar:

Re: te - mi editor de textos pequeño, humilde, portable y út

Mensajepor MiguelSky » Sab 09 May , 2015 7:57 am

Vaya, lo siento!
Qué dices, todo lo contrario: una herramienta muy útil :)

Avatar de Usuario
MiguelSky
Lord of Short Time
Lord of Short Time
Mensajes: 6969
Registrado: Sab 08 Oct , 2005 2:02 am
Contactar:

Re: te - mi editor de textos pequeño, humilde, portable y út

Mensajepor MiguelSky » Mar 26 May , 2015 6:50 pm

He estado trasteando un poco con él. Qué gozada poder pasar del ED, que me vuelve loco :D

Al principio tuve problemas con las teclas, pero es que no tenía definido el PROFILE.SUB. ¿No tienes opción de leer las teclas por código? Lo digo por si alguien tuviera definidas otras funciones para las teclas.

Repito, enhorabuena :)

Avatar de Usuario
cpcbegin
Forum Addict
Forum Addict
Mensajes: 416
Registrado: Vie 25 Jun , 2010 7:49 pm
Ubicación: Málaga
Contactar:

Re: te - mi editor de textos pequeño, humilde, portable y út

Mensajepor cpcbegin » Sab 30 May , 2015 9:26 am

Que interesante y útil, y en tu página tienes más programas para CP/M \:D/

Por cierto, ¿se llegó a hacer alguna versión de vi para Amstrad o para CP/M?

Avatar de Usuario
FloppySoftware
Megaforero
Megaforero
Mensajes: 244
Registrado: Mié 26 Oct , 2011 2:07 pm
Ubicación: Spain
Contactar:

Re: te - mi editor de textos pequeño, humilde, portable y út

Mensajepor FloppySoftware » Sab 30 May , 2015 8:18 pm

Al principio tuve problemas con las teclas, pero es que no tenía definido el PROFILE.SUB. ¿No tienes opción de leer las teclas por código? Lo digo por si alguien tuviera definidas otras funciones para las teclas.
Si desde CP/M se puede acceder al teclado, no habría problema en adaptarlo.

Por cierto, ahora que lo mencionas, me quedé bastante perplejo cuando al consultar el manual del CPC para hacer la conversión, vi los caracteres que devuelve el teclado en CP/M 2.

Por eso la versión para CPC es para CP/M Plus.

De todas formas, intentaré echarle un ojo más detenidamente a lo que comentas (ando muy liado últimamente).

Avatar de Usuario
FloppySoftware
Megaforero
Megaforero
Mensajes: 244
Registrado: Mié 26 Oct , 2011 2:07 pm
Ubicación: Spain
Contactar:

Re: te - mi editor de textos pequeño, humilde, portable y út

Mensajepor FloppySoftware » Sab 30 May , 2015 8:26 pm

¿se llegó a hacer alguna versión de vi para Amstrad o para CP/M?
Yo no he localizado ninguno, aunque se habla de que -posiblemente- existieran versiones de los clones Elvis y stevie.

De emacs si que existe una versión, llamada microemacs.

De todas formas, casi siempre existe la limitación en el tamaño de fichero a editar, porque generalmente se edita todo el fichero directamente en memoria (mi editor lo hace también así).

Avatar de Usuario
FloppySoftware
Megaforero
Megaforero
Mensajes: 244
Registrado: Mié 26 Oct , 2011 2:07 pm
Ubicación: Spain
Contactar:

Re: te - mi editor de textos pequeño, humilde, portable y útil.

Mensajepor FloppySoftware » Vie 26 Ene , 2018 12:27 am

Buenas,

Por si a alguien le pudiese interesar, os informo de que he subido a mi github una nueva versión del editor de textos para CP/M, con dos nuevos comandos: buscar texto, y repetir búsqueda.

https://github.com/MiguelVis/RetroProjects

Saludos.

Avatar de Usuario
FloppySoftware
Megaforero
Megaforero
Mensajes: 244
Registrado: Mié 26 Oct , 2011 2:07 pm
Ubicación: Spain
Contactar:

TE editor de texto para CP/M

Mensajepor FloppySoftware » Jue 01 Jul , 2021 8:29 pm

Buenas a todos,

Acabo de publicar la versión 1.70 de mi editor de textos TE para CP/M.

Incluye versiones para Amstrad PCW, CPC y Spectrum +3.

http://www.floppysoftware.es/te.html?pa ... rojects|te
https://github.com/MiguelVis/te

Imagen

Avatar de Usuario
MiguelSky
Lord of Short Time
Lord of Short Time
Mensajes: 6969
Registrado: Sab 08 Oct , 2005 2:02 am
Contactar:

Re: TE editor de texto para CP/M

Mensajepor MiguelSky » Jue 01 Jul , 2021 9:18 pm

Genial!! Lo uso mucho en en el emu PCW para crear y editar los archivos .SUB

Avatar de Usuario
FloppySoftware
Megaforero
Megaforero
Mensajes: 244
Registrado: Mié 26 Oct , 2011 2:07 pm
Ubicación: Spain
Contactar:

Re: TE editor de texto para CP/M

Mensajepor FloppySoftware » Sab 03 Jul , 2021 11:54 am

Genial!! Lo uso mucho en en el emu PCW para crear y editar los archivos .SUB
¡Me alegro de que te resulte útil!


¿Quién está conectado?

Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro


La Comunidad Española
ESP Soft, juegos para tu CPC Foro de Amstrad CPC Todos los juegos para CPC en un CD Web dedicada al Amstrad CPC (utilidades) Información útil para el CPC (talleres) Selección de juegos de Amstrad CPC Mundo CPC Pree Play then any Key CPC Basic