paulgorman.org

< ^ txt

Thu Jul 7 07:57:23 EDT 2016 Slept from around eleven to seven. Woke once in the night, briefly. Mostly sunny. High of ninety-one. Goals: Work: - Finish Python notes Some. - Write MySQL table structure for after-hours maintenance system No. Useful for testing http scripts/bots/etc: http://httpbin.org/ I really like suckless st, but I'm running into all kinds of problems with remote boxes not recognizing "stterm-256color". Sigh. terminfo. termcap. Sigh. Stretch is fine; jessie is not (although it has "st-256color"). OpenBSD seems OK, FreeBSD does not. Unfortunately, the simplest solution may be to recompile st to identify itself as 'xterm-256color'. % cd ~/repo % git clone git://git.suckless.org/st % cd ~/repo/st % vim config.h - static char termname[] = "st-256color"; + static char termname[] = "xterm-256color"; and while we're at it: - static char font[] = "Liberation Mono:pixelsize=12:antialias=true:autohint=true"; + static char font[] = "Liberation Mono:pixelsize=12:antialias=true:autohint=false:hinting=true::hintstyle=hintslight"; - static unsigned int defaultfg = 7; - static unsigned int defaultbg = 0; + static unsigned int defaultfg = 15; + static unsigned int defaultbg = 236; % sudo apt-get install x11proto-core-dev libx11-dev libxft-dev % make clean install It gets installed to /usr/local/bin/st. I think that's about enough yak shaving for today. Twenty-five minute walk at lunch. Saw a couple of crows flying quickly. Walked up to Starbucks to get an iced chai. Hotter than yesterday. st might join the list of software I use everyday and like... which currently includes vim, tmux, zsh, dmenu, Debian, and cwm. I still love wmii, and wish it was still maintained. OpenBSD would be on the list if I used it more. Yvonne called. Dad was admitted to the hospital again today. He went in for a procedure, but his blood levels weren't good. Home: - Drawing practice No. Called up to Beaumont to get dad's room number, but they said they haven't admitted him. Not sure what's going on. I left a message for Yvonne on their home machine. Watched an episode of Penny Dreadful on Netflix. Yvonne called me back. He's still in emergency due to some administrative issue, but he's doing better than he was this morning. She'll update me tomorrow. Breakfast: mixed greens, carrots, yogurt with berries, coffee with half-and-half Lunch: a few nuts, iced chai tea Dinner: chicken sandwich and fries from Tubby's

< ^ txt