bash manpage: wrong filename for bash_logout

2006-05-26 Thread sven
Configuration Information [Automatically generated, do not change]:
Machine: i486
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i486'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL
-DHAVE_CONFIG_H  -I.  -I../bash -I../bash/include -I../bash/lib   -g -O2
uname output: Linux hostname 2.6.12-9-386 #1 Mon Oct 10 13:14:36 BST 2005 i686
GNU/Linux
Machine Type: i486-pc-linux-gnu

Bash Version: 3.0
Patch Level: 16
Release Status: release

Description:
I wanted to clear the screen every time a user logs out.
(system-wide setting). "man bash" says in the "FILES" section
that I can write a script "/etc/bash_logout" which in my case
would consist of only the "clear" command.

This does not work.

Some website I found says that this file should be named
"/etc/bash.bash_logout" instead. This works fine. So I think
the mistake is rather in the manpage than in bash itself.

Please correct the manpage. Some sysadmins can save a lot of
time if they don't need to explore it themselves.

Repeat-By:
run "man bash", search for "cleanup", scroll one line up.

Fix:
Dunno how manpages are made, but I guess it's easy :-)


Yours sincerely,
Sven



___
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash


lines do not wrap properly in a new window

2006-05-26 Thread Greg Wooledge
Configuration Information [Automatically generated, do not change]:
Machine: hppa2.0
OS: hpux10.20
Compiler: /net/appl/gcc-3.3/bin/gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='hppa2.0' 
-DCONF_OSTYPE='hpux10.20' -DCONF_MACHTYPE='hppa2.0-hp-hpux10.20' 
-DCONF_VENDOR='hp' -DLOCALEDIR='/usr/local/share/locale' -DPACKAGE='bash' 
-DSHELL -DHAVE_CONFIG_H -DHPUX   -I.  -I. -I./include -I./lib -I./lib/intl 
-I/var/tmp/bash-3.1/lib/intl -I/net/appl/tool/include -g -O2
uname output: HP-UX imadev B.10.20 A 9000/785 2008897791 two-user license
Machine Type: hppa2.0-hp-hpux10.20

Bash Version: 3.1
Patch Level: 17
Release Status: release

Description:
Upon launching a new window (rxvt) from my X window manager, lines of
text do not wrap properly.  Holding down a key causes the screen to
look like this:

xxadev:~$ xx

Typing "exec bash" to restart bash in the same window makes the problem
go away.  (Typing just "bash" would also work, but I prefer the exec.)

The problem occurs for me in bash 3.1 or in bash 3.1.17.  I have not
tried bash 3.0 on this machine.  It did *not* occur in bash 2.05b or
2.05.

One other person on a totally different system has also reported
seeing it in bash 3.0.  The same workaround was effective there.

The problem is 100% reproducible in my setup, but it only occurs under
a very strict set of circumstances:

 * If I launch an xterm instead of an rxvt, it doesn't happen.
 * If I launch an rxvt from another rxvt (instead of from the window
   manager's menu), it doesn't happen.
 * BUT... if I launch an rxvt from an xterm, it *does* happen.
 * It also happens in aterm.
 * Clearing rxvt's settings (xrdb http://lists.gnu.org/mailman/listinfo/bug-bash