Being able to move text from one file to another (using pipes or copy and paste) is one of the first things you should learn; well done for your very useful examples. Something that has always given me a headache with editors (both old and new) has been the "mark text" function. It is generally assumed that the mouse is used, but those of us who only use the keyboard, or at least I, have a hard time finding the very useful combination of marking. Copy and paste generally respond to the same patterns (or combinations), but selecting a piece of text is such hidden information that it is difficult to find. Quality content, as always. Greetings
@shawn28411 күн бұрын
Another one to save to my tty playlist, great video James, appreciate them:)
@JamesChampionLinux11 күн бұрын
Thanks shawn!
@RicardoGarciso12 күн бұрын
Hi James, Thanks for your Video I like the way you explain tty commands!
@JamesChampionLinux12 күн бұрын
Great to hear. Thanks!
@vmisev11 күн бұрын
Thanks for the video! Don't you Linux folks have mouse select (copy) / shift-insert | mouse middle button (paste) in tty? I'm spending a lot time in my FreeBSD vt console, and honestly, I can't imagine working efficiently in tty without this feature.
@JamesChampionLinux11 күн бұрын
Linux has gpm, but I'm not aware of being able to mouse select copy and paste on the Linux Console. I will have look more into it. On BSD I think that you have sysmouse that allows you to use the mouse to copy and paste.
@vmisev11 күн бұрын
@@JamesChampionLinux Yup, sysmouse(4) works under moused(8) to provide console with mouse and to allow for mouse both in X and in cons. There is even VT_TWOBUTTON_MOUSE kernel option and moused has "-3" option for emulating the third (middle) button for 2-button mice.
@AliensInc.11 күн бұрын
I fiddled up some small script 'create' a copy/paste in TTY but in pure bash, no screen involved. Worked quite a while but not lately. Haven't checked that out yet but I will. Probably made an error in it without knowing but I haven't had time for it. Until that's done this will make my life easier.👍
@JamesChampionLinux11 күн бұрын
That's a shame that your script stopped working. Is the code on GitHub or similar? Thanks.
@AliensInc.11 күн бұрын
Hmm, can't remember. Think I'll have to look that up too I guess
@vmisev11 күн бұрын
I just installed gpm in OpenMandriva to check, and yup, copy /paste in virtual console works exactly the same as in FreeBSD, so this video will need an addendum 😉 Also, in FreeBSD vt cons mouse works in CLI apps that support mouse like mc, htop etc. even when connected to it via ssh from any terminal that supports $TERM.
@JamesChampionLinux11 күн бұрын
Thanks for looking into gpm and testing out copy/paste. I genuinely had no idea, and I thought I had tested that a few years ago. I will check it out and probably make a new video. :)