repo.or.cz
/
ion1.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Renamed package to ion1, and made it conflict with package 'ion'.
[ion1.git]
/
scripts
/
ion-runinxterm
blob
e581388a7a01f09b4db8a7bf4878223a73f87dd4
1
#!/bin/sh
2
3
test
"
$XTERMCMD
"
|| XTERMCMD
=
"x-terminal-emulator"
4
5
if
test
$#
-lt
1
;
then
6
echo
error
7
exit
0
8
fi
9
10
if
test
"
$1
"
=
"--"
;
then
11
shift
12
eval
"$@"
||
{
13
echo
"Press enter..."
14
read
nothing
15
}
16
exit
17
fi
18
19
if
test
"
$1
"
=
"-T"
;
then
20
if
test
$#
-lt
3
;
then
21
echo
error
22
exit
0
23
fi
24
title
=
"
$2
"
25
shift
2
26
else
27
title
=
"
$1
"
28
fi
29
30
exec
$XTERMCMD
-T
"
$title
"
-e
$0
--
"$@"