Package: screen
Version: 4.0.3-7
Severity: normal

The output of the shell command `tput sgr0' unsets foreground,
background, blinking, underlining, bold, etc. properties.  Text
emmitted after it will not be specially coloured or emphasized.

With the following entry in my .screenrc, if the screen with the
highest number has keyboard input focus, then it will appear on the
extreme bottom right of the screen, bold and underlined.

    caption always '%{=}%Y-%m-%dT%0c %l %H%? %1` %: 
%?%?%0`%?%=%-Lw%{=bu}%50>%n%f* %t%{-}%+Lw%<'

For example, with a single screen titled "#screen - Emacs" open, the
string "0$* #screen - Emacs" is bold and underlined.

    2007-12-18T13:54 0.00 0.00 0.00 gochujang (#e,#x)           0$* #screen - 
Emacs

Secondly, in my .screenrc I use the following command to lock my
session after a timeout period.  Because I also use :password, this
will result in a two-stage prompt -- first for my login password, then
for my screen session password.

    idle 1800 lockscreen

Lately I have noticed that if this idle timer engages while the
bottom-right corner character is bold and underlined, the password
prompts are also bold and underlined.  This is irritating.  I would
like screen to issue an sgr0 before switching to the password prompt,
so the prompts are not bold and underlined.

I further notice that engaging :lockscreen directly (C-a x) does *NOT*
cause this problem -- with C-a x the prompts are not bold or
underlined.

I will attach a full copy of my .screenrc in a followup; an updating
copy can be found at ftp://twb.ath.cx/Preferences/.screenrc .

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-3-amd64 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages screen depends on:
ii  libc6                     2.7-4          GNU C Library: Shared libraries
ii  libncursesw5              5.6+20071124-1 Shared libraries for terminal hand
ii  libpam0g                  0.99.7.1-5     Pluggable Authentication Modules l

screen recommends no packages.

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to