On 2018-04-02 19:18, Bas Zoutendijk wrote: > That is exactly what I meant to do, and I admit it is rather kludgey. > Because of the single quotes, which are around everything but $HOST, > the double quotes are literally echoed. The child shell will > therefore see the PS1 definition surrounded by double quotes. The > echo part should be equivalent to this, which may be clearer: > > echo "export PS1=\"(chroot $HOST) \$PS1\"; exec <dev/tty" > > For the record, my original Goldberg device works for me. /How/ it > works is another question, on which we will hopefully reach consensus > at some point.
I see. Color me stumped; your solution should work. -- Please don't Cc: me privately on mailing lists and Usenet, if you also post the followup to the list or newsgroup. To reply privately _only_ on Usenet and on broken lists which rewrite From, fetch the TXT record for no-use.mooo.com.