Re: [dev] I didn't know that you could use the shell like this: compound pipe?

2024-01-17 Thread 201009-suckless
Use files. ./program-cli | ( read -r printf "%s\n" "$REPLY" > /tmp/a ) > /tmp/b fooify /tmp/a barify /tmp/b

Re: [dev] a terminal transformer, analogous to a unix filter

2023-01-26 Thread suckless
--- Original Message --- On Sunday, January 22nd, 2023 at 09:19, Greg Reagle - list at speedpost.net wrote: > -- > On Sat, Jan 21, 2023, at 10:29 AM, Rodrigo Martins wrote: > > > This has great potential. It can simplify the terminal program while > > being

[dev] ssam rocks! unwrapping paragraphs

2022-03-22 Thread 201009-suckless
sed is the canonical paragraph mangler. It's worth spending a bit to grok how that is true. tr -d '\r' | sed '/^$/!{H;d;};p;x;s/\n/ /g;' Gutenberg lines are CRLF-terminated so `tr` is needed.

Re: [dev] Is there a text editor following the UNIX philosophy?

2022-02-12 Thread 201009-suckless
> I can get away with a less powerful shell as long as it has tab > completion. Tab completion just saves so much time. Directly typing into a shell is a red flag. ie. a shell is just another REPL and should be driven by your editor. This a) documents your work, and b) toggles the developer bit

Re: [dev] sshd?

2021-07-07 Thread 201009-suckless
Stunnel supports requiring client cert verification, ie. client cert is known or was signed by a given CA. Willing to trade pubkeys for PKI? See "requireCert" and the /verify.*/ options in https://www.stunnel.org/static/stunnel.html Patrick

Re: [dev] sshd?

2021-07-06 Thread 201009-suckless
Looking at https://github.com/mkj/dropbear -- it seems like every sshd just grows to include things like X11/port forwarding Would rather have a small sshd with docs that say run netcat if you want port-forwarding.

Re: [dev] [st] Use scroll with arguments

2020-07-06 Thread tuxway+suckless
Let me know if it works. Hi mat, thanks for the help. I tried it, but it doesnt't seem to work, ST won't start. I guess the problem is related to the assignment of the args array with the DEFAULT macro. This might not work within the if statement, thus the args array maybe has no content.

Re: [dev] [st] Use scroll with arguments

2020-07-03 Thread tuxway+suckless
Dear mat, This patch has kscroll{up,down} that takes an argument. https://st.suckless.org/patches/scrollback/ thanks, I know these patches. But I'm interessted in the new possibility to specify an external scrollback application within st. As far as I see, its only possible to specify e.g. "

[dev] [st] Use scroll with arguments

2020-07-03 Thread tuxway+suckless
Hello Suckless, is it possible to use arguments for scroll (e.g. -m or -M) within config.h of st? Currently I only can specify scroll itself without any argument using "char *scroll = "scroll";". Best regards

Re: [dev] tabbed crash when using foreground = False in config.h

2015-03-09 Thread suckless
Hi, I simplified the necessary steps. Use tabbed with "foreground = False" in config.h test:~$ xid=`tabbed -d xterm -into` ; xterm -into "$xid" test:~$ tabbed: fatal error: request code=113, error code=2 X Error of failed request: BadValue (integer parameter out of range for operation) M

[dev] tabbed crash when using foreground = False in config.h

2015-03-08 Thread suckless
Hi, tabbed crashes when using foreground = False in config.h Steps to reproduce: Get latest tabbed and surf src from git Set foreground = False in tabbed config.h Compile and install tabbed and surf Start 2 surf instances in tabbed: surf-open.sh suckless.org ; sleep 1 ; surf-open.sh suckless.o

[dev] [st PATCH] Honor X geometry specifications

2014-04-25 Thread suckless
From: Yuri Karaban - Interpret width and height as rows and columns (common behavior for X applications with resize increment hints set) - Obey the offset parameters --- st.c | 98 ++-- 1 file changed, 38 insertions(+), 60 deleti

[dev] [st PATCH] X geometry changes

2014-04-25 Thread suckless
height in pixels don't make sense for the window with discrete dimensions. I suspect that suckless community is predominantly using tiling window managers which by their nature is ignoring geometry hints. Therefore those problems could be unnoticed. I created a patch to address aforement

[dev] FOSDEM

2012-01-30 Thread suckless-dev
So, FOSDEM is this weekend. Is anyone on the list coming? I'm looking forward to going, and it'd be fun to meet up with like-minded folks. Nick

Re: [dev] [dwm] titlenormcolor patch

2011-07-13 Thread ml+suckless
Attached is a really important diff against tip I hope to get into 6.0. It might need additional testing, but otherwise works fine for me. Thanks in advance for the next 5 years! diff -r 4548c824adac dwm.c --- a/dwm.c Sun Jul 10 21:25:23 2011 +0100 +++ b/dwm.c Wed Jul 13 14:44:09 2011 +020