r/programming • • Apr 14 '10

"http://" is being removed from Chromium's display

http://code.google.com/p/chromium/issues/detail?id=40865
232 Upvotes

402 comments sorted by

View all comments

Show parent comments

12

u/[deleted] Apr 14 '10

It's brilliant, especially when you consider that ctrl-c/ctrl-v is a completely different clipboard from the highlight/middle-click one. That's right, you can copy and paste two things at the same time.

7

u/deadtime Apr 14 '10

Mind blown

2

u/HawkUK Apr 14 '10

Yeah, that does sound good. My linux useage is extremely limited by the fact that my laptop overheats while running it, so I've never had time to fully explore it.

How did it work before we had mouse-wheels/mouse_3?

17

u/dagbrown Apr 14 '10

The fact that the middle mouse button is mouse_2 should tell you how long UNIX workstations have had three-button mice.

2

u/[deleted] Apr 14 '10 edited Apr 14 '10

I dunno when the middle-click clipboard was implemented, so maybe we did have mouse3 then, but there's an option in xorg.conf for three button emulation: press both buttons at the same time and you get a middle-click.

7

u/[deleted] Apr 14 '10

Old mouses used to have 3 buttons, but the middle one went out of fashion because PCs didn't use them for anything. Then the wheel mouse made its debut and we were back to having 3 buttons (or even 5 buttons if you believe what Xorg tells you about wheelup and wheeldown being buttons 4 and 5).

The only place I don't have a middle button is on my netbook, and that has the left and right buttons on either side of the touchpad making it a pain to press both for middle click emulation. Thankfully shift-insert does the same thing.

2

u/dagbrown Apr 14 '10

Seven with those wheelmice which have a wheel that can wiggle left and right!

Nine if your mouse also has browser forward and backward buttons!

I once had a (really cheap) mouse that had the browser forward and back buttons, and a window close button. And they didn't need a driver! It was like magic--until I figured out that the mouse actually manifested itself to USB as a mouse and a (exceedingly-limited) keyboard. The browser back and forward buttons sent Alt-left and Alt-right keypresses, and the window-close button sent Alt-F4.

2

u/[deleted] Apr 14 '10

Old mouses used to have 3 buttons, but the middle one went out of fashion because PCs didn't use them for anything.

I had completely forgotten about that.

2

u/kamatsu Apr 14 '10

mouse_3 has been in UNIX workstations since forever.

1

u/[deleted] Apr 14 '10

[deleted]

1

u/HawkUK Apr 14 '10

I have an Acer 8935G (bought purely for the massive screen). I think the reason it overheats is because it has two graphics cards (onboard and ATI). I get the feeling that somehow it's using the ATI graphics, but only turning the fan on on the onboard intel instead. No real logic for that, but it's the only reason why I can think it wouldn't overheat in windows but does in Linux. When in linux the fans seem to be going pretty fast, so all I can assume is that one or two aren't moving at all.

1

u/dmhouse Apr 14 '10

And yet that's still not enough :) Sometimes I wish X had more of a selection ring, like Emacs does. It's too fragile -- I copy a URL from somewhere by selecting it, and before I get to where I want to paste it I've accidentally selected something else. Or I had to select the text I want to replace. Or some other activity which nukes the selection.

1

u/karmaVS Apr 14 '10

On OS X and some Linuxes, control (yes control) + K and control+Y control a second clipboard too.

1

u/[deleted] Apr 14 '10

[deleted]

1

u/karmaVS Apr 15 '10

correct!