Re: [dev] Learn C

2019-03-24 Thread Stefan Hagen

Thuban wrote:

I want to learn C.


Kernighan and Ritchie, C Programming Language, 2nd Edition


I mean, sane C.

http://suckless.org/coding_style/
http://suckless.org/philosophy/
http://www.catb.org/esr/writings/taoup/html/ch01s06.html

HTH,
Stefan



Re: [dev] [st] Emojis

2017-09-17 Thread Stefan Hagen

* Stefan Hagen wrote:

I'm doing exactly this.  This is mutt in st (top) and termite (bottom).
https://shell.srv.hagen.coffee/~sdk/screenshots/2017-09-17_19-38-46.png

Are you sure the font you're using supports these characters?


Adding some details:

.muttrc:
 set charset = "utf-8"
 set assumed_charset = "utf-8"

.screenrc
 defutf8 on
 defencoding utf8

env | grep LANG
 LANG=en_US.UTF-8

Font used in st: FuraCore Nerd Font
https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/FiraCode

Best Regards,
Stefan



Re: [dev] [st] Emojis

2017-09-17 Thread Stefan Hagen

Hi Janne,

* Janne Heß wrote:

I just wanted to ask if anyone has managed to properly display emojis in st.
I know this is potentially sucky feature, but I read my mail in mutt and
some companies think it's a good idea to put emojis into their subjects.
Currently, it looks like the emojis consisting of 2 characters escape
the character grid. I'm not sure if this is a bug or just a
not-implemented feature.

Is there anybody here who has experience with displaying such characters
in st?


I'm doing exactly this. This is mutt in st (top) and termite (bottom).
https://shell.srv.hagen.coffee/~sdk/screenshots/2017-09-17_19-38-46.png

Are you sure the font you're using supports these characters?

Best Regards,
Stefan



Re: [dev] st copyurl patch broken link

2017-08-12 Thread Stefan Hagen

Adding Matthew (CC)

* Hiltjo Posthuma wrote:

Feel free to change it and push it to the site: git.suckless.org/sites

It seems this cleanup commit broke it:
http://git.suckless.org/sites/commit/?id=b3bed969dff3f14ba47e85db2f5820991ff38c2d


Unfortunately not. The copyurl/index.md got updated with commit 
1543a443ad5f6254b82451b07a55a27308cfb125.


It added links to:
 - st-copyurl-0.7.diff
 - st-copyurl-20170802-e2ee5ee.diff

However, the diffs itself were no part of this commit, nor part of earlier or 
later commits. For now, I have removed the dead links from the website.


@Matthew: Do you still have the current copyurl patches? I think you missed to 
include them into the above commit.


Best Regards,
Stefan



[dev] st copyurl patch broken link

2017-08-12 Thread Stefan Hagen

Hello,

I want to report that the latest website[1] link[2] to the st copyurl patch is 
broken.


Best Regards,
Stefan

[1] http://st.suckless.org/patches/copyurl/
[2] http://st.suckless.org/patches/copyurl/st-copyurl-20170802-e2ee5ee.diff