Re: [dev] [st] fixed font doesn't work

2023-01-29 Thread Hadrien Lacour
On Sun Jan 29, 2023 at 5:35 PM CET, Mikhail wrote: > Hi, I'd like to switch from xterm to st, but i want to keep xterm's > default font, if I do > > xterm -fn '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1' > > everything is ok - it's the font I want to use, but if i do > > st -f

Re: [dev] [libgrapheme] version 2.0.0 release

2022-10-06 Thread Hadrien Lacour
On Thu Oct 6, 2022 at 11:23 PM CEST, Laslo Hunhold wrote: > Dear fellow hackers, > > I'm pleased to announce version 2.0.0 of libgrapheme[0][1], a library > for Unicode string handling. > > This version adds > > - word segmentation > - sentence segmentation > - detection of permis

Re: [dev] Some misc tools that could help others

2022-09-21 Thread Hadrien Lacour
On Wed Sep 21, 2022 at 8:21 PM CEST, NRK wrote: > On Wed, Sep 21, 2022 at 04:24:28PM +0000, Hadrien Lacour wrote: > > The other "interesting" one is genhtab, an alternative to gperf that is much > > simpler to use and produces smaller binaries for big tables (but slo

[dev] Some misc tools that could help others

2022-09-21 Thread Hadrien Lacour
embedded via a C11 u8"..." string literal (TODO: automatic conversion if uchardet/iconv are available, C23/C++20 char8_t handling) And that's all. Hope it wasn't spam to you. If you too have some small potatoes stuff that doesn't warrant a project announcement but certainly make your life easier, don't hesitate to follow. Regards, Hadrien Lacour

Re: [dev] ii: how to process out in a pipeline and still page with less

2022-05-28 Thread Hadrien Lacour
On Sat, May 28, 2022 at 08:32:57PM +0200, Markus Wichmann wrote: > ultimately terminates on the terminal. But who knows if that is the > case? Pipelines ending in a call to "less" will terminate on the > terminal, pipelines ending in a call to "nc" will not. So the shell > can't know, only the last

Re: [dev] ii: how to process out in a pipeline and still page with less

2022-05-28 Thread Hadrien Lacour
On Sat, May 28, 2022 at 07:58:40PM +0200, Markus Wichmann wrote: > > You can use stdbuf(1) to modify that aspect without touching the > > program source itself. > > > > Had to look up the source for that. I had heard of stdbuf, but I always > thought that that was impossible. How can one process ch

Re: [dev] ii: how to process out in a pipeline and still page with less

2022-05-28 Thread Hadrien Lacour
On Sat, May 28, 2022 at 03:33:16AM +, Rodrigo Martins wrote: > Hello, > > The problem here is I/O buffering. I suspect it to happen in the C standard > library, specifically on the printf function family. If I recall, the C > standard says stdio is line-buffered when the file is an interactiv

Re: [dev] ii: how to process out in a pipeline and still page with less

2022-05-27 Thread Hadrien Lacour
On Fri, May 27, 2022 at 02:43:03PM -0400, Greg Reagle wrote: > I have a file named "out" (from ii) that I want to view. Of course, it can > grow while I am viewing it. I can view it with "tail -f out" or "less +F > out", both of which work. I also want to apply some processing in a > pipeline

Re: [dev][st][dwm] st UTF-8 works on Gnome, but not on DWM

2022-04-26 Thread Hadrien Lacour
On Tue, Apr 26, 2022 at 07:48:35PM +0200, Страхиња Радић wrote: > On 22/04/26 05:39, Hadrien Lacour wrote: > > > > Compare the output of env in the two situations. Something I noticed in one > > of > > your mails: you have en_US.UTF-8 in your locale output while here,

Re: [dev][st][dwm] st UTF-8 works on Gnome, but not on DWM

2022-04-26 Thread Hadrien Lacour
On Tue, Apr 26, 2022 at 08:20:34AM -0500, Robert Winkler wrote: > Getting closer: I tried the compiled st in different window managers > (thanks for the hint to test the binary in different environments!). > > In Plasma, spectrwm, and dwm, UTF-8 of st does not work. > > But SURPRISE: in Gnome (Wayl

Re: [dev] Some direction with my project

2022-04-15 Thread Hadrien Lacour
On Fri, Apr 15, 2022 at 09:37:07AM -0500, Chibby Bromanson wrote: > On Fri, Apr 15, 2022 at 08:34:51AM +0000, Hadrien Lacour wrote: > > On Thu, Apr 14, 2022 at 09:42:51PM -0500, Chibby Bromanson wrote: > > > Greetings, > > > > > > I am very impressed with the

Re: [dev] Some direction with my project

2022-04-15 Thread Hadrien Lacour
mance reasons. Said daemon could also do stuff like Windows -> POSIX and/or character encoding path translation if more portability is wanted. Regards, Hadrien Lacour

Re: [dev] Some direction with my project

2022-04-15 Thread Hadrien Lacour
On Thu, Apr 14, 2022 at 09:42:51PM -0500, Chibby Bromanson wrote: > Greetings, > > I am very impressed with the suckless software movement and I am doing > my best to try to create my own tool that follows the philosophy. I > still have a lot to learn with the C language but so far I am proud of >

Re: [dev] sfeed: RSS/Atom parser and reader

2022-02-20 Thread Hadrien Lacour
On Fri, Feb 11, 2022 at 02:54:24PM +0100, Hiltjo Posthuma wrote: > Hi, > > I would like to share my project I've been using and tweaking over the years: > > sfeed is a RSS and Atom parser (and it has some format programs). > Another thank for your project, which completely replaced newboat (and it

Re: [dev] Wayland compositors

2021-09-08 Thread Hadrien Lacour
On Wed, Sep 08, 2021 at 08:35:33PM +0200, Laslo Hunhold wrote: > On Tue, 31 Aug 2021 14:28:29 +0100 > Nick wrote: > > Dear Nick, > > > Any thoughts, experiences, recommendations? > > the discussion has been very fruitful. Let me share my thoughts. > > Wayland the protocol is actually rather simple

Re: [dev] Wayland compositors

2021-08-31 Thread Hadrien Lacour
On Tue, Aug 31, 2021 at 03:49:43PM +0200, Maarten van Gompel wrote: > Hi Nick et al, > > With Sxmo we're currently also moving towards wayland (we'll have to > reinvent what the X in our name means then). We found that, especially > on the Pinephone, the performance under Wayland is simply superio

Re: [dev] Article in line with suckless.org

2021-08-07 Thread Hadrien Lacour
On Sat, Aug 07, 2021 at 02:54:18PM +0200, Sagar Acharya wrote: > > > > On Sat, Aug 07, 2021 at 10:34:00AM +0200, Sagar Acharya wrote: > > > >> Just 1 thing needs to be done, make easier for a majority to use minimal, > >> secure software and make it harder for majority to use gigantic, malware >

Re: [dev] Article in line with suckless.org

2021-08-07 Thread Hadrien Lacour
On Sat, Aug 07, 2021 at 06:59:08AM -0600, Lincoln Auster wrote: > Hi, > > > Anyway, you're correct, and that's why modularity (which needs a > > better interchange format than UNIX's stream of bytes, to be honest) > > This is pretty irrelevant to the original email, but in terms of IPC > protocols,

Re: [dev] Article in line with suckless.org

2021-08-07 Thread Hadrien Lacour
On Sat, Aug 07, 2021 at 10:34:00AM +0200, Sagar Acharya wrote: > Just 1 thing needs to be done, make easier for a majority to use minimal, > secure software and make it harder for majority to use gigantic, malware > injected software. And things would become better. Sadly not possible, as the who

Re: [dev] Article in line with suckless.org

2021-08-07 Thread Hadrien Lacour
On Sat, Aug 07, 2021 at 08:02:31AM +0200, Sagar Acharya wrote: > I have written this article at the link below. > > https://designman.org/sagaracharya/blog/pretend_computer_security > > It enhances the value of suckless by pointing the problems in gigantic > softwares. Let me know what you think.

Re: [dev] [dwm] Why should (or shouldn't) dwm have a spawn function?

2021-06-29 Thread Hadrien Lacour
On Tue, Jun 29, 2021 at 01:48:51PM +0200, Mateusz Okulus wrote: > sxhkd complicates the setup with little additional benefit. The point of sxhkd isn't really itself, but having your daemon I/O completely available through IPC. This is a big advantage, as it allows the most power/freedom when inter

Re: [dev] Why not use the -exec feature of find?

2021-06-22 Thread Hadrien Lacour
On Tue, Jun 22, 2021 at 08:26:40AM -0400, Greg Reagle wrote: > All over the place (tutorials, manuals, articles, questions and answers) I > see the advice to use the null feature of find (-print0) and xargs (-0) to be > able to handle any kind of wacky file name (e.g. filenames with newlines).

Re: [dev] I just "discovered" programming language Nim

2021-05-02 Thread Hadrien Lacour
On Sun, May 02, 2021 at 08:37:54AM -0400, Greg Reagle wrote: > I just "discovered" programming language Nim. Has anyone tried it? Any > reviews? Looks very interesting. > > https://nim-lang.org/ > Seeing some examples on RosettaCode, it certainly doesn't look bad, but isn't radical/high level

Re: [dev] Completeness suckless

2021-04-10 Thread Hadrien Lacour
On Sat, Apr 10, 2021 at 08:14:08AM +0200, Sagar Acharya wrote: > If suckless wants this to become mainstream philosophy That's where the fallacy is. I suppose suckless devs aren't naive and simply know that people aren't the same (dare I say "not equal"), so they simply make software for themselves

Re: [dev] Completeness suckless

2021-04-09 Thread Hadrien Lacour
On Fri, Apr 09, 2021 at 01:07:01PM -0700, Jeremy wrote: > On 04/09/21 09:07PM, Hadrien Lacour wrote: > > On Fri, Apr 09, 2021 at 08:24:35PM +0200, Sagar Acharya wrote: > > > I have studied Engineering Physics at IIT Delhi. There, Computer Science > > > guys are insane

Re: [dev] Completeness suckless

2021-04-09 Thread Hadrien Lacour
On Fri, Apr 09, 2021 at 02:54:31PM +0200, Sagar Acharya wrote: > P.S. Shifted completely to dwm this week. Can't even think of anything > theoretically better than this! Now, try bspwm :)

Re: [dev] Completeness suckless

2021-04-09 Thread Hadrien Lacour
On Fri, Apr 09, 2021 at 08:24:35PM +0200, Sagar Acharya wrote: > I guess this is where I diverge, user centric things always work better and > have more power. More features != More power. > One can always add a few more simple things, keeping minimalism of suckless > intact. One can create dwmd

Re: [dev] Completeness suckless

2021-04-09 Thread Hadrien Lacour
On Fri, Apr 09, 2021 at 12:10:54PM -0400, Greg Reagle wrote: > On Fri, Apr 9, 2021, at 11:42, Hadrien Lacour wrote: > > Where do we stop, though? For me, sh (even with all its braindamage) > > Speaking of the brain damage of sh, I highly recommend rc [1] which is > available

Re: [dev] Completeness suckless

2021-04-09 Thread Hadrien Lacour
On Fri, Apr 09, 2021 at 02:54:31PM +0200, Sagar Acharya wrote: > I recently wrote this article > > https://designman.org/sagaracharya/blog/trusting_no_one > > being absolutely unaware about suckless and this was brought to my attention. > > Suckless's philosophy is hands down amazing and crucial wr

Re: [dev] st: enlarge font

2021-03-22 Thread Hadrien Lacour
On Mon, Mar 22, 2021 at 03:15:35PM -0400, Sebastian LaVine wrote: > On 3/22/21 12:20 PM, Nuno Teixeira wrote: > > please don't! I use i3+st for about 10 years! > > Why? > I don't think it is you that Wesley was referring to, Nuno, but rather this > one: > > > > On Monday, March 22nd, 2021 at 12:59

Re: [dev] Build system: redo

2021-01-03 Thread Hadrien Lacour
On Sun, Jan 03, 2021 at 02:38:30PM -0500, Greg Reagle wrote: > I am in the habit of using printf rather than echo because of the drawbacks > of echo as explained in > https://unix.stackexchange.com/questions/65803/why-is-printf-better-than-echo. > For > echo relinking > specifically, it doesn

Re: [dev] [sbase][tar] GNU tar support

2020-11-25 Thread Hadrien Lacour
On Wed, Nov 25, 2020 at 05:49:56PM +0100, Laslo Hunhold wrote: > On Wed, 25 Nov 2020 07:51:22 -0500 > Cág wrote: > > Dear Cág, > > > A quick question: for "POSIX tar archive (GNU)" files tar prints > > tar: unsupported tar-filetype L > > > > Is GNU tar support out of scope? > > there's probably no

Re: [dev] Scrollback utility for use with st

2020-04-06 Thread Hadrien Lacour
On Mon, Apr 06, 2020 at 01:38:09PM +0200, Laslo Hunhold wrote: > On Mon, 6 Apr 2020 13:27:21 +0200 > Laslo Hunhold wrote: > > > I'm definitely not an expert in terminal emulators (Roberto, Hiltjo > > and Christoph are), but the case is pretty clear to me when I look at > > scroll[0], which Jan and

Re: [dev] Scrollback utility for use with st

2020-04-06 Thread Hadrien Lacour
On Mon, Apr 06, 2020 at 10:40:32AM +0200, Laslo Hunhold wrote: > On Mon, 06 Apr 2020 08:48:38 +0200 > "Silvan Jegen" wrote: > > Dear Silvan, > > > I honestly never use tmux either. If I think I may need the output of > > a program, I just redirect it to a file/editor/pager. > > yeah, same here. Bu

Re: [dev] A simple POSIX build system

2020-02-29 Thread Hadrien Lacour
Fool that I am, I forgot to link it. Here it is: https://git.sr.ht/~q3cpma/posix-build

[dev] A simple POSIX build system

2020-02-29 Thread Hadrien Lacour
e, no need to bolt so much on make, and with a different syntax to boot. If this can help other people rolling complicated makefiles, I guess it could be nice. Criticism is welcome. Regards, Hadrien Lacour

Re: [dev] startup time of some interpreters

2020-02-20 Thread Hadrien Lacour
On Thu, Feb 20, 2020 at 02:24:22PM -0500, Greg Reagle wrote: > On Thu, Feb 20, 2020, at 13:07, Hadrien Lacour wrote: > > A much more accurate mesure of disgust is the number of syscall made for > > such a > > simple task: > > That's very interesting, thank you. Do

Re: [dev] startup time of some interpreters

2020-02-20 Thread Hadrien Lacour
On Thu, Feb 20, 2020 at 12:22:53PM -0500, Greg Reagle wrote: > Hello. I am amazed at how fast Lua is to start up and shut down. Is my > benchmark defective in any way? Lua seems to start up and exit faster than > bash, python, rc, and ksh. Dash and mksh are faster. These interpreters are > all p

Re: [dev] [no js web]

2020-02-20 Thread Hadrien Lacour
On Wed, Feb 19, 2020 at 09:56:50PM +, sylvain.bertr...@gmail.com wrote: > Hi, > > As some may already know I am sueing the french administration which recently > (a couple of years) broke the support of no js web browsers. > > The follow up would be to deal with this issue at the EU administrat

Re: [dev] Surf backend

2020-01-25 Thread Hadrien Lacour
On Sat, Jan 25, 2020 at 06:22:18PM +0100, Quentin Rameau wrote: > Hi Jesse, Hadrien, > > > > In regard to "replace webkit with something sane" from the TODO.md > > > fileincluded within surf. I'm not sure if you all are aware of this: > > > https://github.com/SteveDeFacto/zsurf > > > Little aban

Re: [dev] Surf backend

2020-01-25 Thread Hadrien Lacour
On Sat, Jan 25, 2020 at 05:20:19AM -0500, Jesse Limerick wrote: > In regard to "replace webkit with something sane" from the TODO.md > fileincluded within surf. I'm not sure if you all are aware of this: > https://github.com/SteveDeFacto/zsurf > Little abandoned project in the vein of surf, but

[dev] mus: simple album playlist music player

2020-01-12 Thread Hadrien Lacour
https://git.sr.ht/~q3cpma/mus Regards, Hadrien Lacour

Re: [dev] [st] How do I add a keybinding to open a new ST window in the current working directory?

2019-05-11 Thread Hadrien Lacour
On Tue, Apr 23, 2019 at 04:54:17PM +0600, Enan Ajmain wrote: > Hi, > > I want to add a keybinding to ST to spawn a new ST window in the > current working directory. How do I do that? > > Thanks, > Enan > Hello, personally, I put bindkey -e -s '^[t' 'st >/dev/null 2>&1 &!\n' in my .zshrc

Re: [dev] Preprocessor

2019-04-23 Thread Hadrien Lacour
On Tue, Apr 23, 2019 at 12:44:57PM -0700, Evan Gates wrote: > On Tue, Apr 23, 2019 at 12:42 PM Hadrien Lacour > wrote: > > That was just shitposting. I use `find` to avoid most of the UNIX > > braindamage > > in this case. > > Which is good as long as you use -exec

Re: [dev] Preprocessor

2019-04-23 Thread Hadrien Lacour
On Tue, Apr 23, 2019 at 09:30:14AM -0700, Evan Gates wrote: > On Tue, Apr 23, 2019 at 9:24 AM Hadrien Lacour > wrote: > > What if "$1" is empty? POSIX sh doesn't have the nullglob shop, you know. > > [ "$1" ] || exit # add a message if you want > [

Re: [dev] Preprocessor

2019-04-23 Thread Hadrien Lacour
On Mon, Apr 22, 2019 at 01:35:02PM -0700, Evan Gates wrote: > On Mon, Apr 22, 2019 at 1:25 PM Adrian Grigore > wrote: > > > > ls -1 "$1" | while IFS= read -r p > > do > > Not sure about the preprocessor stuff, but this right here is terrible > practice. Use a for loop and glob. Assuming that "$1"

Re: [dev] Holding st after a command has completed

2019-04-14 Thread Hadrien Lacour
On Sun, Apr 14, 2019 at 03:24:34AM +0300, Ivan "Rambius" Ivanov wrote: > Hello, > > The st terminal has -e option that executes a specific command instead > of the shell. However, st closes immediately after the command has > completed. Is it possible to hold the st's window after the command > has

Re: [dev] [dmenu] 4.9 release messes with input focus

2019-02-12 Thread Hadrien Lacour
Same on bspwm, here.

Re: [dev] [Announce] [dwm-6.2] [dmenu-4.9] new release

2019-02-04 Thread Hadrien Lacour
Does that mean that some kind of simple fallback mechanism will be implemented? A bit like Lemonbar allowing to specify multiple X fonts.

Re: [dev] Web development in C (or, C'ing clearly through the webs of bias)

2019-01-31 Thread Hadrien Lacour
Your very mail is bloated, mate. Did you really need all of this to tell "back up your claims"?

Re: [dev] Let's talk about Go, baby

2019-01-27 Thread Hadrien Lacour
How do you reconcile love of minimalism with the big added runtime complexity of a garbage collector (when you need to support multithreading and balance latency, throughput and memory usage)? Personally, I think that a high level language that can easily interact with a low level one is a good so

Re: [dev] [dmenu] running shell scripts in dmenu

2019-01-04 Thread Hadrien Lacour
I had similar problems before (I use startx to start X). They vanished when I put `export PATH=$HOME/bin:$PATH` in my .xinitrc in addition to my .zshenv.

[dev] [slock] not multibyte aware, right?

2018-12-05 Thread Hadrien Lacour
Hello, I'm trying to make slock work with a french keyboard and the character £, but after reading the source, am I correct in saying that it doesn't support multibyte encodings? l179-180 of slock.c makes me think so. Mentioning it in the README would be quite useful. Regards, Hadrien Lacour

Re: [dev] Re: mus - A simple album playlist based music player

2018-11-16 Thread Hadrien Lacour
On Thu, Nov 15, 2018 at 03:29:14PM -0800, Andy Valencia wrote: > > I've just finished a simple project of mine to replace cmus with something a > > bit more UNIXy and I think it could interest some people. > I wrestled with various ways of conveniently playing my music, > and eventually came up wit

[dev] mus - A simple album playlist based music player

2018-11-15 Thread Hadrien Lacour
Hello, I've just finished a simple project of mine to replace cmus with something a bit more UNIXy and I think it could interest some people. Here's the link: https://repo.or.cz/mus.git with an excerpt from the README: +

Re: [dev] GPL free Linux

2018-11-12 Thread Hadrien Lacour
> > On 12 Nov 2018, at 05:28, Markus Wichmann wrote: > Please, do tell if you find such a library. The ones I found were either > the wrong language (Tk, Qt, FLTK), or hopelessly obtuse (gtk). Or pretty > much no assistance at all (xaw, motif). I never used it, but someone showed xforms (http://x

Re: [dev] GPL free Linux

2018-11-12 Thread Hadrien Lacour
On Mon, Nov 12, 2018 at 11:25:44AM +, Alessandro Pistocchi wrote: > > > > On 12 Nov 2018, at 10:05, Hadrien Lacour wrote: > > > > On Sun, Nov 11, 2018 at 09:43:12PM -0700, Anthony J. Bentley wrote: > >> Markus Wichmann writes: > >>> Why woul

Re: [dev] GPL free Linux

2018-11-12 Thread Hadrien Lacour
On Sun, Nov 11, 2018 at 09:43:12PM -0700, Anthony J. Bentley wrote: > Markus Wichmann writes: > > Why would you do something so pointless? First of all, licences only > > matter if you plan on redistribution, so most here won't care. Second, > > all the GPL demands is that you distribute the source

Re: [dev] freetype2/fc pain

2018-09-24 Thread Hadrien Lacour
On Mon, Sep 24, 2018 at 04:08:17PM +, sylvain.bertr...@gmail.com wrote: > On Mon, Sep 24, 2018 at 05:44:40PM +0200, Hadrien Lacour wrote: > > Of course, the range:font mapping is more granular, but I find it a little > > bit > > more complex to configure than this typ

Re: [dev] freetype2/fc pain

2018-09-24 Thread Hadrien Lacour
Couldn't this be done like rxvt-unicode (or the current st fontarray patch)? You specify a list of fonts, and the program iterates on it until it finds one that provide the required character. With a very basic cache, it's pretty simple and doesn't causes problems. Of course, the range:font mappin

Re: [dev] [makes] release version 2.0

2018-08-13 Thread Hadrien Lacour
On Sun, Aug 12, 2018 at 03:58:29PM +0100, ra...@airmail.cc wrote: > Hello! > > This post is an announcement releasing makes version 2.0. > > makes is a minimal build tool that cleanly separates the user interface from > the core algorithm that actually performs the build. It supports > incremental,

Re: [dev] [st] Some tmux trouble

2017-12-31 Thread Hadrien Lacour
On Sun, Dec 31, 2017 at 01:50:50PM -0800, Eric Pruitt wrote: > On Sun, Dec 31, 2017 at 10:15:24PM +0100, Hadrien Lacour wrote: > > I'm trying to do > > `st -e "tmux a -t cmus"` > > Use `st -e tmux -a -t cmus` as documented in st(1) which reads "-e > co

[dev] [st] Some tmux trouble

2017-12-31 Thread Hadrien Lacour
Hello, I'm trying to do `st -e "tmux a -t cmus"` but it only gives me `child finished with error '256'`. * `tmux a -t cmus` works perfectly in an already open st. * `st -e tmux` works fine (there's an `erresc: unknown private set/reset mode 1005` message, though). * `tmux new -A -s dash

Re: [dev] [dwm] Fonts from dwm screenshots

2017-12-24 Thread Hadrien Lacour
On Sun, Dec 24, 2017 at 03:11:57AM -0200, Guilherme Vieira wrote: > I'm looking for a good terminal font, with no anti-aliasing / > smoothing non-sense. I'm also looking for a nice compatible icon set, > and the one from the following screenshots looks just perfect: > > https://dwm.suckless.org/scr

Re: [dev] [dmenu] doesnt open apps

2017-12-20 Thread Hadrien Lacour
On Wed, Dec 20, 2017 at 10:37:37AM -0600, Jorge Ga wrote: > the commands i used: > ~ dmenu > (search for any app) > - hit enter > - nothing happens > > Same result for hit i3 dmenu shortcut (mod+d), dwm shortcut and execute dmenu: > > dmenu /usr/bin/dmenu_run > > 2

Re: [dev] [dmenu] doesnt open apps

2017-12-20 Thread Hadrien Lacour
On Wed, Dec 20, 2017 at 10:19:48AM -0600, Jorge Ga wrote: > OS: Debian 9 WM: i3 > When i open dmenu (mod+d on i3) i can search any app, but when i try > to open, it just don't open. > I try to debug the commands using i3 debug mode but i'm kinda lost, > also i find on some arch linux post that mayb

Re: [dev] Writing subtitles for videos

2017-10-24 Thread Hadrien Lacour
ebVTT file for each combination of a timing file and > language. > > Thank you for everyone's input > > Hadrien Lacour writes: > > It may be possible to do this with mpv and lua scripts. > Thanks for reporting back, I'm sure this'll help a lot.

Re: [dev] [st] Start with text already input

2017-09-15 Thread Hadrien Lacour
On Fri, Sep 15, 2017 at 09:24:55PM +, Eric Pruitt wrote: > On Fri, Sep 15, 2017 at 09:41:32PM +0200, Hadrien Lacour wrote: > > I basically wanted a way to open a terminal with the beginning of a > > command ("pass -c " in my case) already typed. > > >

Re: [dev] [st] Start with text already input

2017-09-15 Thread Hadrien Lacour
On Fri, Sep 15, 2017 at 07:24:51PM +, Kamil Cholewiński wrote: > echo 'echo mytext' >> .zshrc > > P.S. please remove "in-reply-to" headers when starting a new thread > Yeah, sorry. Just noticed. Your solution isn't "input" text, it's just displayed. I basically wanted a way to open a terminal

[dev] [st] Start with text already input

2017-09-15 Thread Hadrien Lacour
Hello, I'm trying to do what the subject says but I have some troubles. Maybe someone already have a solution. Here's what I tried: #!/bin/sh tty=$(mktemp) st -e sh -c "tty >\"$tty\"; exec \"$SHELL\"" sleep 1 printf 'mytext' >"$(cat "$tty")" rm -- "$tty" I get the text, but the shell (zsh here)

Re: [dev] [st] font fallback

2017-09-03 Thread Hadrien Lacour
On Sun, Sep 03, 2017 at 10:06:35AM -0700, Eric Pruitt wrote: > On Sun, Sep 03, 2017 at 06:31:44PM +0200, Hadrien Lacour wrote: > > I see, thanks. Don't know why I thought it was like this. Well, I'll try it > > but fontconfig is indeed a big pain in the ass (editing XML

Re: [dev] [st] font fallback

2017-09-03 Thread Hadrien Lacour
On Sun, Sep 03, 2017 at 06:24:13PM +0200, Quentin Rameau wrote: > > Hello, > > Hello Hadrien, > > > I'm trying view Japanese text but I don't manage to. Here's what I do > > with urxvt (it works): > > $ urxvt -fn "xft:xos4 Terminus:size=12,xft:Misc Fixed:size=11" > > > > with st (it doesn't; I get

[dev] [st] font fallback

2017-09-03 Thread Hadrien Lacour
Hello, I'm trying view Japanese text but I don't manage to. Here's what I do with urxvt (it works): $ urxvt -fn "xft:xos4 Terminus:size=12,xft:Misc Fixed:size=11" with st (it doesn't; I get blank spaces or squares): $ st -f "xos4 Terminus:size=12,Misc Fixed Wide:size=11" Am I doing something wro

Re: [dev] Writing subtitles for videos

2017-08-31 Thread Hadrien Lacour
On Thu, Aug 31, 2017 at 08:04:26AM +, Thomas Levine wrote: > I want to write some subtitles for some videos. I found several subtitle > editors through web searches, and their documentation doesn't make them > look very good. What's more, I haven't managed to install any of them > properly, whi

Re: [dev] less(1) replacement?

2017-08-27 Thread Hadrien Lacour
On Sun, Aug 27, 2017 at 03:47:52AM +0200, isabella parakiss wrote: > On 8/27/17, Laslo Hunhold wrote: > > On Sat, 26 Aug 2017 23:59:27 +0200 > > isabella parakiss wrote: > > > > Hey Isabella, > > > >> https://i.imgur.com/79U7mcO.png > >> side by side screenshot against less > >> your face looks h

Re: [dev][all] Migrating build system

2017-04-01 Thread Hadrien Lacour
On Sat, Apr 01, 2017 at 10:26:33AM +0100, Joseph Graham wrote: > On Sat, Apr 01, 2017 at 02:46:36PM +0530, Aditya Goturu wrote: > > As we know, the greatest weakness of suckless apps is their dependence on > > bloated build systems like make. > > > > I tried porting to to gnu autotools, but while

Re: [dev] looking for a simple music player

2017-02-09 Thread Hadrien Lacour
On Thu, Feb 09, 2017 at 07:56:42PM +0100, Cág wrote: > Hadrien Lacour wrote: > > > If you want the Noice of music player, there's cplay. If you want something > > a > > little bit more like ranger/vifm, there's cmus. I personally use mpd and mpc > > w

Re: [dev] looking for a simple music player

2017-02-08 Thread Hadrien Lacour
On Tue, Feb 07, 2017 at 08:25:02PM +0100, Cág wrote: > Hi, > > I'm looking for something that looks like noice when I'm in my music > folder: basically a list of file names and the current song's name and > length at the bottom. No need for colours and album/year; ideally > it'd be customised by

Re: [dev] surf crash

2017-01-17 Thread Hadrien Lacour
On Tue, Jan 17, 2017 at 06:41:02AM -0800, Greg Minshall wrote: > Cág, > > > Okay, try re-installing webkit, both -dev and > > the package. I'm not really sure what's the > > problem. > > no change, sigh. i guess i'll just leave this "open" for the time > being. > > > By the way, if you are an e

Re: [dev] [st/dwm] Alt-Shift-C and Mod1-Shift-C

2017-01-12 Thread Hadrien Lacour
On Thu, Jan 12, 2017 at 07:25:06PM +0100, Patrick Bucher wrote: > Hi there, > > I'm using st and dwm at the same time, and today I discovered a little problem > when using the default config of both programs. st uses Alt-Shift-C to copy > text > into the clipboard, dwm uses Mod1-Shift-C for closi

Re: [dev] Request for name suggestions: suckless video editor

2017-01-12 Thread Hadrien Lacour
So this is a bit like Vapoursynth?

Re: [dev] Re: [st] Crash on middle finger character

2016-12-18 Thread Hadrien Lacour
On Sun, Dec 18, 2016 at 03:19:11PM +, Amadeusz Żołnowski wrote: > I have forgot to attach the "utftest1.txt" file. Sorry. Here it goes. > > Cheers, > -- Amadeusz Żołnowski > REVERSED HAND WITH MIDDLE FINGER EXTENDED: 🖕 Actually, I tried using "Terminus:pixelsize=16" (on gentoo too), and it

Re: [dev] Re: [st] Crash on middle finger character

2016-12-18 Thread Hadrien Lacour
On Sun, Dec 18, 2016 at 03:19:11PM +, Amadeusz Żołnowski wrote: > I have forgot to attach the "utftest1.txt" file. Sorry. Here it goes. > > Cheers, > -- Amadeusz Żołnowski > REVERSED HAND WITH MIDDLE FINGER EXTENDED: 🖕 Work here. Using GNU Unifont and st-0.7

Re: [dev] Collecting sins of Apple

2016-10-23 Thread Hadrien LACOUR
While this can seem relatively unimportant to some, the use of proprietary screws (Pentalobe) really does sum up Apple's stance toward its client base.

Re: [dev] Djvu viewer

2016-09-13 Thread Hadrien LACOUR
On Tue, 13 Sep 2016 18:14:25 +0100, Cág wrote: >[0]: http://repo.or.cz/fbpdf.git Thanks, it seems acceptable. Even if it'd be better if mupdf could do djvu (but I'm daydreaming here). On Tue, Sep 13, 2016 at 10:46:58PM +0300, ilab...@gmail.com wrote: > Why would you want to do this? It makes som

[dev] Djvu viewer

2016-09-13 Thread Hadrien LACOUR
Hello, I'm becoming interested in converting all my PDFs to Djvu, but I don't seem to find a relatively not bloated viewer (like Mupdf). Looked at zathura-djvu, djview and apvlv. They all require some sort of toolkit (Qt or gtk+3) and even the dbus cancer. Any recommendation?

Re: [dev] Never Ending Systemd Chronicles

2016-08-05 Thread Hadrien LACOUR
On Fri, Aug 05, 2016 at 08:26:42AM -0300, Marc Collin wrote: > I got introduced to s6-rc [0] lately. > Do you guys have any experience with it? > > [0] http://skarnet.org/software/s6-rc/ > When I compared daemontools, runit and this one, I thought it was the best. Nice comparison: http://skarnet.

Re: [dev] Never Ending Systemd Chronicles

2016-08-05 Thread Hadrien LACOUR
On Fri, Aug 05, 2016 at 11:58:25AM +0200, FRIGN wrote: > > Of course, runit is only a service manager. But runit+sinit+misc is a > whole other story. > > Cheers > > FRIGN > > -- > FRIGN > What? I'm pretty sure runit can do init. As for the systemd controversy, I used for a long time on Arc

Re: [dev] JWM on website

2016-08-02 Thread hadrien . lacour
I'd say cwm instead of evilwm. When I had to use an ant screen laptop, it was pretty nice. The only thing I lacked is workspaces. On Wed, Aug 03, 2016 at 07:25:56AM +1000, Timothy Rice wrote: > Hi Pat, > > > http://incise.org/not-so-tiny-window-managers.html > > On that list I see evilwm. Appar

Re: [dev] [st] Latest git - Nano with syntax highlighting strange bug

2016-07-18 Thread hadrien . lacour
On Mon, Jul 18, 2016 at 10:07:36AM -0400, Greg Reagle wrote: > On Sun, Jul 17, 2016 at 10:45:10PM +0200, hadrien.lac...@openmailbox.org > wrote: > > I've recently changed from urxvt to st and noticed a bug when using nano > > which will be easier to describe with a short gif: > > https://a.cocai

Re: [dev] [st] Latest git - Nano with syntax highlighting strange bug

2016-07-17 Thread hadrien . lacour
On Sun, Jul 17, 2016 at 03:41:07PM -0700, Eric Pruitt wrote: > On Mon, Jul 18, 2016 at 12:30:45AM +0200, hadrien.lac...@openmailbox.org > wrote: > > The problem might be hard to reproduce, so here's a simpler one > > https://a.cocaine.ninja/jihcdl.gif > > I tried that, and it also didn't give my

Re: [dev] [st] Latest git - Nano with syntax highlighting strange bug

2016-07-17 Thread hadrien . lacour
On Mon, Jul 18, 2016 at 12:23:22AM +0200, hadrien.lac...@openmailbox.org wrote: > On Mon, Jul 18, 2016 at 12:04:22AM +0200, hadrien.lac...@openmailbox.org > wrote: > > On Sun, Jul 17, 2016 at 02:22:00PM -0700, Eric Pruitt wrote: > > > On Sun, Jul 17, 2016 at 10:45:10PM +0200, hadrien.lac...@openma

Re: [dev] [st] Latest git - Nano with syntax highlighting strange bug

2016-07-17 Thread hadrien . lacour
On Mon, Jul 18, 2016 at 12:04:22AM +0200, hadrien.lac...@openmailbox.org wrote: > On Sun, Jul 17, 2016 at 02:22:00PM -0700, Eric Pruitt wrote: > > On Sun, Jul 17, 2016 at 10:45:10PM +0200, hadrien.lac...@openmailbox.org > > wrote: > > > I've recently changed from urxvt to st and noticed a bug when

Re: [dev] [st] Latest git - Nano with syntax highlighting strange bug

2016-07-17 Thread hadrien . lacour
On Sun, Jul 17, 2016 at 02:22:00PM -0700, Eric Pruitt wrote: > On Sun, Jul 17, 2016 at 10:45:10PM +0200, hadrien.lac...@openmailbox.org > wrote: > > I've recently changed from urxvt to st and noticed a bug when using nano > > which will be easier to describe with a short gif: > > https://a.cocaine

[dev] [st] Latest git - Nano with syntax highlighting strange bug

2016-07-17 Thread hadrien . lacour
Hello, I've recently changed from urxvt to st and noticed a bug when using nano which will be easier to describe with a short gif: https://a.cocaine.ninja/xtlajf.gif This issue happens ONLY when I change "static unsigned int tabspaces" from 8 to 4 in the config file.