[dev] [PATCH] Fix a typo in surf manual.

2015-01-02 Thread Jakukyo Friel
`Ctrl-/` displays incorrectly in `man surf` on my machine. A patch is attached. (You also access it here: https://github.com/weakish/surf/commit/07e97eccedd96eabf14b2fbf77de75ec1b594d97) surf.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/surf.1 b/surf.1 index ffb29

Re: [dev] st patches and clipboard issues

2015-01-02 Thread FRIGN
On Thu, 1 Jan 2015 21:19:24 -0500 Philip Rushik wrote: Hey Philip, > Also, the other issue I want to report is that st does not work with > synergy's clipboard sharing feature. did you try enabling the "Elevated" mode in the client (should be selectable at the bottom of the main window)? Cheer

Re: [dev] [PATCH] Fix a typo in surf manual.

2015-01-02 Thread Christoph Lohmann
Greetings. On Fri, 02 Jan 2015 14:18:36 +0100 Jakukyo Friel wrote: > `Ctrl-/` displays incorrectly in `man surf` on my machine. > > A patch is attached. Thanks for the patch. I applied it. Sincerely, Christoph Lohmann

[dev] Tools that can format C code into dwm.c/st.c style

2015-01-02 Thread ACE
Hello. I was curious to see if anyone has any tools that supports you in formatting the code to the same style used in dwm.c or st.c. I tried playing around with "clang-format", but I couldn't find a way proper way to keep the function names like so: int main(int argc, char *argv[]) {...

Re: [dev] Tools that can format C code into dwm.c/st.c style

2015-01-02 Thread Wander Nauta
Hello ACE, I would be surprised if GNU's indent program didn't have a flag to enforce that particular style. (It has more flags than your average military parade.) The indent program will do some alignment tricks as well if you tell it to, but you might like Tabular (https://github.com/godlygeek/

Re: [dev] Tools that can format C code into dwm.c/st.c style

2015-01-02 Thread ACE
Thank you for the quick response. It seems like GNU indent may be what I'm looking for. Does anyone have the settings for GNU Indent to produce the same coding style? I've installed tabular, the default settings didn't provide the same alignment of the data values, but it's a plugin I intend to k

Re: [dev] Tools that can format C code into dwm.c/st.c style

2015-01-02 Thread Wander Nauta
I've fiddled with it a bit, but it doesn't seem like there's a set of flags that will Just Work. Suckless style seems to be not to put spaces around binary operators (in most cases), which indent(1) disagrees with quite stubbornly. At the same time, indent(1) indents all comments by using tabs, wh

Re: [dev] st patches and clipboard issues

2015-01-02 Thread Philip Rushik
> did you try enabling the "Elevated" mode in the client (should be > selectable at the bottom of the main window)? Nope, because it's not a Windows machine, both machines are Linux. I did however get a chance to do a little debugging, although I wasn't about to learn much. I discovered that when

Re: [dev] st patches and clipboard issues

2015-01-02 Thread CustaiCo
On Fri, Jan 02, 2015 at 10:22:52PM -0500, Philip Rushik wrote: > > did you try enabling the "Elevated" mode in the client (should be > > selectable at the bottom of the main window)? > > Nope, because it's not a Windows machine, both machines are Linux. > > I did however get a chance to do a litt