-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not work with osx 10.5.8 #4
Comments
I would have expected it to work correctly under 10.5, but I have never had a version of Leopard to test against.
If you want to experiment, the test program included with the code offers ways to emulate various situations (e.g. the post- The core technique that I use in reattach-to-user-namespace is the same thing that the Apple-patched, 10.5-bundled version of screen does: call |
Hi Chris,
|
This is a result of the test command:
|
The temporary appearance of The wrapper and test programs have error/warning messages for pretty much every possible error situation; so, apparently, none of the functions they call (including Here are some “sanity checks” and possible avenues for investigation:
Verifying System-Installed FilesI think Pacifist can verify system files against their receipts, but I have never used it. Here is how I would do it from the command line: If1 you have the “receipts” for your OS installation and updates, then you can extract the expected checksums for
( On a 10.6 system, I get this output:
From this, I can see that
What you want to look for is that the last two columns are identical from the receipts output. Here is the output from the same 10.6 system:
The middle column is different because my user owns the copies of the files instead of root, but the last two columns match the ones from the 10.6.5 combo updater receipt. |
1.1 pbcopy is working fine in "plain" terminal window, also in the vim running from terminal window. 1.2. Both pbcopy and pbpaste are in /usr/bin: $ which pbcopy 1.3 This is the output that I got:
1.4. I am using MacVim version, in plain terminal system clipboard does work
https://github.com/mxcl/homebrew/blob/master/Library/Formula/tmux.rb Thanks again for your help. Maybe it is worth to notice that under |
Thanks for verifying the fundamentals. Everything looks reasonable:
It does seem odd that you can not use the pasteboard inside the Apple-supplied screen though ( The fact that So, here is another experiment (to be run outside of tmux):
The first one should work since it avoids the problematic bit of Looking at the 10.5 launchctl(8) manpage indicates that it supports the You should seen an entry for the pasteboard service when you run the command outside of tmux.
When you emulate running it inside of tmux (or actually run in inside tmux), the service should no longer be accessible:
You will probably see a reported exit code of 1 (because grep did not find any matching lines). You might as well try it with the post-daemon(3) call to
You could also try it without any daemon(3) call to see if
The It seems that Apple only every released one version of screen for Leopard: 10.5 through 10.5.8 all use screen-12. So, overall, there are no good leads at to what might have changed between Leopard releases that might have caused a change in this behavior. Okay, one more shot in the dark: Can you create a fresh user on the system, login to that user through the GUI (i.e. the normal OS login screen), and try some of this stuff under that user? Maybe some bit of user-specific configuration is keeping it from working. This seems unlikely, but it is a fairly easy thing to eliminate. |
Here are outputs from commands above:
I am going to create new user now to test with fresh settings. By the way I didn't reinsatll
|
I just tested another osx 10.5.8 machine, this one is clean from 3rd party libraries (such as macports, etc.). When I started That leads me to think that osx 10.5.8 or some earlier update changed something in the way that broke their own patch around problem and it does not allow your workaround to be working. |
Since It is a bit odd that The screen version numbers you reported match those in the source code Apple published for its 10.5 screen, so it is probably “stock”. You could check it against the receipts if you wanted extra assurance, though. It is unfortunate that the system-supplied screen does not work; it was probably the best hope for finding a workaround. I am out of ideas for now. I’ll keep the situation in mind though, maybe I’ll think of something else to test or try. |
Have filled issue report on Apple website. Thanks once more for your work. |
Is it possible to use this wrapper with osx 10.5.8?
The text was updated successfully, but these errors were encountered: