Linux User in Mac World

Discussion in 'MacBook Air' started by dakkar, Aug 7, 2011.

  1. macrumors newbie

    Jul 8, 2011
    dear all,

    I wrote in this forum some weeks ago. I am a linux user that is tring a mac experience with a mac book air.

    finally I bought the machine and I am having nice time with it, however I would like to have some help about some issue I could not manage up to now.

    I hope you can help me I write it down in following. franckly the most important part is about the shell and mouse, I hope you can help.

    1) I would like turn off hypertreading and I and I am experiencing some difficulties to turn it off definitivelly. any suggestion?

    2) the command in shell are a bit different between linux and mac, but that is fine. however therer are some behaviors I would like to change.
    2a) home button does not work like in *nix. so it does not go to the beginning of the line, but at the beginning of the shell session. any solution? any different combination of button or a way to make home button works??
    2b) deleting a sting in command line with "<-" is somehow slow. I mean it is not a system limitation, it is rather that the shell is setted to delete slowly the comma when I press "<-". where to change that?
    3) Finally and this is the most anoying part of everithing... the third button! I explain better. in linuz everithing is selected by the coursor iss automatically pasted when you press the third button. plz, I beg you, tell me this is possible to configure in some way!!!

    I hope you can help me!

    all the best to you
  2. macrumors G4

    Oct 23, 2010
  3. macrumors Pentium


    Jan 28, 2009
    Quebec, Canada
    Why ? Leave hyperthreading on.

    It's time you learned the proper way of working. CTRL-A goes to the beginning of the line, CTRL-E to the end. CTRL-W erases a word ( a space separated entity). This is the way of all bourne shells. It's also how Apple makes most of their applications.

    That's a function of X11, not Linux. Use X11 applications and it'll work that way. Quartz does not support 3rd button paste of the selection buffer.

    What was his programming question exactly ? Because I sure as heck didn't see any in his post.

    If anything, you should have pointed him to Mac OS X help.
  4. macrumors G4

    Oct 23, 2010
    Turning off hyper threading. If there is a way to do so, then it's probably a programming thing.
  5. macrumors Pentium


    Jan 28, 2009
    Quebec, Canada
    No, it's not. Programming is about the OS X APIs and developer tools. Turning off "hyperthreading" is just a configuration option that might or might not exist.
  6. thread starter macrumors newbie

    Jul 8, 2011
    ok tnx very much.

    1) I want to turn hypertreading off because I have some appication that do no fork, so I need to have the best processor I can on that process. here it comes the point to remove hyper treading.

    2a) perfect

    3) so it is not possible... ok

    last question let say 4) :) always in gnome it is possible to ask a page to be always on top off all, as well as always on visible workspace. any way to make this in mac? any apps?
  7. macrumors G4

    Oct 23, 2010
    If you don't have a multithreaded process, then it won't hyper thread automatically, right? It will instead turbo boost to its single core speed.
  8. macrumors Pentium


    Jan 28, 2009
    Quebec, Canada
    The OS scheduler and APCI sub-systems are much better at handling these things than you are. If you must really turn off Hyper-threading, Apple provides tools to do so as part of CHUD, but again, you'll just be harming the performance of your machine.

    Mission control now offers this option to have an app be assigned to all workspaces. As far as I know, there is no "always on top" option for the Mac's window manager like there is for Linux. The Mac is much more limited on configurability than the Linux stuff is.
  9. macrumors 65816


    Oct 18, 2008
    Your girlfriends place
    You can turn hyper threading off by installing Xcode. There is a control panel that is installed that gives you the option.
  10. macrumors newbie

    Jul 26, 2011
    From a developer's perspective, it is sometimes necessary to turn hyperthreading off to test for performance and X86 compatibility across architectures.

    Of course, you know this already.

    The gospel according to whom?

    That only scratches the surface of what Quartz doesn't support. Of course, it's for our own good.

    He came here for some assistance. You gave him what he so obviously needed. :rolleyes:

    You are precisely why people love Apple products and hate Apple users.

    And there's the answer he was looking for. Perhaps it isn't all about hardware performance. The ability to disable hyperthreading can be critical to the performance of an application. Most every hardware provider allows the user to disable hyperthreading much more easily than Apple.
  11. macrumors regular

    Nov 1, 2006

    I didn't know this one was possible with OSX, also haven't seen any way to underclock - anyone?

    This isn't shell commands being different, but I'd suggest using iTerm or iTerm2. That may handle some of your problem keystrokes for you (it does for home), although as stated, bourne and bash have their own core keystrokes using ctrl sequences - those are the norm, the Home and End keys I don't believe are 'standard' at all, more like a Windows convenience that may be mapped over. If iterm/iterm2 doesn't do enough for you, try looking for info on how to modify termcap, as that's the storage for all keystrokes.

    In an iterm/iTerm 2, mmb is configurable and will default to paste. This is also configurable system-wide although possibly via a hack, AFAIK, although I've grown out of that one and usually revert to copy/paste keystrokes instead.

    Do yourself a favor, and install macports - it will give you a pretty good mechanism for installing all of the GNU software you've become used to, via a bsd ports, gentoo portage like build mechanism, and has virtually everything you'd be able to select on a RH or ubuntu installation.
  12. macrumors 6502


    Dec 22, 2009
    For some reason Mac Rumors turns Let Me Google That For You into '*'s? Bummer, I never get a chance to use that page. Anyway, home end mac terminal Google Search

    However, I'm with KnightWRX on this one, although I don't use the emacs bindings and use the vim bindings instead, I think the editor bindings to go to the beginning and and end of the line are more convenient, I also suggest learning forward and backward by one word, and by one word separated by white space. Though getting the normal page up and page down are pretty useful in less.
  13. macrumors 65816

    Jul 7, 2011
    For the slow key movement in terminal

    Open up system preferences > keyboard settings

    Adjust the key repeat speed and delay between repeat

    As a heavy vim users the default keyboard repeat speed was also too slow for me

Share This Page