--- rxvt-unicode/README.FAQ 2012/01/19 13:04:12 1.65 +++ rxvt-unicode/README.FAQ 2012/09/09 12:21:25 1.67 @@ -93,12 +93,12 @@ [ ${TERM:-foo} = foo ] && TERM=xterm # assume an xterm if we don't know if [ ${TERM:-foo} = xterm ]; then stty -icanon -echo min 0 time 15 # see if enhanced rxvt or not - echo -n '^[Z' + printf "\eZ" read term_id stty icanon echo if [ ""${term_id} = '^[[?1;2C' -a ${DISPLAY:-foo} = foo ]; then - echo -n '^[[7n' # query the rxvt we are in for the DISPLAY string - read DISPLAY # set it in our local shell + printf '\e[7n' # query the rxvt we are in for the DISPLAY string + read DISPLAY # set it in our local shell fi fi @@ -208,8 +208,8 @@ convert wallpaper.jpg -blur 20x20 -modulate 30 background.jpg urxvt -pixmap "background.jpg;:root" - That works. If you think it doesn't, you lack libAfterImage or - GDK-PixBuf support, or you are unable to read. + That works. If you think it doesn't, you lack GDK-PixBuf support, or you + are unable to read. 3. Use an ARGB visual: @@ -534,11 +534,11 @@ # use Backspace = ^H $ stty erase ^H - $ echo -n "^[[?67h" + $ printf "\e[?67h" # use Backspace = ^? $ stty erase ^? - $ echo -n "^[[?67l" + $ printf "\e[?67l" This helps satisfy some of the Backspace discrepancies that occur, but if you use Backspace = "^H", make sure that the termcap/terminfo value