By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 1796
Collapse All | Expand All

(-)tdesdk/scripts/CMakeLists.txt (-1 / +1 lines)
Lines 19-25 Link Here
19
    svnversions svnchangesince findmissingcrystal tdesvn-build
19
    svnversions svnchangesince findmissingcrystal tdesvn-build
20
    kdedoc qtdoc extractrc extractattr zonetab2pot.py licensecheck
20
    kdedoc qtdoc extractrc extractattr zonetab2pot.py licensecheck
21
    fixkdeincludes fixuifiles includemocs cxxmetric extend_dmalloc
21
    fixkdeincludes fixuifiles includemocs cxxmetric extend_dmalloc
22
    kdekillall kdelnk2desktop.py package_crystalsvg png2mng.pl
22
    tdekillall kdelnk2desktop.py package_crystalsvg png2mng.pl
23
    kdemangen.pl
23
    kdemangen.pl
24
  DESTINATION ${BIN_INSTALL_DIR} )
24
  DESTINATION ${BIN_INSTALL_DIR} )
25
25
(-)tdesdk/scripts/Makefile.am (-1 / +1 lines)
Lines 9-15 Link Here
9
  svnchangesince findmissingcrystal tdesvn-build \
9
  svnchangesince findmissingcrystal tdesvn-build \
10
  kdedoc qtdoc extractrc extractattr zonetab2pot.py \
10
  kdedoc qtdoc extractrc extractattr zonetab2pot.py \
11
  licensecheck fixkdeincludes fixuifiles includemocs \
11
  licensecheck fixkdeincludes fixuifiles includemocs \
12
  cxxmetric extend_dmalloc kdekillall kdelnk2desktop.py \
12
  cxxmetric extend_dmalloc tdekillall kdelnk2desktop.py \
13
  package_crystalsvg png2mng.pl kdemangen.pl
13
  package_crystalsvg png2mng.pl kdemangen.pl
14
14
15
# Install syntax highlighting file for KWrite/Kate.
15
# Install syntax highlighting file for KWrite/Kate.
(-)tdesdk/scripts/README (-1 / +1 lines)
Lines 13-19 Link Here
13
13
14
extend_dmalloc	Script to run gdb on return-addresses
14
extend_dmalloc	Script to run gdb on return-addresses
15
15
16
kdekillall	Kills the process "tdeinit: <process> with signal <signal>
16
tdekillall	Kills the process "tdeinit: <process> with signal <signal>
17
17
18
=== PROGRAMMING SUPPORT
18
=== PROGRAMMING SUPPORT
19
19
(-)tdesdk/scripts/completions/zsh/_kdekillall (-8 lines)
Lines 1-8 Link Here
1
#compdef kdekillall
2
3
local progs
4
progs=(`ps x | grep tdeinit: | grep -v Running | grep -v grep | sed 's,.*tdeinit: ,,' | sed 's, .*,,'`)
5
6
_alternative \
7
	'Q_SIGNALS:: _Q_SIGNALS -p' \
8
	'compadd $progs'
(-)tdesdk/scripts/completions/zsh/_tdekillall (+8 lines)
Line 0 Link Here
1
#compdef tdekillall
2
3
local progs
4
progs=(`ps x | grep tdeinit: | grep -v Running | grep -v grep | sed 's,.*tdeinit: ,,' | sed 's, .*,,'`)
5
6
_alternative \
7
	'Q_SIGNALS:: _Q_SIGNALS -p' \
8
	'compadd $progs'
(-)tdesdk/scripts/kdekillall (-28 lines)
Lines 1-28 Link Here
1
#! /bin/sh
2
3
case $1 in
4
    -*) signal=$1; shift;;
5
esac
6
if [ $# = 0 ]; then
7
    echo "Usage: $0 [-<signal>] <process>"
8
    echo 'Kills the process "tdeinit: <process> with signal <signal>"'
9
	echo "if <signal> is not specified, it defaults to SIGTERM,"
10
	echo "see kill -l for a list of possible Q_SIGNALS"
11
else
12
    list=$(ps auwx | grep $USER | awk "/[k]deinit: $1/ {print \$2}")
13
    if test -z "$list"; then
14
        # on newer Linux kernels (>= 2.6.10) KDE is able to use 
15
        # prctl(PR_SET_NAME) to change the process name...
16
        list=$(ps auwx | grep $USER | awk "/\[tdeinit\] $1/ {print \$2}")
17
    fi
18
    if test -z "$list"; then
19
        # with KDE 3.4 we changed the view again...
20
        list=$(ps auwx | grep $USER | awk "/$1 \[tdeinit\]/ {print \$2}")
21
    fi
22
    if test -n "$list"; then 
23
        kill $signal $list
24
    else
25
        echo 'No process killed'
26
        exit 1
27
    fi
28
fi
(-)tdesdk/scripts/tdekillall (+28 lines)
Line 0 Link Here
1
#! /bin/sh
2
3
case $1 in
4
    -*) signal=$1; shift;;
5
esac
6
if [ $# = 0 ]; then
7
    echo "Usage: $0 [-<signal>] <process>"
8
    echo 'Kills the process "tdeinit: <process> with signal <signal>"'
9
	echo "if <signal> is not specified, it defaults to SIGTERM,"
10
	echo "see kill -l for a list of possible SIGNALS"
11
else
12
    list=$(ps auwx | grep $USER | awk "/[k]deinit: $1/ {print \$2}")
13
    if test -z "$list"; then
14
        # on newer Linux kernels (>= 2.6.10) KDE is able to use 
15
        # prctl(PR_SET_NAME) to change the process name...
16
        list=$(ps auwx | grep $USER | awk "/\[tdeinit\] $1/ {print \$2}")
17
    fi
18
    if test -z "$list"; then
19
        # with KDE 3.4 we changed the view again...
20
        list=$(ps auwx | grep $USER | awk "/$1 \[tdeinit\]/ {print \$2}")
21
    fi
22
    if test -n "$list"; then 
23
        kill $signal $list
24
    else
25
        echo 'No process killed'
26
        exit 1
27
    fi
28
fi

Return to bug 1796