⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 sted 是一个非常小的简单的基于 ncurses的文本编辑器。而且如果你认为其他编辑器太乏味的话它还携带着一个幻觉模式选择
💻
字号:
sted 0.2.2 README file======================sted, which is an abbreviation for Small/Stupid (you choose) TextEditor, is a small and/or stupid text editor. So far it doesn't domuch. You can edit files, load them and save them.What's new?See the file CHANGES for changes since earlier versions.Instructionsusage: sted [-p] [file]The -p argument starts up sted in psychedelic mode, which meansthat the text changes colour for each keypress. It can be veryannoying, but I thought it was funny, and it doesn't take up morethan a few lines of code. If you type in a filename, the file willbe loaded.  You can use the following keys:F1 : quits.F11 : loads a file. You'll be asked if you really want to do it, and      then you'll get to choose a file to load, by typing in its name.F12 : saves a file. If you didn't start sted with an empty buffer,       you'll be asked if you want to save it under the same name as      it had when you loaded it, if you hit 'n', you'll be asked for      a file name.Cursor keys : moves the cursor around.PageUp : moves the cursor one page up.PageDown : moves the cursor one page down.Home : moves the cursor to the beginning of the current line.End : moves the cursor to the end of the current line. You'll notice that when you reach the edge of the screen, it will scroll, one character at a time, both horizontally and vertically. Idon't know if horizontal scrolling is a very good idea, but I don'tlike the idea of wrapping the lines either. I haven't seen any UNIXtext editor that scrolls horizontally, so if you want an editor thatdoes that, here it is. The best thing is of course to always keep thelines shorter than 80 characters... If I really get inspired, and start to learn some serious programmingtechniques, I'll keep working on sted until it resembles the MSDOStext editor. I don't know if an edit.com clone is necessary, or if anyone really wants one, but it could be nice for people who switchfrom MSDOS to Linux.Limitationssted has a lot of limitations that you'll probably find quite annoying. It doesn't work very well in an xterm. There are probably other things you'll notice as well... You can't use delete or the cursor keys while typing in a file name, only backspace. There are nocut, copy, paste or insert file options. To doRemove all the limitations. Fix the bugs (if there are any). Clean upthe very ugly code. Add some new feature, like cut, copy and paste andinserting files. As mentioned above, I might turn it all into an edit.comclone, with pull-down menus and all that crap, but that'll take quite alot of time, If I ever do it. We'll see. 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -