Imagine you're a mortal who is accustomed to VS Code or some other GUI Text Editor/IDE, and suddenly you have to login to some SSH or fire up a Linux Server Distro with no GUI. You find yourself treading in the territory of immortals where beasts like Vim, Emacs and others reside. You find a friend called Nano, but it doesn't speak your tongue (i.e. key bindings), so you waste your time trying to learn a new way to communicate instead of getting the job done and get the hell out of there. This editor can be your friend that speaks the same-ish tongue and you can take it there with you. It isn't the only one though, there is another one (a better one) called Micro.
TED RELEASE 1.0 CREATED 05/01/84
(C) Copyright 1983,84 Information Builders Inc.
Et voici lâaide:
TED Editor
----------
There are three modes of TED operation. Each of these is a TED command.
TYPE mode Only the text of the file appears on the screen.
EDIT mode A five character control area appears on each line.
DRAW mode The graphical character set is enabled.
Special Key Usage
-----------------
____ ____
|Ctrl| "A" INSERT a blank line at |Ctrl| "D" DELETE line at current
|____| current cursor position. |____| cursor position.
____
|F6 | RECALL last line in command
|____| box to re-appear.
____ ____
|F7 | Move backwards one full |F8 | Move forwards one full
|____| screen. |____| screen.
____ ____
|F9 | Move BACKWARDS one line |F10 | Move FORWARDS one line
|____| at a time. |____| at a time.
____ ____
|HOME| Move CURSOR to TOP line |END | DELETE from CURSOR to
|____| at first column. |____| END of current line.
INSERT CHARACTER
The regular keyboard control for inserting characters at a given position
is the "Ins" key. To turn off inserting depress the "Ins" again.
DELETE CHARACTER
The regular keyboard control for deleting characters at a given position
is the "Del" key.
Immediate Prefix Area Operations
--------------------------------
==/== Becomes current line ==DD= Delete block
==D== Delete line ==MM= Move block
==In= Insert n lines ==SP= Split line (at cursor)
==M== Move Signal =="n= Duplicate n times
==C== Copy Signal
==F== Move or copy Following
==P== Move or copy Prior
Command Lines Operations
------------------------
GET fileid Get a file
Locate /string/ Locate a string ,search forwards
Next n Forward n lines
Up n Backwards n lines
Change /old/new/ n m Change old to new n times on m lines (or * *)
- /string/ Backward search
JOin cursor Join from cursor to line above
TOP Go to top of file
BOTtom Go to bottom of file
SAVE fileid Save file as fileid and continue
FILE fileid Save file as fileid and end session
Add n Add n lines after current line
Case m/u/ Mixed upper/lower case, upper case
Insert string Insert line after current line
Quit Quit if no changes
QQ Quit if changes
TED fileid Edit another file
Command Repete
Any command which is preceeded by a "&" remains in the command box
is not erased when the ENTER key is depressed.
# Motivations
PostĂ©Â par Marc Quinton . ĂvaluĂ©Â Ă Â 7.
j'aime bcp ce passage, bien que je me sente moyennement concerné:
Motivation
Imagine you're a mortal who is accustomed to VS Code or some other GUI Text Editor/IDE, and suddenly you have to login to some SSH or fire up a Linux Server Distro with no GUI. You find yourself treading in the territory of immortals where beasts like Vim, Emacs and others reside. You find a friend called Nano, but it doesn't speak your tongue (i.e. key bindings), so you waste your time trying to learn a new way to communicate instead of getting the job done and get the hell out of there. This editor can be your friend that speaks the same-ish tongue and you can take it there with you. It isn't the only one though, there is another one (a better one) called Micro.
[^] # Re: Motivations
PostĂ©Â par audionuma (site web personnel, Mastodon) . ĂvaluĂ©Â Ă Â -5.
Ben
nano
quoi ?# normal
PostĂ©Â par Pol' uX (site web personnel) . ĂvaluĂ©Â Ă Â 5.
normal == « notepad like key bindings »
Adhérer à l'April, ça vous tente ?
[^] # Re: normal
PostĂ©Â par Gil Cot â (site web personnel, Mastodon) . ĂvaluĂ©Â Ă Â 0.
bref, trolldi avant l'heure. parce-que sa norme perso ne me parle pas
âIt is seldom that liberty of any kind is lost all at once.â â David Hume
[^] # Re: normal
PostĂ©Â par calandoa . ĂvaluĂ©Â Ă Â 4.
Notepad ? En l'occurence, n'importe quelle GUI Windows / Mac / Gnome / KDE / XFCE / etc⊠et je trouve ça plutÎt une bonne nouvelle.
[^] # Re: normal
PostĂ©Â par Nicolas Boulay (site web personnel) . ĂvaluĂ©Â Ă Â 3.
un notepad dans la console, c'est pas mal. Il y a "macro" qui semble faire la mĂȘme chose Ă voir.
"La premiÚre sécurité est la liberté"
[^] # Re: normal
PostĂ©Â par Elfir3 . ĂvaluĂ©Â Ă Â 3.
Je me disais justement que notepad serait alien chez moi qui utilise toujours ctrl+a et ctrl+e pour aller en début/fin de ligne dans mes GUIs.
[^] # Re: normal
PostĂ©Â par Gil Cot â (site web personnel, Mastodon) . ĂvaluĂ©Â Ă Â -1.
J'ai vĂ©rifiĂ© sur le poste d'un collĂšgue, dans son notepad, et les raccourcis mentionnĂ©s ne fonctionnent pas ! Encore une normalitĂ© qui n'en est pasâŠ
âIt is seldom that liberty of any kind is lost all at once.â â David Hume
[^] # Re: normal
PostĂ©Â par Thomas Debesse (site web personnel) . ĂvaluĂ©Â Ă Â 7. DerniĂšre modification le 07 aoĂ»t 2021 Ă 09:50.
Jâai retrouvĂ© hier sur une vieille disquette 3.5" 720k le premier Ă©diteur de texte que jâai utilisĂ© sur ordinateur pour Ă©crire mes premiers programmes en C (prĂ© ANSI) sur un 8086. Il sâappelle TED et au dĂ©marrage il dit:
Et voici lâaide:
Et oui câĂ©tait un Ă©diteur modal. Quand plus tard je suis passĂ© Ă Linux, câest tout naturellement que je me suis tournĂ© vers vim, mĂȘme sâil mâa fallu rĂ©apprendre les commandes. Noter comment lâaide parle de trois modes mais ne mentionne que les modes dâĂ©dition, sans mentionner le mode commande comme un mode en lui-mĂȘme tellement ça paraĂźt Ă©vident. =)
En plus de la commande en bas dâĂ©cran similaire Ă celle de vim, dans le mode dâĂ©dition par dĂ©faut chaque ligne est prĂ©fixĂ©e dâune zone de commande spĂ©cifique, en gros tu tapes lĂ les commandes Ă la maniĂšre de vim. Pour supprimer une ligne tu vas dans la zone de prĂ©fixe, tu Ă©crit D (ça affiche D dans le prĂ©fixe) et tu appuie sur entrĂ©e, ou D2 pour supprimer deux lignes, ou I2 pour insĂ©rer deux lignes.
Jâai Ă©tĂ© Ă©duquĂ© dans une sociĂ©tĂ© du langage oĂč lâon parle Ă ses outils plutĂŽt que grogner et pointer. Je rencontre donc trĂšs rapidement une profonde frustration quand jâessaie par curiositĂ© un outil comme VS code. Alors il y a un plugin vim dans VS code (qui dâailleurs pendant longtemps nâa pas pris en charge lâhistorique des commandes!) mais assez vite je me heurte Ă diverses autres paradigmes dâĂ©diteur qui me conviennent assez peu.
Bref, je ne suis peut-ĂȘtre pas normal, mais je deviens peut-ĂȘtre un dinosaureâŻ!
ce commentaire est sous licence cc by 4 et précédentes
Suivre le flux des commentaires
Note : les commentaires appartiennent Ă celles et ceux qui les ont postĂ©s. Nous nâen sommes pas responsables.