=== modified file 'xsession-skel/homedir/bin/c.urxvt' --- old/xsession-skel/homedir/bin/c.urxvt 2024-07-31 22:50:19 +0000 +++ new/xsession-skel/homedir/bin/c.urxvt 2024-07-31 22:48:55 +0000 @@ -63,3 +63,32 @@ typeset -f -t main main "$@" + + +#local -a el_env=( +# EXEC_PATH=$sock +# TERM_NAME=$container +#) +#local -a el_cmd=( +# 'multisubstitute {' +# ' importas -i -u EXEC_PATH EXEC_PATH' +# ' importas -i -u TERM_NAME TERM_NAME' +# '}' +# '/mnt/ns/bin/socketpair 3 1' +# 'background {' +# ' fdclose 3' +# ' s6-sudo $EXEC_PATH' +# ' strace -fve trace=execve' +# ' /mnt/ns/bin/spawn-pty rxvt-unicode-256color {' +# " $cmd" +# ' } /mnt/ns/bin/fdsend 1 0' +# ' importas -i -u PTS_NAME PTS_NAME' +# ' printf %s\n $PTS_NAME' +# '}' +# 'fdmove -c 1 2' +# '/mnt/ns/bin/fdrecvto 3 4' +# 'backtick -E PTS_NAME { fdmove 0 3 cat }' +# 'fdclose 3' +# 'urxvt -name ${TERM_NAME}:${PTS_NAME} -pty-fd 4' +#) +#exec env $el_env execlineb -c "${(F)el_cmd}"