Re: [dev] [ii] how do you use it?

2016-05-06 Thread Mitt Green
Kamil Cholewiński wrote: In all seriousness, ii is more of a library [...] I like the idea anyway, even without extensions. It's usable, though with a steep leaning curve. Well, IMHO... Documentation for all suckless projects... hm, kind of sucks. Think of it more as a feature :) "Go figur

Re: [dev] [ii] how do you use it?

2016-05-06 Thread Mitt Green
So, FIFO in the description[1] [1]: http://tools.suckless.org/ii/

Re: [dev] [ii] how do you use it?

2016-05-06 Thread Mitt Green
Kamil Cholewiński wrote: You probably want irssi or bitchx or xchat or pidgin or ii is when you know exactly what you need and you see ii is the way to get it. Think of it as Lego for grownups. So, FIFO in the description[1] means "fit in or f#$! off"? By the way, thanks for the recommenda

[dev] [ii] how do you use it?

2016-05-06 Thread Mitt Green
Hey, Sorry for kinda noobish question. I can't figure out how ii works. Here's what I did: 1. compiled it; 2. ran "ii -n -s irc.ubuntu.com" ; 3. "echo "/j #ubuntu" > in" ; 4. and nothing happened. I checked ~/irc/irc.ubuntu.com/out and there are channel messages, like "Looking up your hostname

Re: [dev] [dwm] under NetBSD

2016-05-04 Thread Mitt Green
Leonardo Taccari wrote: ‎ > LIBS = -L${X11LIB} -lX11 -Wl,-R${X11LIB} ${XINERAMALIBS} ${FREETYPELIBS} ^ This. My error was the space between "-Wl," and "-R". Modifying FREETYPEINC is unnecessary, I've uncommented OpenBSD line. I'm reading from my smartphone ‎and sometimes it's hard to say if there

Re: [dev] [dwm] under NetBSD

2016-05-04 Thread Mitt Green
‎Dimitris Papastamos wrote: ‎ > http://www.netbsd.org/docs/elf.html#elf-rpath This is helpful, though I still can't solve the problem. I've tried putting "-Wl, -R/usr/X11R7/lib" in config.mk CFLAGS and got the same error. Putting it in LDFLAGS causes ld to complain‎ about not being able to find "f

[dev] [dwm] under NetBSD

2016-05-03 Thread Mitt Green
Hi, I adjusted paths in config.mk: X11INC = /usr/X11R7/include X11LIB = /usr/X11R7/lib FREETYPEINC = ${X11INC}/freetype2‎ It compiles successfully, but startx/xinitrc show me X for a second and then it goes back to tty. Typing dwm from tty gives 'Shared object "libX11.so.7" not found' libX11.so

Re: [dev] "Note On Webkit Versions"

2016-05-01 Thread Mitt Green
> but find me portable and usable C UI toolkit > without tons of dependencies ‎ Tcl/Tk

Re: [dev] [scc] issues with invoking

2016-04-20 Thread Mitt Green
k...@shike2.com wrote: This is my way of thinking, because if you need asm, then your code is not portable at all, and then it is better to move the asm to a function and coded it directly in asm in a .as file. .S or .asm actually, .as is ActionScript. If my two cents are counted, I suppose a

Re: [dev] [scc] issues with invoking

2016-04-19 Thread Mitt Green
We don't want to follow all the extensions of GNU, this is for sure. If you try to be compatible with GCC at the end you become GCC. If the big project is C99 or POSIX the our target is begin able to compile it. If the big project is Linux/GCC,then we don't care (if you want gcc, you know where to

Re: [dev] [stali] make install fails on kbd

2016-04-18 Thread Mitt Green
Anselm R Garbe wrote: Please update and let me know if it works now. I removed the Makefile-dependency here. Only remaining place is sys and ncurses. It installs now successfully.

Re: [dev] [stali] make install fails on kbd

2016-04-18 Thread Mitt Green
Anselm R Garbe wrote: No, can you provide full logs of your last command, just want to see how it looks and where it might fail. Here you are.make[1]: Entering directory '/home/mitt/stalibuild/src/etc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/mitt/stalibuild/src

Re: [dev] [stali] make install fails on kbd

2016-04-18 Thread Mitt Green
Anselm R Garbe wrote: I can't reproduce your issue. I renamed src into src2 and performed a clean build and make install, no such issue. I can't help but it ran into the same thing again. Let me describe my process then: 1) mkdir stalibuild in my home 2) cd stalibuild 3) cloning toolchain and

Re: [dev] [stali] make install fails on kbd

2016-04-18 Thread Mitt Green
Anselm R Garbe wrote: Also make sure you are at least using: http://git.sta.li/src/commit/?id=acbd9df7cbdc6a949c962ca887fb5f8d799c3bfa No, wait, I looked at mine, it has $(ROOT) too. Alright, anyway, better be rebuilding the whole world.

Re: [dev] [stali] make install fails on kbd

2016-04-18 Thread Mitt Green
Anselm R Garbe wrote: [...] Also make sure you are at least using: http://git.sta.li/src/commit/?id=acbd9df7cbdc6a949c962ca887fb5f8d799c3bfa Oh, that's the case. Strange, I pulled the entire tree just yesterday. And also tried replacing /home/anselm/src with $(ROOT) but it skipped the $(ROOT)

Re: [dev] [stali] make install fails on kbd

2016-04-18 Thread Mitt Green
Anselm R Garbe wrote: So you are talking about src/bin/kbd/Makefile or NOT? Yes, this one. Yes, but why do you run make install in src/bin/kbd? You should run make -f stali.mk install Sorry, I read it wrong and ran "make -f stali.mk" in src/bin/kbd. So, I ran "make -f stali.mk install" in

Re: [dev] [stali] make install fails on kbd

2016-04-18 Thread Mitt Green
Anselm R Garbe wrote: Hi there, Hi, Which Makefile are you talking about? src/bin/kbd/Makefile should not be considered, only stali.mk. I'm talking about this Makefile, because... Can you provide the output of cd src/bin/kbd && make -f stali.mk install please? No errors, which is not s

Re: [dev] [stali] make install fails on kbd

2016-04-17 Thread Mitt Green
Marc Collin wrote: Good idea? for i in *; do sed -i 's/anselm/$USER/g' "$i"; done I've tried replacing with "$(ROOT)/../" and "$USER", with the first it simply skips $(ROOT) and starts with /../, with the second one it skips $U and starts with SER; e.g.: ACLOCAL = ${SHELL} /home/$USER/src/bin

Re: [dev] [stali] make install fails on kbd

2016-04-17 Thread Mitt Green
I also found hardcode references to Anselm's home folder in other Makefiles, apart from kbd: curl, parted, gzip, libarchive. There is yet no mksh in /bin (install destination).

Re: [dev] [stali] make install fails on kbd

2016-04-17 Thread Mitt Green
Marc Collin wrote: It seems to hardcode the user's home path to /home/anselm and the problem can be you have anther username? http://git.sta.li/src/tree/bin/kbd/Makefile#n146 I have another username (mitt, obviously :) ) and when I saw it, I though that this is from one of stali.mk's but could

Re: [dev] [scc] issues with invoking

2016-04-17 Thread Mitt Green
I forgot to ask, will scc be intended for building something big, say, GTK+ programmes, or maybe even the kernel? And what about inline assembly and compiling assembly code itself? / Mitt

[dev] [stali] make install fails on kbd

2016-04-17 Thread Mitt Green
Hey, I'm trying to build stali, running "make install" goes fine except for kbd; it entres src/bin/kbd, then goes "CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/anselm/src/bin/kbd/config/missing --run aclocal-1.11 -I m4" and then it certainly fails. It successfully installs other binar

Re: [dev] [scc] issues with invoking

2016-04-14 Thread Mitt Green
Louis Santillan wrote: The C version of Let's Build a Compiler is here [0][1]. There are multiple versions/recent updates by people other than Peter Gray's original translation [2][3][4]. The original/Pascal version by Jack Crenshaw is here [5]. I've also been reading Wirth's original Pascal c

Re: [dev] [scc] issues with invoking

2016-04-14 Thread Mitt Green
k...@shike2.com wrote: [...] Thanks for the info! I ran "make multi; make install", however... The error that should not happen is the error related to cc2. Do you have it in $PREFIX/libexec/scc/? I tried to ran cc2 from the directory, but it still hangs. Even if I simply try "./cc2". The s

[dev] [scc] issues with invoking

2016-04-12 Thread Mitt Green
Hi, I usually compile suckless software with tcc, but it fails at static linking, so I found myself cloning scc. I changed PREFIX in config.mk to /usr/local and successfully installed it. First, what are cc1 and cc2? Also, I couldn't find a man page. Compiling Hello World with cc1 says it can't

Re: [dev] [st] possible bug with unicode character

2016-04-12 Thread Mitt Green
Works here too. If I type something right after the arrow, the latter cuts a bit though, being still visible. Mitt

Re: [dev] [st] minor issue and scrollback patch

2016-04-10 Thread Mitt Green
Bryan Bennett wrote: Unless I'm reading this improperly, the cursor's color would still change because of the if-block between line 3858 and ~3875. Even if the colour changes, I can't see it. It looks like you could simply remove the if-statement that Pickfire is mentioning entirely and stru

Re: [dev] [st] minor issue and scrollback patch

2016-04-09 Thread Mitt Green
‎> So, I wonder if cursor shape on inactive terminals could be changed, > 'tis always an empty block It's probably a bad idea after all. I then wouldn't be able to know, what terminal is active before actually typing somethin‎g. So, everything is fine. Thanks, Mitt

Re: [dev] [st] minor issue and scrollback patch

2016-04-08 Thread Mitt Green
Draco Metallium wrote: Did you ever change config.def.h? By hand or maybe with another patch? I did, by hand, after first clone from git. You know, there was no config.h, so instead of copying config.def.h, I changed the latter. If so, just add "#define histsize 2000" to it (just after "stat

[dev] [st] minor issue and scrollback patch

2016-04-08 Thread Mitt Green
Hi everyone, 1) In st I use underline as a cursor, but whatever cursor I choose, on inactive window there is always an empty block. 2) Trying to apply the patch [1] leads to: patching file config.h HUNK #1 failed at 7 ... [I changed config.def.h to config.h, but even if not, it doesn't

Re: [dev] [OT] software recommendations

2016-04-07 Thread Mitt Green
Mattias Andrée wrote: I did a search on the word, and it came up a lot. Oh, it is. AT&T files end with .S and NASM's with .asm. There are much more .S vs .asm - 38 vs 17. Why writing some code in one with one assembly and some with another, I wonder.

Re: [dev] [OT] software recommendations

2016-04-07 Thread Mitt Green
Mattias Andrée wrote: No it does not look like NASM, perhaps it was and older version that used it, perhaps only other parts of SYSLINUX, NASM is still used in SYSLINUX. It was a very long time since I looked that it. I checked pretty much every assembly file, no sign of NASM there. Too bad

Re: [dev] [OT] software recommendations

2016-04-07 Thread Mitt Green
Mattias Andrée wrote: The SYSLINUX bootmanager (stage 1) is written in NASM (assembly with sane syntax) No wondering, Peter Anvin works at Intel :) I am actually exloring assembly, but using AT&T syntax, which I personally prefer. UPD: if I understand something, this is not Intel/NASM syntax.

[dev] [OT] software recommendations

2016-04-07 Thread Mitt Green
Hi, 1) GRUB2 is too big, but what would you recommend as an alternative? Say, a bootloader that just boots my machine :) BSD support would be great. 2) I usually build suckless software with tcc (can't build scc just yet), but kernels are usually compiled with gcc and, less frequently, LLVM. H

Re: [dev] [dmenu] A couple of small issues

2016-03-29 Thread Mitt Green
Quentin Rameau wrote: What about with a correct fontconfig name, like "Droid Sans:style=Bold:size=12"? It works :) I don't know what is that Sauerbraten, maybe it needs some environment variable which isn't correctly setup in your global env? Any output there you could analyze? Sauerbraten

[dev] [dmenu] A couple of small issues

2016-03-29 Thread Mitt Green
Hi, My first post here, so I'd like to thank everyone at suckless working hard to produce quality software and hackable code. The first issue is font: --- static const char *fonts[] = { "Droid Sans Bold:size=12" }; --- produces a slightly bigger font than just "Droid Sans:siz