#!/bin/sh # rxvt-unicode, which is what meta-gpe.oe lists for this image. # # The two terminals that were here before, rxvt-xterm and rxvt-xpm, both # reference XOpenIM/XCreateIC/XCloseIM as undefined GLOBAL symbols, and this # device's libX11 (a cut-down 303K kdrive-era build) has no X Input Method # support at all -- so neither could ever start, which took out Terminal and # anything else that needs a console, telnet included. rxvtd/rxvtc use no XIM. # # rxvt-unicode splits into a daemon and a client; nothing was starting the # daemon, so start it on demand here. if ! rxvtc -k 2>/dev/null; then rxvtd -q -f -o 2>/dev/null & i=0 while [ $i -lt 20 ]; do rxvtc -k 2>/dev/null && break i=$((i + 1)) sleep 0.2 2>/dev/null || sleep 1 done fi exec rxvtc "$@"