Terminal that acts more like an editor
I'm looking for a terminal program which acts more like an editor when you hit Delete or Backspace, C-v, C-x, C-c...
-A selection would be deleted with delete key instead of just a character. -Ctrl-C would copy a selection -Ctrl-V would paste a selection. If not available I will consider writing one, but I'm guessing there is one out there. I would prefer if it is written in a compiled language without reliance on python, kde, etc. |
Emacs is vary capable... It should do most of what you need.
KC |
By terminal, do you mean a console? How do you plan to make a selection? The bash shell has an emacs and vi mode that you might look into.
|
Quote:
I find myself making quick commands on systems which don't always have emacs installed. Or say if I want an instant command line at my fingertips just after starting a window manager,or just before exiting. Still useful to have a terminal program I find. I'd hate to have to load emacs up just to make a quickie command, or to load it up on an older system where reallly I just need a quick 5 minutes in the terminal . Where I also need dedicated terminal program would be on smaller older computer/laptops. I also find annoying that in midnight commander I notice the same problems with the internal viewer lacking ctrl-key editing. It shouldn't be to hard to modify some of these programs, but I thought maybe there were some solutions out there already which other people have already though up. |
Quote:
So are these editing modes you mentioned also possible in a terminal window, since the terminal window essentially talks to the bash shell anyway? |
Hmmm, Not sure what your looking for...
"dedicated terminal emulator" ? If you want to make quick scripts or .txt files from the command line... cat > document.txt << end this will capture everything typed in the command line to document.txt until you type the word "end" Hope this helps. KC |
There are a number of virtual terminal programs available for Linux, such as xterm , konsole, rxvt. Perhaps one of them would be better suited for you tastes. However, I don't see what use selecting and deleting/inserting segments on a single line of entry would do. The interactive bash shell has some control or meta sequences for deleting entire words, or deleting what precedes or follows the cursor.
|
xterm allows cutting and pasting very easily, just highlight, and it's automatically copied. Hit the middle mouse button, and it's pasted. Also, you can configure bash so that emacs commands work on the command line. For instance, M-p goes to the previous command, M-a goes to the beginning of the line, M-d deletes the current word, etc.
|
All times are GMT -5. The time now is 06:16 PM. |