The middle button on a three-button mouse is paste as I recall, and that's how my Logitech scroll wheel worked.
I simply stopped using it with the terrible command line editing in bash.
Remember modifying your environment and using vi syntax for command line editing??
Thanks to my surrender to the bash conventions, I've lost years of my life holding down the delete key for lack of cw for a path element or just simply overstrike instead of the assumption that we're all in love with insert editing - and the delete key.
And with the state of this current laptop (my backup hobbling along now that the desktop is dead), I think I'll look over my granddaughter's and barring all else, I think I'll go for that one myself.
And PS - all of my trackballs have had three buttons, no idea what you've used.