[완료] screen 사용중 title bar에 title나타내기
글쓴이: auditory / 작성시간: 수, 2009/01/14 - 5:04오후
ubuntu linux쓰고 있습니다.
screen을 한번 써볼까 하고 테스트하고 있습니다..
그런데 screen관련 정보들 (c-a c-w누르면 나오는것 정보 같은거..)
windowtitle bar에 나타나지 않고,
화면 왼쪽 하단에 나타났다가 사라집니다..
다른 머신 (centos linux가 깔린 머신)에서는
windowtitle bar에 잘 나타납니다..
양쪽의 bashrc, bash_profile 파일은 동일한데요..
어디를 바꿔줘야할까요??
== 수정 ==
centos쪽에서는 /etc/bashrc에 screen 관련 설정이 있더군요..
case "$TERM" in screen) if [ -e /etc/sysconfig/bash-prompt-screen ]; then PROMPT_COMMAND=/etc/sysconfig/bash-prompt-screen else PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}\033\\"' fi ;; esac
를 추가하니깐 screen 상태에서도 titlebar에 pwd가 나타납니다..
그런데 여전히 screen관련 정보들은 왼쪽하단에 나타나는군요...
== 추가 ==
좀더 찾아보니
/etc/screenrc 에 설정이 있더군요..
~/.screenrc에
hardstatus string "[screen %n%?: %t%?] %h"
를 추가해서 해결했습니다..
Forums:
FYI
http://blog.dustinkirkland.com/2008/12/ubuntu-server-includes-window-manager.html
https://code.launchpad.net/~kirkland/screen-profiles/trunk
----
I paint objects as I think them, not as I see them.
atie's minipage
----
I paint objects as I think them, not as I see them.
atie's minipage
댓글 달기