4 ms·
Instead of nano what I want is something like microsoft edit. Complete with all the CUA style shortcuts (alt-f for file menu, ctrl-s saves, ctrl-arrow keys for
by stuaxo 9y ago
Instead of nano what I want is something like microsoft edit. Complete with all the CUA style shortcuts (alt-f for file menu, ctrl-s saves, ctrl-arrow keys for moving, shift arrow keys for highlighting).
Yes, this might be nonstandard for textmode in unix, but it will match all my GUI apps much better - and like most people I use a mix.
- int_19h 9y agoIt should be relatively easy using Free Pascal and its FreeVision text-mode UI toolkit. You get all the widgets, menus, scrollbars etc premade, complete with mouse support. They even have the editor widget with syntax highlighting already (in the text mode IDE; not sure if it's in the base library). All that's needed is to replace the default Borland-style shortcuts with CUA. http://www.principiaprogramatica.com/wp-content/uploads/2009/08/tubropascal7ide2.jpg http://www.principiaprogramatica.com/wp-content/uploads/2009...
- mixmastamyk 9y agoNice, loved turbo vision. Wonder if they could update with Unicode characters and 256+ colors?
- int_19h 9y agoUnicode would probably be a significant effort. It's actually a Turbo Vision port, and, as I recall, it still uses 8-bit strings, same as original did.
- badsectoracula 9y agoBoth would be very hard, my Outliner Lighto [0] program uses the Video unit that Free Vision uses and the main reason it cannot do unicode is that the screen is handled as an array of 8bit pairs (one byte is used for the character and the other byte is used as a pair of 4bit numbers, one for the foreground and one for the background) pretty much the same way that CGA had its text mode. All drawing in Free Vision is done by writing directly to TDrawBuffer types which are basically arrays of such cells. Also Free Vision specifically (this isn't a limitation of the Video unit) has a maximum width limit of 255 characters (technically it is the maximum width of a view, but the "desktop", the menubar, etc are all views). You'd need a very massive overhaul to introduce unicode and more than 4bit/4bit color pairs to Free Vision. [0] http://runtimeterror.com/rep/ol http://runtimeterror.com/rep/ol
- dmoo 9y agoSpeaking of Borland does anyone else remember the Brief editor. Was my goto for about a decade back in the early 90’s. Highly configurable, macros, column select and easily opened giant files.
- lttlrck 9y agoBrief was excellent, as was the GUI version Crisp. Superb window split implementation.
- jdmoreira 9y agoYou should look at the joe editor :)
- natefinch 9y agoHave you tried micro? It has basically all of that.