Re: [dev] [st] [PATCH] 8bit-meta like xterm

2013-08-01 Thread Roberto E. Vargas Caballero
On Fri, Jul 26, 2013 at 10:11:08PM +, Mihail Zenkov wrote: > This changes break alt+i/alt+o/alt+p/etc in mc. It depends of the configuration of your system and the applications you are using. In ther terminfo entry we don't have the km entry, but we have rmm and smm. From my view point an app

Re: [dev] [st] [PATCH] 8bit-meta like xterm

2013-07-26 Thread Mihail Zenkov
This changes break alt+i/alt+o/alt+p/etc in mc.

Re: [dev] [st] [PATCH] 8bit-meta like xterm

2013-04-23 Thread Anthony J. Bentley
Thorsten Glaser writes: > >I think it is easier a compose key, which allows you define non ascii > >characteres using keystrokes (compose-key ' a -> á). This is the solution > >use in my USA keyboard and could generate spanish accents. > > Sure, that works too, and I use it for things like ① but C

Re: [dev] [st] [PATCH] 8bit-meta like xterm

2013-04-23 Thread Roberto E. Vargas Caballero
> The nice thing about ASCII and the QWERTY layout is that it has > all ASCII characters easily available, so you can enter *all* > latin1-subset-of-Unicode characters with just it. Because all the latin1 symbols begin from a0, that is the smaller value you can generate using a meta key, because 2

Re: [dev] [st] [PATCH] 8bit-meta like xterm

2013-04-23 Thread Thorsten Glaser
Roberto E. Vargas Caballero dixit: >It is the expected behaviour. As far as I know the first keyboard with meta >key was space-cadet keyboard (look it in Ah okay, thanks for the historic backup! >meta codes you have it configured for it (or maybe your xterm has a >different default configuration

Re: [dev] [st] [PATCH] 8bit-meta like xterm

2013-04-23 Thread Christoph Lohmann
Greetings. On Tue, 23 Apr 2013 17:49:38 +0200 Thorsten Glaser wrote: > Gregor Best dixit: > > >are added to your keyboard layout. Works fine with st, and the regular > >"Left alt sends escape"-behaviour stays the same (and works fine with > >irssi and the like). > > On the BSD text console and

Re: [dev] [st] [PATCH] 8bit-meta like xterm

2013-04-23 Thread Thorsten Glaser
Gregor Best dixit: >are added to your keyboard layout. Works fine with st, and the regular >"Left alt sends escape"-behaviour stays the same (and works fine with >irssi and the like). On the BSD text console and in default XTerm, the left Alt key acts as 8-bit enabling Meta key, so it’s *not* the

Re: [dev] [st] [PATCH] 8bit-meta like xterm

2013-04-23 Thread Thorsten Glaser
random...@fastmail.us dixit: >If this were an intended feature why would it elevate latin-1 over other >unicode characters? This only proves my point. It doesn’t – it’s just that latin1 is the first 256 chars of Unicode by accident (or design, don’t know, ask the Unicode people). And this Meta/8

Re: [dev] [st] [PATCH] 8bit-meta like xterm

2013-04-23 Thread Roberto E. Vargas Caballero
> > No, it is the intended behaviour. > > http://fsinfo.noone.org/~abe/typing-8bit.html > > The fact that someone discovered it, _thought_ it was intended, and > showed other people how to do it does not mean that it actually was > intended. It is the expected behaviour. As far as I know the first

Re: [dev] [st] [PATCH] 8bit-meta like xterm

2013-04-23 Thread Gregor Best
On Tue, Apr 23, 2013 at 02:30:29PM +, Thorsten Glaser wrote: > [...] > XTerm handles that transparently: when in UTF-8 mode, Meta-d > is still CHR$(ASC("d")+128) = "ä", just U+00E4 instead of a > raw '\xE4' octet. > > This is *extremely* useful – especially as it leads people > away from natio

Re: [dev] [st] [PATCH] 8bit-meta like xterm

2013-04-23 Thread random832
On Tue, Apr 23, 2013, at 10:30, Thorsten Glaser wrote: > random...@fastmail.us dixit: > > >Wait a minute... what exactly do you _expect_ meta to do? Using (for > >example) meta-a to type 0xE1 "a with acute" is _not_, in fact, the > >expected or intended behavior; it is a bug. And I don't think it

Re: [dev] [st] [PATCH] 8bit-meta like xterm

2013-04-23 Thread Thorsten Glaser
random...@fastmail.us dixit: >Wait a minute... what exactly do you _expect_ meta to do? Using (for >example) meta-a to type 0xE1 "a with acute" is _not_, in fact, the >expected or intended behavior; it is a bug. And I don't think it will No, it is the intended behaviour. http://fsinfo.noone.org/~

Re: [dev] [st] [PATCH] 8bit-meta like xterm

2013-04-23 Thread Otto Modinos
Using the latest from git and tput smm everything works fine. Thank you very much. That got me wondering though. Since there exists such a terminfo capability, why do apps that except 8bit-as-meta, don't use them? On 23 April 2013 16:23, Christoph Lohmann <2...@r-36.net> wrote: > Greetings. > >

Re: [dev] [st] [PATCH] 8bit-meta like xterm

2013-04-23 Thread Christoph Lohmann
Greetings. On Tue, 23 Apr 2013 15:23:59 +0200 "Roberto E. Vargas Caballero" wrote: > On Tue, Apr 23, 2013 at 10:50:32AM +0200, Christoph Lohmann wrote: > The unique problem is utf8 encoding will put the 8 bit to 1 in some > characters, so it is not very clear for me like applications can differe

Re: [dev] [st] [PATCH] 8bit-meta like xterm

2013-04-23 Thread Otto Modinos
No I mean when binding a key to meta, it doesn't work. I have and for example to move lines up and down and well, it doesn't work when sending an escape sequence as meta. On 23 April 2013 15:23, wrote: > ** > On Tue, Apr 23, 2013, at 7:51, Otto Modinos wrote: > > It means first of all vim. I

Re: [dev] [st] [PATCH] 8bit-meta like xterm

2013-04-23 Thread Кротов Александр
On Tue, Apr 23, 2013 at 08:23:22AM -0400, random...@fastmail.us wrote: > Huh? Vim doesn't have any keybindings that use meta. You can bind them.

Re: [dev] [st] [PATCH] 8bit-meta like xterm

2013-04-23 Thread random832
On Tue, Apr 23, 2013, at 7:51, Otto Modinos wrote: It means first of all vim. I have also tried mocp, and that didn't work either. What apps are you using that work? Huh? Vim doesn't have any keybindings that use meta. Wait a minute... what exactly do you _expect_ meta to do? Using (for exam

Re: [dev] [st] [PATCH] 8bit-meta like xterm

2013-04-23 Thread Roberto E. Vargas Caballero
On Tue, Apr 23, 2013 at 02:51:58PM +0300, Otto Modinos wrote: >It means first of all vim. I have also tried mocp, and that didn't work >either. What apps are you using that work? All the applications which admit a meta-key should accept 8bit, that is the real meaning of meta. Send ESC ins

Re: [dev] [st] [PATCH] 8bit-meta like xterm

2013-04-23 Thread Roberto E. Vargas Caballero
On Tue, Apr 23, 2013 at 10:50:32AM +0200, Christoph Lohmann wrote: > Greetings. > > On Tue, 23 Apr 2013 10:50:32 +0200 Otto Modinos wrote: > > Howdy Comrades. > > I'm new to this mailing list. > > Just found st couple of days back and really loved it. It lacked however > > the ability to send Meta

Re: [dev] [st] [PATCH] 8bit-meta like xterm

2013-04-23 Thread Otto Modinos
It means first of all vim. I have also tried mocp, and that didn't work either. What apps are you using that work? On 23 April 2013 14:46, Random832 wrote: > On 04/23/2013 04:50 AM, Christoph Lohmann wrote: > >> I am considering making this the default behaviour of st. Are there any >> argumen

Re: [dev] [st] [PATCH] 8bit-meta like xterm

2013-04-23 Thread Random832
On 04/23/2013 04:50 AM, Christoph Lohmann wrote: I am considering making this the default behaviour of st. Are there any arguments against it? I'm actually confused by what he means by "most of the apps I tried didn't recognize the escape sequence", because every app I've ever used recognizes

Re: [dev] [st] [PATCH] 8bit-meta like xterm

2013-04-23 Thread Christoph Lohmann
Greetings. On Tue, 23 Apr 2013 10:50:32 +0200 Otto Modinos wrote: > Howdy Comrades. > I'm new to this mailing list. > Just found st couple of days back and really loved it. It lacked however > the ability to send Meta as the 8th bit, the way xterm does. I needed this > because most of the apps I

Re: [dev] [st] [PATCH] 8bit-meta like xterm

2013-04-22 Thread Raphaël Proust
On Mon, Apr 22, 2013 at 11:38 AM, Otto Modinos wrote: > Hope you can merge it in st mainline, or at least added in as a patch in the > site. Don't know about merging into mainline (not the maintainer) but as far as publishing the patch on the site you can do it yourself: http://suckless.org/wiki

[dev] [st] [PATCH] 8bit-meta like xterm

2013-04-22 Thread Otto Modinos
Howdy Comrades. I'm new to this mailing list. Just found st couple of days back and really loved it. It lacked however the ability to send Meta as the 8th bit, the way xterm does. I needed this because most of the apps I tried didn't recognize the escape sequence st was using. So this little patch