From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from resqmta-ch2-02v.sys.comcast.net (resqmta-ch2-02v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:34]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 5899477C8D for ; Wed, 27 Jan 2016 22:26:58 -0800 (PST) Received: from resomta-ch2-15v.sys.comcast.net ([69.252.207.111]) by resqmta-ch2-02v.sys.comcast.net with comcast id BJSv1s0032Qkjl901JSyHU; Thu, 28 Jan 2016 06:26:58 +0000 Received: from eklhad ([IPv6:2601:405:4001:e487:21e:4fff:fec2:a0f1]) by resomta-ch2-15v.sys.comcast.net with comcast id BJSy1s0062MDcd701JSypU; Thu, 28 Jan 2016 06:26:58 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke Reply-to: Karl Dahlke User-Agent: edbrowse/3.6.1+ Date: Thu, 28 Jan 2016 01:26:58 -0500 Message-ID: <20160028012658.eklhad@comcast.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1453962418; bh=k8woCu6e7NhuVTV8vZgFlgFEf5UtygOfSoBHHkiJT/o=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=T9nSJSMm+afIQvQTfkb9bwdXOaxrAx55cAzOS35szcLEB6wJT4qOYkMWVEU6wyMqA BQBmZZC8y0+qNIWcLYvdJwH8sTw0cmcIvy7FjwuTi8imnpEmLBVfYzNikPCMG5jPTi tnMdv5DFmVA9fJ2vLo45HOo3+4W+mq1IN6Mu15M1MfEfmA4hxe7Xh4JnYyEAOFHQWu GUL1m3eRkiKyYtAAemx/9ERWMyltBuX+gJAgSEdmulLoaR9CZ40t3d6ekX4kofLzqS NNFzv1FovSqZJ5GNbxgVszqUFCVKh9vjqmtfgeb677jqTj5fTbZYgOyYLaQD7WqrB9 piDjLZmiZfsoQ== Subject: [Edbrowse-dev] emojis and other chars X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jan 2016 06:26:58 -0000 Sometimes I want to paste an emoji into my text. Or maybe even a greek letter or anything somewhat off the board. If I'm writing html it's easy, I can put in γ or look up the unicode for the emoji and write &#x....; Sure no problem but I'm not always writing html. While testing facebook I wanted to send some hearts to my wife in a message, four hearts of different colors, and I literally had to type in the &#x codes for all 4 of them, as I am not an expert at converting unicode to utf8 on the fly. Then I put at the top, then browse, then et to strip out all those internal codes, (don't forget the et command if you do this!), then join the lines together, and then I had my text message with the hearts in place. It works but wow. Would it be worth writing a feature for input processing to do this? Remember that ~xx inserts a byte with that hex code. That's part of input processing every time you type. Even when setting the filename etc. f a~c2~bdb So perhaps ~[green heart] would look through a section of the config file and find the unicode for the green heart and turn it into utf8 and paste it in. Of course I would need to prime the config file with all the emojis and other characters that I care about but I already have such a file for my adapter. The adapter uses it the other way around of course, saying "green heart" when it runs into unicode 1f49a. In a real dream world both edbrowse and the adapter could use the same file. My adapter has the ability to include one file in another in its configuration, so emojis could be their own file, but edbrowse does not have an include directive. And even if all that was done it would benefit me and no one else, since only my adapter, and presumably edbrowse, would share the common format x1f49a green heart Other adapters would use some other syntax whence the file could not be shared. I'm not going to set up these includes just to benefit me. Well I can just maintain the unicode equivalents twice, or write a perl script to keep things in sync or whatever. Or maybe a combination of an edbrowse macro and a shell script could take the line green heart and send it to a script that turns it back into the utf8 and paste that in instead, but edbrowse doesn't have the ability to replace text generated by a shell command. So I'm just bouncing ideas around for now. by the way, my hearts went on Wendy's wall just fine, but I don't see them. facebook does not show them to me on redisplay but others see them. IDK Twitter does everything right in this regard. Karl Dahlke From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (unknown [IPv6:2602:43:5b6:8a00::1]) by hurricane.the-brannons.com (Postfix) with ESMTPSA id F185577CA0 for ; Thu, 28 Jan 2016 00:49:07 -0800 (PST) From: Chris Brannon To: Edbrowse-dev@lists.the-brannons.com References: <20160028012658.eklhad@comcast.net> Date: Thu, 28 Jan 2016 00:49:08 -0800 In-Reply-To: <20160028012658.eklhad@comcast.net> (Karl Dahlke's message of "Thu, 28 Jan 2016 01:26:58 -0500") Message-ID: <87mvrq143f.fsf@mushroom.localdomain> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Edbrowse-dev] emojis and other chars X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jan 2016 08:49:08 -0000 There's another way to enter high unicodes. Hold the alt key, and type out the character's decimal value on the numeric keypad. It's kind of cumbersome, since we usually use hex when dealing with high unicode, but it works. -- Chris From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from resqmta-ch2-01v.sys.comcast.net (resqmta-ch2-01v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:33]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 136FB77C9F for ; Thu, 28 Jan 2016 03:18:24 -0800 (PST) Received: from resomta-ch2-16v.sys.comcast.net ([69.252.207.112]) by resqmta-ch2-01v.sys.comcast.net with comcast id BPJQ1s0032S2Q5R01PJQS3; Thu, 28 Jan 2016 11:18:24 +0000 Received: from eklhad ([IPv6:2601:405:4001:e487:21e:4fff:fec2:a0f1]) by resomta-ch2-16v.sys.comcast.net with comcast id BPJQ1s0062MDcd701PJQuy; Thu, 28 Jan 2016 11:18:24 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke Reply-to: Karl Dahlke References: <20160028012658.eklhad@comcast.net> <87mvrq143f.fsf@mushroom.localdomain> User-Agent: edbrowse/3.6.1+ Date: Thu, 28 Jan 2016 06:18:24 -0500 Message-ID: <20160028061824.eklhad@comcast.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1453979904; bh=gI99dzz7i4lXxUwYSUiVmad97hza7XeKbxeUpScQCSs=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=sxMk/Wdp9VYh3pSoPBbG0nHN6XlD9tveaIBdM8Fz8lVXlRx0jPwlEmopD8kmfsrm1 TbfS4dEAlRCWOUrkAtvaG/xkPWtrEsRFjw3z1k7QNoxSfjIBAF/P3lxsoE+riU7eA9 Y9XuIqMoIJpbrv6Yje2ysLY4VrDBwOMbwNLZD3OlOgABgwBYhuhpLWnwVl0x/i4I2N MvWFQl/Hy6mRKO7yqgh9u01A8latm2FKOVZxK4UtD3xcvtl0ZJL5ZQOFKhYkX4YrJl qPRjN7v6lC0cntUqUXnyWK9QLRlnYs9XgTwjIDTyO2PoP2Xu66hXExcBKILR+VvaVV Domxt9Dg3fzZA== Subject: [Edbrowse-dev] emojis and other chars X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jan 2016 11:18:24 -0000 > Hold the alt key, and type out the character's decimal value Yeah I thought something like that, but does that work on bsd? On Windows? I wanted something that was easy (preferably hex) and also portable, and could even work from within an edbrowse script etc. Karl Dahlke From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (unknown [IPv6:2602:43:5b6:8a00::1]) by hurricane.the-brannons.com (Postfix) with ESMTPSA id C17B677C8F for ; Thu, 28 Jan 2016 03:58:26 -0800 (PST) From: Chris Brannon To: Edbrowse-dev@lists.the-brannons.com References: <20160028012658.eklhad@comcast.net> <87mvrq143f.fsf@mushroom.localdomain> <20160028061824.eklhad@comcast.net> Date: Thu, 28 Jan 2016 03:58:28 -0800 In-Reply-To: <20160028061824.eklhad@comcast.net> (Karl Dahlke's message of "Thu, 28 Jan 2016 06:18:24 -0500") Message-ID: <87egd129wb.fsf@mushroom.localdomain> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Edbrowse-dev] emojis and other chars X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jan 2016 11:58:27 -0000 Karl Dahlke writes: > Yeah I thought something like that, but does that work on bsd? On Windows? > I wanted something that was easy (preferably hex) and also portable, Well I'm pretty sure it works on Windows. I don't know about BSD. It definitely wouldn't work well on Mac, even if the OS happened to support it, because Apple keyboards lack numpads. -- Chris