1 diff --git a/src/xminicom b/src/xminicom
2 index a59aa08..cef153b 100755
7 # version $Id: xminicom,v 1.4 2008-06-09 20:48:35 al-guest Exp $
25 + result=$(command -v $1)
28 -if findcmd x-terminal-emulator
30 +if findcmd x-terminal-emulator ; then
31 exec $result -T minicom -e "if ! minicom -m -c on $*; then echo Press ENTER to continue...; read; fi"
35 -if findcmd color_xterm
37 +if findcmd konsole ; then
38 + exec $result -T minicom -geometry 80x25 -e minicom -m -c on "$@"
42 +if findcmd gnome-terminal ; then
43 + exec $result -T minicom -geometry 80x25 -e "if ! minicom -m -c on $*; then echo Press ENTER to continue...; read; fi"
47 +if findcmd color_xterm ; then
48 exec $result -T minicom -bg black -fg grey -n minicom -geometry 80x25 -e "if ! minicom -m -c on $*; then echo Press ENTER to continue...; read; fi"
54 +if findcmd rxvt ; then
55 exec $result -bg black -fg grey -n minicom -T minicom -sl 0 -geometry 80x25 -e "if ! minicom -m -c on $*; then echo Press ENTER to continue...; read; fi"
61 +if findcmd xterm ; then
62 exec $result -T minicom -n minicom -geometry 80x25 -e "if ! minicom -m -c on $*; then echo Press ENTER to continue...; read; fi"
68 - if [ -f /etc/debian_version ]
70 - exec $result -T minicom -n minicom -bg black -fg grey -geometry 80x25 -e "if ! minicom -m -c on $*; then echo Press ENTER to continue...; read; fi"
72 - exec $result -T minicom -n minicom -geometry 80x25 -e "if ! minicom -m -c on $*; then echo Press ENTER to continue...; read; fi"
77 -echo "xminicom: rxvt, color_xterm or xterm NOT found!" 1>&2
78 +echo "xminicom: konsole, gnome-terminal, rxvt, color_xterm or xterm NOT found!" 1>&2