Software >
https://github.com/hishamhm/dit
http://hisham.hm/dit/
A sane text editor.
Not impressive compared to mcedit
from Midnight Commander.
- 2017-06-09 - 0.4 on Devuan beta1
- 2011-08-09 - (version not recorded) on Unity Linux (version not recorded)
- 2010-11-01 - SVN on Unity Linux 32bit 2001.1
- 2010-01-08 - SVN on Unity Linux 64bit-beta2
- 2009-04-25 - SVN on (distribution not recorded)
-
2009-03-23 - SVN on (distribution not recorded)
2017-06-09 - 0.4 ∞
# as root \apt-get install libncursesw5-dev ./configure \make \make install
- 765kB binary.. eesh.
Control-left
andcontrol-right
don't use the word boundaries I'm used to.- Now has
home
/end
- Now has
control-home
/control-end
- Still doesn't have
control-up
/`control-down - Still doesn't have simple menus
-
The file
ChangeLog
is from 0.1
Overall it's not impressive compared to mcedit
from Midnight Commander.
2011-08-09 - (version not recorded) ∞
I've known about Hisham Muhammad for a while now, because of GoboLinux. I was even prepared to use GoboLinux as my main desktop, but its development has been crawling. When I bumped into his replacement for 'top' named htop I was impressed. No, I was astounded.
Completely separately, I bumped into a new console editor project, dit. It's pre-release, some nice features.. and. Oh hell, it's one of Hisham's projects, I have to check this out.
I can't contain my glee. Here are the totally groundbreaking features, never before seen all together in one editor.
- The ability to
pageup
andpagedown
. Revolutionary! Control-left
andcontrol-right
to hop words. Amazing!Control-s
to save,control-q
to quit. Incredible!-
Control-c
to copy,control-x
to cut,control-v
to paste. Astounding!
There's no sarcasm there at all either. A usable text editor.
Mind you, dit is pre-release and it's missing a whole huge whack of stuff. I hope to see home
/end
, control-home
/control-end
, control-up
/control-down
and simple menus. To be honest, I can't think of much else I'd need except for decent search and replace functionality.
It's also got highlighting, some indentation wizardry, and probably other stuff I haven't discovered yet.
Installation ∞
Unfortunately I cannot get liblua-devel installed to re-test dit, as I'm on a very alpha Unity Linux which has broken dependencies before their switch to Mandriva repositories, 2011-08-09.
sh \gksu \ " \ smart install \ svn \ autoconf \ automake \ liblua-devel \ " svn co dit-editor.svn.sourceforge.net/svnroot/dit-editor/trunk dit cd dit ./autogen.sh ./configure make gksu "make install"
Without lua, I get:
checking liblua version is in range 501 <= v < 502... no configure: error: in `/mnt/data/live/_inbox/software/dit': configure: error: Lua libraries version not in desired range
2010-11-01 - SVN ∞
smart install autoconf autogen automake liblua-devel svn co dit-editor.svn.sourceforge.net/svnroot/dit-editor/trunk dit cd dit ./autogen.sh ./configure make
When running, I get:
Warning: could not parse terminal rules file terminals/xterm-color
- Doesn't remember the filename when I do
dit newfile.txt
, it makes me type it. -
segfaults when saving a new file. Hrm.
2010-01-08 - SVN ∞
smart install autoconf autogen automake svn co dit-editor.svn.sourceforge.net/svnroot/dit-editor/trunk dit cd dit ./autogen.sh sh configure # Fixes: make: execvp: scripts/GenHeaders: Permission denied chmod +x scripts/* make
errors:
... /path/to/dit/TabManager.c:298: undefined reference to `Vector_size' collect2: ld returned 1 exit status make[1]: *** [dit] Error 1
I give up..
2009-04-25 - SVN ∞
svn co dit-editor.svn.sourceforge.net/svnroot/dit-editor/trunk dit cd dit su ./autogen.sh ./configure make
- omg, the first editor with
control-left
/control-right
,shift
highlighting,control-x
/control-v
pageup
/down
work now!-
does highlighting based on file extension. C and Bash were tested and work.
- I don't know what he's thinking to have dark blue used.. sigh.
--
- no
home
/end
- I prefer
control-right
to hop over the spaces before the next word, it's way faster to move around even though it catches that blank space. -
saving does not recognize
~
- needs
control-o
for opening a file.
- needs
-
I saved a file, and now it segfaults and removes line breaks from my terminal when I try to restart it.
- I did another
make install
to fix it.
- I did another
-
I can do this, although it freezes dit:
echo foo|dit
2009-03-23 - SVN ∞
I found out about this because of htop. I loved it so much I tracked down more about the author to learn he's the GoboLinux dude. So this program ought to be awesome too.
This is a program to keep an eye on.
On startup, I got:
Warning: could not parse terminal rules file terminals/xterm-color
pageup
/pagedown
don't work- Needs an
F1
help file. F10
to save, should be able to pressescape
to abort the prompt and continue editing.- There are some resize background colour issues. Occasionally, but not always, when I resize the black working area becomes cyan like the border colour.
- I thought it was mouse aware.
-
His screenshot was showing syntax highlighting, but it wasn't working for me.
Last updated 2020-06-04 at 07:31:14
ported