Re: [dev] [st] wide characters

2013-04-13 Thread Christoph Lohmann
Greetings. On Sun, 14 Apr 2013 08:10:22 +0200 Random832 wrote: > I am forced to ask, though, why character cell values are stored in > utf-8 rather than as wchar_t (or as an explicitly unicode int) in the > first place, particularly since the simplest way to detect a wide > character is to cal

Re: [dev] [st] wide characters

2013-04-13 Thread Random832
On 04/13/2013 07:07 PM, Aurélien Aptel wrote: The ISO/IEC 10646:2003 Unicode standard 4.0 says that: "The width of wchar_t is compiler-specific and can be as small as 8 bits. Consequently, programs that need to be portable across any C or C++ compiler should not use wchar_t for storing Unic

Re: [dev] [st] wide characters

2013-04-13 Thread Aurélien Aptel
On Sat, Apr 13, 2013 at 11:17 PM, Random832 wrote: > I am forced to ask, though, why character cell values are stored in utf-8 > rather than as wchar_t (or as an explicitly unicode int) in the first place, > particularly since the simplest way to detect a wide character is to call > the function w

[dev] [st] wide characters

2013-04-13 Thread Random832
I don't mean as in wchar_t, I mean as in characters (generally in East Asian languages) that are meant to take up two character cells. I am forced to ask, though, why character cell values are stored in utf-8 rather than as wchar_t (or as an explicitly unicode int) in the first place, particul

Re: [dev] ii IPv6 support

2013-04-13 Thread William Giokas
On Sat, Apr 13, 2013 at 02:55:08PM +0200, Nico Golde wrote: > Hi, > * William Giokas <1007...@gmail.com> [2013-04-12 03:35]: > > On Fri, Apr 12, 2013 at 09:25:25AM +0800, Patrick Haller wrote: > > > On 2013-04-11 21:17, Carlos Torres wrote: > > > > it was there just a little hidden > > > > http://g

Re: [dev] ii IPv6 support

2013-04-13 Thread Nico Golde
Hi, * William Giokas <1007...@gmail.com> [2013-04-12 03:35]: > On Fri, Apr 12, 2013 at 09:25:25AM +0800, Patrick Haller wrote: > > On 2013-04-11 21:17, Carlos Torres wrote: > > > it was there just a little hidden > > > http://git.suckless.org/sites/tree/tools.suckless.org/ii/patches/ii-ipv6.diff >

[dev] [dmenu][patch] Add mouse support

2013-04-13 Thread Hiltjo Posthuma
Hi fellow suckless people! The attached patch adds mouse support to dmenu. Disclaimer: this patch isn't meant to be included for upstream dmenu since I understand most people won't like mouse support for dmenu and thats OK. Maybe someone might find this useful :) Mouse actions supported: Left-m

Re: [dev] [st] windows port?

2013-04-13 Thread Hugues Moretto-Viry
2013/4/12 Chris Down > On 13 Apr 2013 05:07, "hiro" <23h...@gmail.com> wrote: > > > > can the moralfags please fuck off already? > > > > "Moralfags"? What are you, twelve years old? Kindly go back to 4chan, it's > where you belong with such lacking social skills. > You shouldn't even pay attenti

Re: [dev] Call for pkgsrc users

2013-04-13 Thread Hugues Moretto-Viry
2013/4/13 Jens Staal > Sorry about the late reply. A pkgsrc and musl libc based distro I have been > meaning to try is Snowflake > > https://github.com/GregorR/snowflake > > It seems to have some interesting ideas like "per application view of the > file > system". > > No idea how useable it is a

Re: [dev] [st] pasting to gvim sucks

2013-04-13 Thread Alexander Sedov
2013/4/13 Christoph Lohmann <2...@r-36.net>: > Greetings. > I merged the patches from the list and applied them. St now does on copy > replace ’\r’ with ’\n’ and when it receives some paste item ’\n’ is re‐ > placed with ’\r’. Thanks, that's much better than before! Every combination I'm aware of

Re: [dev] Call for pkgsrc users

2013-04-13 Thread Jens Staal
On Thursday 11 April 2013 12.02.42 Hugues Moretto-Viry wrote: > 2013/4/11 Patrick Haller <201009-suckl...@haller.ws> > > > Anyway, pancake's contributing to voidlinux so I'll try void. Any other > > good rolling release distros? > > Didn't know it. I'll give it a try. Thank you. > > -- > H.Moret

Re: [dev] [st] pasting to gvim sucks

2013-04-13 Thread Christoph Lohmann
Greetings. On Sat, 13 Apr 2013 12:29:08 +0200 p37si...@lavabit.com wrote: > When copying from vim running in st, lots of spaces are copied, but it > is another problem. That’s due to vim using BCE, which will make the remaining line full of whitespaces with the corresponding background color of

Re: [dev] [st] pasting to gvim sucks

2013-04-13 Thread p37sitdu
On Sat, Apr 13, 2013 at 08:53:08AM +0200, Christoph Lohmann wrote: > Greetings. > > On Sat, 13 Apr 2013 08:53:08 +0200 Alexander Sedov > wrote: > > > Maybe pasting to st should be fixed too, so when newlines are pasted, > > > they are translated to ^M. But '\n' should be copied, otherwise pasti

Re: [dev] [st] [PATCH] Clearer cursor style, like xterm

2013-04-13 Thread Christoph Lohmann
Greetings. On Sat, 13 Apr 2013 09:44:47 +0200 Mark Hills wrote: > I find when a window is un-focused that the cursor location looks too > much like display content. > > Please consider this patch, which mimics xterm behaviour by displaying > a hollow rectangle, and makes a saving of one colourma