Author Topic: te: my small, humble, portable and useful text editor  (Read 4042 times)

0 Members and 1 Guest are viewing this topic.

Offline FloppySoftware

  • CPC6128
  • ****
  • Posts: 261
  • Country: es
  • The best team: Amstrad PCW, CP/M, and the Z80 cpu.
    • Floppy Software
    • Awards
Hi!
 
I've just uploaded to my website, 'te', my small, humble, portable and useful text editor.
 
It has been ported to the Amstrad CPC, PCW and the Spectrum +3.
 
Even to Windows!
 

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

v1.00 / 07 May 2015
(c) 2015 M. 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.
 

« Last Edit: 19:34, 08 May 15 by FloppySoftware »
like
0
No reactions
floppysoftware.es < NEW URL!!!
cpm-connections.blogspot.com.es

Offline FloppySoftware

  • CPC6128
  • ****
  • Posts: 261
  • Country: es
  • The best team: Amstrad PCW, CP/M, and the Z80 cpu.
    • Floppy Software
    • Awards
Re: te: my small, humble, portable and useful text editor
« Reply #1 on: 00:08, 09 May 15 »
I've just uploaded a version for DOS (25x80), compiled with Turbo C v1.01.
 
like
0
No reactions
floppysoftware.es < NEW URL!!!
cpm-connections.blogspot.com.es

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 17.190
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
    • Awards
Re: te: my small, humble, portable and useful text editor
« Reply #2 on: 15:46, 16 June 15 »
Ha, I'm using it right now to compile a list I need for work, on Windows :)
like
0
No reactions

Offline FloppySoftware

  • CPC6128
  • ****
  • Posts: 261
  • Country: es
  • The best team: Amstrad PCW, CP/M, and the Z80 cpu.
    • Floppy Software
    • Awards
Re: te: my small, humble, portable and useful text editor
« Reply #3 on: 18:18, 16 June 15 »
Ha, I'm using it right now to compile a list I need for work, on Windows :)
Ok! Did I already mentioned that it's humble but... useful?  :D 8)
(BTW, I have a Linux version too for gcc)
like
0
No reactions
floppysoftware.es < NEW URL!!!
cpm-connections.blogspot.com.es

Offline CraigsBar

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.381
  • Country: ie
  • The party ain't over yet
    • index.php?action=treasury
    • Awards
Re: te: my small, humble, portable and useful text editor
« Reply #4 on: 18:20, 16 June 15 »
No OS-X! I feel discriminated against lol ;) no seriously this is a great little text editor.
like
0
No reactions
IRC:  #Retro4All on Freenode

Offline FloppySoftware

  • CPC6128
  • ****
  • Posts: 261
  • Country: es
  • The best team: Amstrad PCW, CP/M, and the Z80 cpu.
    • Floppy Software
    • Awards
Re: te: my small, humble, portable and useful text editor
« Reply #5 on: 21:30, 01 July 21 »

TE v1.70, my text editor for CP/M has just been released!

Includes versions for the Amstrad PCW, CPC and Spectrum +3.

Now, thanks to TECF, the TE configuration tool, you can
configure TE even more:
- configuration name
- screen size ("auto" for CP/M 3 auto-detection)
- layout characters
- main key names
- key bindings

http://www.floppysoftware.es/te.html?path=cpm_projects|te
https://github.com/MiguelVis/te
« Last Edit: 12:49, 03 July 21 by FloppySoftware »
like
0
No reactions
floppysoftware.es < NEW URL!!!
cpm-connections.blogspot.com.es

Online norecess

  • CPC6128
  • ****
  • Posts: 278
  • Country: ca
    • Awards
Re: te: my small, humble, portable and useful text editor
« Reply #6 on: 04:35, 02 July 21 »
I will never be an user of your text editor (because of CP/M reliance on Amstrad) ; but big congrats for the effort of making this program running on CP/M, DOS, Windows and GNU/Linux ! It's amazing. :)
like
0
No reactions

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 17.190
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
    • Awards
Re: te: my small, humble, portable and useful text editor
« Reply #7 on: 11:11, 02 July 21 »
Yes, that! It looks really nice and with some well thought-out functionality :)
like
0
No reactions

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 2.909
  • Country: de
  • Reincarnation of TFM
    • FutureOS - The quickest OS for the CPC and Plus
    • Awards
Re: te: my small, humble, portable and useful text editor
« Reply #8 on: 17:03, 04 July 21 »
TE v1.70, my text editor for CP/M has just been released!
Can you please post a DSK here for the CPC, I'm not getting it from your links.
If you do so, I will make a ROM for CP/M Plus if possible.
like
0
No reactions
http://futureos.de --> Get the revolutionary FutureOS (Update: 2021.01.24)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.07.15)

Offline redbox

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.793
  • Country: gb
    • redbox
    • Awards
Re: te: my small, humble, portable and useful text editor
« Reply #9 on: 18:13, 04 July 21 »
Can you please post a DSK here for the CPC, I'm not getting it from your links.

The link is on the project page - https://github.com/MiguelVis/te/archive/refs/heads/master.zip

Inside the zip file is TE_CPC3.COM
like
0
No reactions

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 2.909
  • Country: de
  • Reincarnation of TFM
    • FutureOS - The quickest OS for the CPC and Plus
    • Awards
Re: te: my small, humble, portable and useful text editor
« Reply #10 on: 19:13, 04 July 21 »
Thanks, this link even works.  :)  No DSK, but at least a COM file.


@FloppySoftware: Could you please provide a TE.COM file for the CPC which does not need to read the configuration file (means all parameters set for the CPC). From this file I can make a ROM for CP/M Plus on CPC.
« Last Edit: 19:25, 04 July 21 by GUNHED »
like
0
No reactions
http://futureos.de --> Get the revolutionary FutureOS (Update: 2021.01.24)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.07.15)

Offline FloppySoftware

  • CPC6128
  • ****
  • Posts: 261
  • Country: es
  • The best team: Amstrad PCW, CP/M, and the Z80 cpu.
    • Floppy Software
    • Awards
Re: te: my small, humble, portable and useful text editor
« Reply #11 on: 23:56, 04 July 21 »
Thanks, this link even works.  :)  No DSK, but at least a COM file.


@FloppySoftware: Could you please provide a TE.COM file for the CPC which does not need to read the configuration file (means all parameters set for the CPC). From this file I can make a ROM for CP/M Plus on CPC.


Every TE binary is already patched with the right configuration, they don't read any configuration ever.


The configuration files are for TECF, the TE configuration tool, in order to change something if needed.


So the CPC version for CP/M Plus is ready to run as is and you do not need anything else.

like
0
No reactions
floppysoftware.es < NEW URL!!!
cpm-connections.blogspot.com.es

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 2.909
  • Country: de
  • Reincarnation of TFM
    • FutureOS - The quickest OS for the CPC and Plus
    • Awards
Re: te: my small, humble, portable and useful text editor
« Reply #12 on: 16:21, 05 July 21 »
So the CPC version for CP/M Plus is ready to run as is and you do not need anything else.
Perfect! Thanks a lot.  :) :) :)
like
0
No reactions
http://futureos.de --> Get the revolutionary FutureOS (Update: 2021.01.24)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.07.15)

Offline m_dr_m

  • 464 Plus
  • *****
  • Posts: 327
  • Country: gb
  • http://orgams.wikidot.com/
    • OrgaMS!
    • Awards
Re: te: my small, humble, portable and useful text editor
« Reply #13 on: 20:09, 09 July 21 »

Very intriguing!


Like Norecess, I think the main deterrent is CP/M (and well, some features lacking). I can fire up Orgams' editor or Protext in 1 second.


Is there way to wrap CP/M tools so you don't have to suffer CP/M boot?
like
0
No reactions

Offline FloppySoftware

  • CPC6128
  • ****
  • Posts: 261
  • Country: es
  • The best team: Amstrad PCW, CP/M, and the Z80 cpu.
    • Floppy Software
    • Awards
Re: te: my small, humble, portable and useful text editor
« Reply #14 on: 22:15, 09 July 21 »
Very intriguing!


Like Norecess, I think the main deterrent is CP/M (and well, some features lacking). I can fire up Orgams' editor or Protext in 1 second.


Is there way to wrap CP/M tools so you don't have to suffer CP/M boot?


Oh well, that's not a problem for me because I love CP/M.  :P

I don't suffer CP/M boot, I enjoy it!  :laugh: :laugh: :laugh:

Regarding lack of features, just give me some time.  8)

like
0
No reactions
floppysoftware.es < NEW URL!!!
cpm-connections.blogspot.com.es

Online norecess

  • CPC6128
  • ****
  • Posts: 278
  • Country: ca
    • Awards
Re: te: my small, humble, portable and useful text editor
« Reply #15 on: 22:41, 09 July 21 »
I don't suffer CP/M boot, I enjoy it!
Exactly. I'm always amazed when I see people working around CP/M, usually because I always felt the info about this system was lacking. There are multiple ways to enjoy our hobby, there is no need for a single path for everything!

Regarding lack of features, just give me some time.
One thing that is lacking to most native editors on Amstrad is that they are based on authoring a single document at a time ; I feel modern workflows imply the use of multiple documents opened at same time. But, only my opinion, and once again, I won't use your editor. :D
« Last Edit: 22:44, 09 July 21 by norecess »
like
0
No reactions

Offline m_dr_m

  • 464 Plus
  • *****
  • Posts: 327
  • Country: gb
  • http://orgams.wikidot.com/
    • OrgaMS!
    • Awards
Re: te: my small, humble, portable and useful text editor
« Reply #16 on: 00:16, 10 July 21 »
FWIW, Orgams is multi-sources. Protext+Extension IIRC can open several documents. FutureTex: multiple open files up to 480 KB.
like
0
No reactions

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 2.909
  • Country: de
  • Reincarnation of TFM
    • FutureOS - The quickest OS for the CPC and Plus
    • Awards
Re: te: my small, humble, portable and useful text editor
« Reply #17 on: 18:15, 14 July 21 »
Is there way to wrap CP/M tools so you don't have to suffer CP/M boot?
Yes, CP/M Plus can be in ROM and CP/M applications can be in ROM. Actually there is a growing number of CP/M tools in ROM. If you lack one let me know, and I'll have a look at it. However, I'm not quick with that, because it's not the focus of my work.
like
0
No reactions
http://futureos.de --> Get the revolutionary FutureOS (Update: 2021.01.24)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.07.15)