summaryrefslogtreecommitdiff
path: root/xpine
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2002-03-10 08:24:55 +0000
committerJonas Smedegaard <dr@jones.dk>2002-03-10 08:24:55 +0000
commit4fb53e4645bb1d6103b90f4c91b7826867b30d9c (patch)
tree36a7c481f121c35841e9ab09ca0a3d05228c8837 /xpine
parent2efc6bc6e6c3ddc1a83399e8d71913c73bded873 (diff)
Optimize xsh terminal handling and local/remote options, and use the script - correctly - with xmc and xpine.
Diffstat (limited to 'xpine')
-rwxr-xr-xxpine8
1 files changed, 7 insertions, 1 deletions
diff --git a/xpine b/xpine
index afa8314..5f8eede 100755
--- a/xpine
+++ b/xpine
@@ -1,4 +1,10 @@
#!/bin/sh
-rxvt +sb -sl 500 -n "Pine" -title "Pine" -e pine &
+#rxvt +sb -sl 500 -n "Pine" -title "Pine" -e pine &
#exec rxvt +sb -sl 500 -n "Pine" -title "Pine" -e pine
+
+if [ $# -eq 0 ]; then
+ xsh localhost pine
+else
+ xsh $@ pine
+fi