René's URL Explorer Experiment


Title: %paste does not retrieve clipboard contents under screen/tmux on OS X · Issue #2253 · ipython/ipython · GitHub

Open Graph Title: %paste does not retrieve clipboard contents under screen/tmux on OS X · Issue #2253 · ipython/ipython

X Title: %paste does not retrieve clipboard contents under screen/tmux on OS X · Issue #2253 · ipython/ipython

Description: ipython --quick inside either tmux or screen (bug seen in both screen and tmux, in 0.14.dev 079f8ed as well as rel-0.13, but not rel-0.12) Copy text to clipboard %paste This fails to retrieve text from the clipboard under OS X 10.6.8. In...

Open Graph Description: ipython --quick inside either tmux or screen (bug seen in both screen and tmux, in 0.14.dev 079f8ed as well as rel-0.13, but not rel-0.12) Copy text to clipboard %paste This fails to retrieve text ...

X Description: ipython --quick inside either tmux or screen (bug seen in both screen and tmux, in 0.14.dev 079f8ed as well as rel-0.13, but not rel-0.12) Copy text to clipboard %paste This fails to retrieve text ...

Opengraph URL: https://github.com/ipython/ipython/issues/2253

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"%paste does not retrieve clipboard contents under screen/tmux on OS X","articleBody":"1. `ipython --quick` inside either tmux or screen (bug seen in both screen and tmux, in 0.14.dev 079f8edc2bb42d1c6ce3f0033cacd4030c0bd29a as well as rel-0.13, but not rel-0.12)\n2. Copy text to clipboard\n3. `%paste`\n4. This fails to retrieve text from the clipboard under OS X 10.6.8. In recent ipython the empty paste throws the exception seen below (see #2252)\n\n```\n~ env | grep screen\nTERM=screen\n~ ipython --quick\nPython 2.7.2 (default, Aug  4 2011, 16:59:19)\nType \"copyright\", \"credits\" or \"license\" for more information.\n\nIPython 0.14.dev -- An enhanced Interactive Python.\n?         -\u003e Introduction and overview of IPython's features.\n%quickref -\u003e Quick reference.\nhelp      -\u003e Python's own help system.\nobject?   -\u003e Details about 'object', use 'object??' for extra details.\n\nIn [1]: import IPython ; IPython.__version__\nOut[1]: '0.14.dev'\n\nIn [2]: a = 1  # I used cmd-v to paste this\n\nIn [3]: %paste\n\n\n## -- End pasted text --\n---------------------------------------------------------------------------\nIndexError                                Traceback (most recent call last)\n\u003cipython-input-3-da94f22893b1\u003e in \u003cmodule\u003e()\n----\u003e 1 get_ipython().magic(u'paste')\n\n/Users/davison/lib/python/ipython/IPython/core/interactiveshell.py in magic(self, arg_s)\n   2167         magic_name, _, magic_arg_s = arg_s.partition(' ')\n   2168         magic_name = magic_name.lstrip(prefilter.ESC_MAGIC)\n-\u003e 2169         return self.run_line_magic(magic_name, magic_arg_s)\n   2170\n   2171     #-------------------------------------------------------------------------\n\n/Users/davison/lib/python/ipython/IPython/core/interactiveshell.py in run_line_magic(self, magic_name, line)\n   2093                 args.append(sys._getframe(stack_depth).f_locals)\n   2094             with self.builtin_trap:\n-\u003e 2095                 result = fn(*args)\n   2096             return result\n   2097\n\n/Users/davison/lib/python/ipython/IPython/frontend/terminal/interactiveshell.py in paste(self, parameter_s)\n\n/Users/davison/lib/python/ipython/IPython/core/magic.py in \u003clambda\u003e(f, *a, **k)\n    189     # but it's overkill for just that one bit of state.\n    190     def magic_deco(arg):\n--\u003e 191         call = lambda f, *a, **k: f(*a, **k)\n    192\n    193         if callable(arg):\n\n/Users/davison/lib/python/ipython/IPython/frontend/terminal/interactiveshell.py in paste(self, parameter_s)\n    288             write(\"## -- End pasted text --\\n\")\n    289\n--\u003e 290         self.store_or_execute(block, name)\n    291\n    292     # Class-level: add a '%cls' magic only on Windows\n\n/Users/davison/lib/python/ipython/IPython/frontend/terminal/interactiveshell.py in store_or_execute(self, block, name)\n    151         \"\"\" Execute a block, or store it in a variable, per the user's request.\n    152         \"\"\"\n--\u003e 153         b = self.cleanup_input(block)\n    154         if name:\n    155             # If storing it for further editing\n\n/Users/davison/lib/python/ipython/IPython/frontend/terminal/interactiveshell.py in cleanup_input(self, block)\n    117         # Remove email quotes first.  These must be consistently applied to\n    118         # *all* lines to be removed\n--\u003e 119         b = strip_email_quotes(b)\n    120\n    121         # Split the input into independent sub-blocks so we can later do\n\n/Users/davison/lib/python/ipython/IPython/utils/text.py in strip_email_quotes(text)\n    600             break\n    601     else:\n--\u003e 602         prefix = long_substr(list(matches))\n    603         if prefix:\n    604             strip = len(prefix)\n\n/Users/davison/lib/python/ipython/IPython/utils/text.py in long_substr(data)\n    555                     substr = data[0][i:i+j]\n    556     else:\n--\u003e 557         substr = data[0]\n    558     return substr\n    559\n\nIndexError: list index out of range\n```\n","author":{"url":"https://github.com/dandavison","@type":"Person","name":"dandavison"},"datePublished":"2012-08-04T22:10:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/2253/ipython/issues/2253"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:69c1c160-560a-8c5c-95c8-fb791ff8c046
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCAD4:2C8354:315C77D:4720381:6A552D3A
html-safe-nonce379f82a8e99ed66b09d2f50142b2d3e347e8bd42ad34d8f51e278dc7be4af34b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQUQ0OjJDODM1NDozMTVDNzdEOjQ3MjAzODE6NkE1NTJEM0EiLCJ2aXNpdG9yX2lkIjoiMTcxMzU2Mjk4NzkwNDk3MDA0MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc20e9fca08c6d1f3d4acb8814a8a1311e6f4d278e88232f3280fdd385def0c91
hovercard-subject-tagissue:6033196
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ipython/ipython/2253/issue_layout
twitter:imagehttps://opengraph.githubassets.com/299f0aef3955adfdcf9b088ebc5f957128e0edd8ad0171ea3f02d9f68b21c4cd/ipython/ipython/issues/2253
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/299f0aef3955adfdcf9b088ebc5f957128e0edd8ad0171ea3f02d9f68b21c4cd/ipython/ipython/issues/2253
og:image:altipython --quick inside either tmux or screen (bug seen in both screen and tmux, in 0.14.dev 079f8ed as well as rel-0.13, but not rel-0.12) Copy text to clipboard %paste This fails to retrieve text ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedandavison
hostnamegithub.com
expected-hostnamegithub.com
Nonefbd8fce4d63ac394c5405faa20aa50d5c9e56b979ac43ee1b26f8e7c47c4cd89
turbo-cache-controlno-preview
go-importgithub.com/ipython/ipython git https://github.com/ipython/ipython.git
octolytics-dimension-user_id230453
octolytics-dimension-user_loginipython
octolytics-dimension-repository_id658518
octolytics-dimension-repository_nwoipython/ipython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id658518
octolytics-dimension-repository_network_root_nwoipython/ipython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecf96660b44878f418b09d3d6ecde00ad62332910
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/ipython/ipython/issues/2253#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fipython%2Fipython%2Fissues%2F2253
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fipython%2Fipython%2Fissues%2F2253
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=ipython%2Fipython
Reloadhttps://github.com/ipython/ipython/issues/2253
Reloadhttps://github.com/ipython/ipython/issues/2253
Reloadhttps://github.com/ipython/ipython/issues/2253
Please reload this pagehttps://github.com/ipython/ipython/issues/2253
ipython https://github.com/ipython
ipythonhttps://github.com/ipython/ipython
Please reload this pagehttps://github.com/ipython/ipython/issues/2253
Notifications https://github.com/login?return_to=%2Fipython%2Fipython
Fork 4.5k https://github.com/login?return_to=%2Fipython%2Fipython
Star 16.7k https://github.com/login?return_to=%2Fipython%2Fipython
Code https://github.com/ipython/ipython
Issues 1.3k https://github.com/ipython/ipython/issues
Pull requests 28 https://github.com/ipython/ipython/pulls
Actions https://github.com/ipython/ipython/actions
Projects https://github.com/ipython/ipython/projects
Wiki https://github.com/ipython/ipython/wiki
Security and quality 2 https://github.com/ipython/ipython/security
Insights https://github.com/ipython/ipython/pulse
Code https://github.com/ipython/ipython
Issues https://github.com/ipython/ipython/issues
Pull requests https://github.com/ipython/ipython/pulls
Actions https://github.com/ipython/ipython/actions
Projects https://github.com/ipython/ipython/projects
Wiki https://github.com/ipython/ipython/wiki
Security and quality https://github.com/ipython/ipython/security
Insights https://github.com/ipython/ipython/pulse
%paste does not retrieve clipboard contents under screen/tmux on OS Xhttps://github.com/ipython/ipython/issues/2253#top
no actionhttps://github.com/ipython/ipython/milestone/11
https://github.com/dandavison
dandavisonhttps://github.com/dandavison
on Aug 4, 2012https://github.com/ipython/ipython/issues/2253#issue-6033196
079f8edhttps://github.com/ipython/ipython/commit/079f8edc2bb42d1c6ce3f0033cacd4030c0bd29a
%paste throws an exception with empty clipboard #2252https://github.com/ipython/ipython/issues/2252
no actionNo due datehttps://github.com/ipython/ipython/milestone/11
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.