Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50888 - updated bash ebuild with PREEXEC_COMMAND patch
Summary: updated bash ebuild with PREEXEC_COMMAND patch
Status: RESOLVED DUPLICATE of bug 31414
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://netzverschmutzer.org/~rvb/scri...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-12 16:06 UTC by Sven Wegener
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
bash-2.05b-r9-to-r10.patch (bash-2.05b-r9-to-r10.patch,809 bytes, patch)
2004-05-12 16:07 UTC, Sven Wegener
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Wegener gentoo-dev 2004-05-12 16:06:19 UTC
hi,

i updated the ebuild to use the PREEXEC_COMMAND patch from http://netzverschmutzer.org/~rvb/scripts.shtml

this patch modifies bash so that the contents of the shell variable
PREEXEC_COMMAND will be executed before bash will execute a command.
it also modifies bash to set the array CMD to the current running
program + arguments. for example PREEXEC_COMMAND='echo -en "\033]2;${CMD[*]}\a"'
will update the title bar of xterms with the current running command.
in conjunktion with PROMPT_COMMAND which is by default in
/etc/skel/.bashrc this keeps track about which command you're running
in which xterm. i would suggest if this patch gets applied that
the above PREEXEC_COMMAND statement is inclued in /etc/skel/.bashrc

sven
Comment 1 Sven Wegener gentoo-dev 2004-05-12 16:07:34 UTC
Created attachment 31302 [details, diff]
bash-2.05b-r9-to-r10.patch
Comment 2 SpanKY gentoo-dev 2004-12-15 18:55:16 UTC

*** This bug has been marked as a duplicate of 31414 ***