{"ygPerms":{"resourceCapabilityList":[{"resourceType":"GROUP","capabilities":[{"name":"UPDATE"},{"name":"READ"},{"name":"WELCOME_MSG"},{"name":"PENDING_COUNT"},{"name":"ACTIVITY_LOGS"}]},{"resourceType":"PHOTO","capabilities":[{"name":"READ"},{"name":"READ"},{"name":"UPLOAD"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"COPY"},{"name":"MOVE"},{"name":"APPROVE"},{"name":"UPLOADTEMP"},{"name":"GROUPCOVER"}]},{"resourceType":"FILE","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"AUTO_SEND"}]},{"resourceType":"MEMBER","capabilities":[{"name":"READ"},{"name":"READ"},{"name":"EDIT_MODERATOR"},{"name":"DELETE"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"BAN"}]},{"resourceType":"LINK","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"MOVE_LINK"}]},{"resourceType":"CALENDAR","capabilities":[{"name":"READ"}]},{"resourceType":"DATABASE","capabilities":[{"name":"CREATE"},{"name":"READ"},{"name":"READ_DATA"}]},{"resourceType":"POLL","capabilities":[{"name":"READ"},{"name":"VOTE"},{"name":"UPDATE"},{"name":"CREATE"},{"name":"DELETE"},{"name":"CLOSE"}]},{"resourceType":"MESSAGE","capabilities":[{"name":"CREATE"},{"name":"READ"},{"name":"DELETE"}]},{"resourceType":"PENDING_MESSAGE","capabilities":[{"name":"READ"},{"name":"UPDATE"},{"name":"DELETE"}]},{"resourceType":"ATTACHMENTS","capabilities":[{"name":"READ"},{"name":"DELETE"}]},{"resourceType":"PHOTOMATIC_ALBUMS","capabilities":[{"name":"READ"},{"name":"UPLOAD"}]},{"resourceType":"MEMBERSHIP_TYPE","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"DELETE"},{"name":"UPDATE"}]},{"resourceType":"POST","capabilities":[{"name":"CREATE"},{"name":"DELETE"},{"name":"READ"},{"name":"UPDATE"}]},{"resourceType":"PIN","capabilities":[{"name":"CREATE"},{"name":"DELETE"},{"name":"READ"},{"name":"UPDATE"}]}],"modStatus":"MODERATOR","subStatus":"NORMAL","groupUrl":"groups.yahoo.com","intlCode":"us"},"comscore":"pageview_candidate","ygData":{"userId":160992147,"authorName":"Tiago Saboga","from":"Tiago Saboga &lt;tiagosaboga@terra.com.br&gt;","profile":"tiagosab","replyTo":"LIST","senderId":"TE9knPsZGoUXHVwnVi7nnu8R1qWCb2VXQl8npdTgi-HfdiVKleyDtBAvm8F9hXPvgxthm6bTfKycZ_WwIwKfPrTvTKjNDkhIlQfYE2D7","spamInfo":{"isSpam":false,"reason":"0"},"subject":"Re: [OmT] A tool for adding to your glossary on the go for Linux","postDate":"1186336104","msgId":8745,"canDelete":true,"contentTrasformed":false,"systemMessage":false,"headers":{"messageIdInHeader":"PDIwMDcwODA1MTc0ODI0LkdDMTcwNjVAbG9jYWxkb21haW4+","inReplyToHeader":"PDIwMDcwODA1MDA0NzQ2LkdCMTcwNjVAbG9jYWxkb21haW4+","referencesHeader":"PGY5MnM4dSsxMDZsNkBlR3JvdXBzLmNvbT4gPDIwMDcwODA1MDA0NzQ2LkdCMTcwNjVAbG9jYWxkb21haW4+"},"prevInTopic":8741,"nextInTopic":0,"prevInTime":8744,"nextInTime":8746,"topicId":8735,"numMessagesInTopic":6,"msgSnippet":"... If it can be useful to someone, why not sharing it? I can send you my two python scripts to deal with the problem. This is just a quick hack, so please be","rawEmail":"Return-Path: &lt;tiagosaboga@terra.com.br&gt;\r\nX-Sender: tiagosaboga@terra.com.br\r\nX-Apparently-To: OmegaT@yahoogroups.com\r\nReceived: (qmail 59840 invoked from network); 5 Aug 2007 17:48:29 -0000\r\nReceived: from unknown (66.218.67.33)\n  by m44.grp.scd.yahoo.com with QMQP; 5 Aug 2007 17:48:29 -0000\r\nReceived: from unknown (HELO sr02-06.mta.terra.com.br) (200.154.152.35)\n  by mta7.grp.scd.yahoo.com with SMTP; 5 Aug 2007 17:48:28 -0000\r\nReceived: from tanunda.hst.terra.com.br (tanunda.hst.terra.com.br [200.176.10.8])\n\tby bundure.hst.terra.com.br (Postfix) with ESMTP id 31DF8306412F;\n\tSun,  5 Aug 2007 14:48:27 -0300 (BRT)\r\nX-Terra-Karma:         -2%\r\nX-Terra-Hash: 3bde122f5e3d5a6dfa79e5328d5f28d8\r\nReceived-SPF: pass (tanunda.hst.terra.com.br: domain of terra.com.br designates 200.176.10.8 as permitted sender) client-ip=200.176.10.8; envelope-from=tiagosaboga@terra.com.br; helo=sofocles;\r\nReceived: from sofocles (unknown [189.25.12.41])\n\t(authenticated user tiagosaboga)\n\tby tanunda.hst.terra.com.br (Postfix) with ESMTP id EC4933A0078;\n\tSun,  5 Aug 2007 14:48:26 -0300 (BRT)\r\nDate: Sun, 5 Aug 2007 14:48:24 -0300\r\nTo: OmegaT@yahoogroups.com\r\nMessage-ID: &lt;20070805174824.GC17065@localdomain&gt;\r\nMail-Followup-To: OmegaT@yahoogroups.com\r\nReferences: &lt;f92s8u+106l6@eGroups.com&gt; &lt;20070805004746.GB17065@localdomain&gt;\r\nMIME-Version: 1.0\r\nContent-Type: text/plain; charset=us-ascii\r\nContent-Disposition: inline\r\nIn-Reply-To: &lt;20070805004746.GB17065@localdomain&gt;\r\nUser-Agent: Mutt/1.5.16 (2007-06-11)\r\nX-Originating-IP: 200.154.152.35\r\nX-eGroups-Msg-Info: 1:0:0:0\r\nFrom: Tiago Saboga &lt;tiagosaboga@terra.com.br&gt;\r\nSubject: Re: [OmT] A tool for adding to your glossary on the go for Linux\r\nX-Yahoo-Group-Post: member; u=160992147; y=0CDaCQ9c2urqmvaY0nqC2gffwglgaQQ-75XbRDtJ_f0a66Q\r\nX-Yahoo-Profile: tiagosab\r\n\r\nOn Sat, Aug 04, 2007 at 09:47:46PM -0300, Tiago Saboga wrote:\n&gt; On Sat, Aug 04, 2007 at 09:49:18PM -0000, jurijt wrote:\n&gt; &gt; I&#39;ve searched through previous threads and all that I could find is\n&gt; &gt; some tool for Windows, but that doesn&#39;t help me much.\n&gt; &gt; \n&gt; &gt; Had anyone programmed a Linux application for this purpose?\n&gt; \n&gt; I don&#39;t of any one. I have even started doing so in python, but as I\n&gt; was learning java and I need some real word experience, I decided to\n&gt; do it inside OmegaT. But it will take some time (a few months, I\n&gt; believe), except, of course, if somebody else does it before ;)\n\nIf it can be useful to someone, why not sharing it? I can send you my\ntwo python scripts to deal with the problem. This is just a quick\nhack, so please be very careful with your data.\n\nSystem requirements:\nYou must have python (tested with 2.4) and xclip in your path.\n\nInstructions:\n\n1) Unpack the two scripts somewhere;\n2) Edit them with your favorite text editor:\n   a) you must change the &#39;glosfile&#39; variable in clipglos.py\n   b) you can, if you need to, change the &#39;socketfile&#39; variable; it\n   should point to the same (non existant) file in both scripts.\n   c) if you have encoding problems, change the encoding variable in\n   putit.py\n3) Make the two scripts executable:\n   $ chmod +x putit.py clipglos.py\n4) Run clipglos.py in a dedicated xterm:\n   ./clipglos.py\n5) Select the sourceterm in omegat (or anywhere else) and copy it to\n   the system clipboard with ctrl-c (just selecting does not work,\n   because xclip has problems with encoding).\n6) Run putit.py (from the command line or possibly from a keybinding;\n   see your window manager instructions or xbindkeys)\n7) Repeat steps 5 and 6 with the target term.\n\nIf after reading the instructions you are still interested, please\nmail me privately and I will send you the two scripts. \n\nTiago.\n\n"}}