Bug 150436
Summary: | problems with PS1 and PROMPT_COMMAND | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Florian Effenberger <floeff> | ||||||
Component: | bash | Assignee: | Tim Waugh <twaugh> | ||||||
Status: | CLOSED NOTABUG | QA Contact: | Ben Levenson <benl> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 4.0 | ||||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2005-03-07 16:09:22 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Florian Effenberger
2005-03-06 15:27:17 UTC
Created attachment 111714 [details]
screenshot
*** Bug 150437 has been marked as a duplicate of this bug. *** What does 'echo $TERM' say? I tried with TERM=screen and TERM=xterm Well, I meant if you don't set it yourself, but the documentation answers me: ==> A.5.1 What terminal type does PuTTY use? For most purposes, PuTTY can be considered to be an xterm terminal. [...] By default, PuTTY announces its terminal type to the server as xterm. If you have a problem with this, you can reconfigure it to say something else; vt220 might help if you have trouble. <== If this doesn't set your window title to show user 'foo': (USER=foo eval "$PROMPT_COMMAND"; sleep 5) then it's a PuTTY bug I think. With TERM=screen, it doesn't work, see attached screenshot. Created attachment 111756 [details]
screenshot
|