News for hackers. Stuff that matters.
Re:Plan 9 from Bell Labs by simonblack on Monday December 08, 2014 @08:33PM (#8720399)
But how do you 'paste' without a middle button? That's the bit I miss most when I have to use a 2-button mouse. Thank god the guys who invented the scroll-mouse had the sense to build the middle-button into the scroll-wheel axle.
Re:Plan 9 from Bell Labs by Sir_Cmpwn on Monday December 08, 2014 @09:10PM (#8720552)
I'm not against a three-button mouse, I'm against its overuse. Example: in plan9, you can't hit "up" to re-use the last command you typed into a terminal. You have to copy+paste it with your mouse.
Re:Plan 9 from Bell Labs by black_knight on Tuesday December 09, 2014 @04:20AM (#8721833)
Not quite true. The command "" (much like bash's !!) runs the previous command you entered. It can also be given a prefix of a command and search the history for this command.

See wintext(1).

Re:Plan 9 from Bell Labs by soong on Tuesday December 09, 2014 @07:05AM (#8722279)
Even better: Add fn term%{ $* } to your profile and you can just dbl-left-click and send the old command. And since Rio remembers your last menu item selection this becomes just dbl-left-sgl-middle-click on second execution.

Pretty neat.

Edit: Of course this does not make it much easier if you really just want to execute the very last command. But usually you want to either

* edit the last command, because you mistyped it, in which case you can edit the old command in place and then proceed as described above

or

* you want to execute not the last but some previous command in which case this becomes increasingly useful the older the command is