rxvt prompt is 'broken' in 1.0.5 (Solved)
Posted: Sat 01 Oct 2005, 13:53
Since I've upgraded to 1.0.5, I've found the prompt in my rxvt sessions is not as I expect it to look.
I include the node name in the PS1 variable in /root/.rxvtrc (and export it there) and I have an entry in /etc/profile:
..which worked from v0.9.7 or so up until 1.0.5. When I open an rxvt session under X, I only get the normal '#' prompt, whereas if I exit X and get to a 'console' prompt, the prompt is as I expect it to appear.
What seems to be happening is that under X, I seem to be running bash rather than (Busybox's) sh. If I type 'blah' at a prompt in an rxvt session under X, a message is displayed: 'bash: blah: command not found' Whereas if I try that at the 'console' prompt, I see the message: 'blah: no such file or directory'.
In the rxvt session under X, if I try typing: /bin/sh /usr/local/bin/rxvt I get the message: '/usr/local/bin/rxvt: 1: Syntax error: "(" unexpected'.
Is there some way that I can get my prompt working again under X?
I include the node name in the PS1 variable in /root/.rxvtrc (and export it there) and I have an entry in /etc/profile:
Code: Select all
export ENV=/root/.rxvtrc
What seems to be happening is that under X, I seem to be running bash rather than (Busybox's) sh. If I type 'blah' at a prompt in an rxvt session under X, a message is displayed: 'bash: blah: command not found' Whereas if I try that at the 'console' prompt, I see the message: 'blah: no such file or directory'.
In the rxvt session under X, if I try typing: /bin/sh /usr/local/bin/rxvt I get the message: '/usr/local/bin/rxvt: 1: Syntax error: "(" unexpected'.
Is there some way that I can get my prompt working again under X?