From bb786259cdeab9332a705f8a55ed79f6ac8532cc Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 31 Jan 2012 14:16:57 +0000 Subject: [PATCH] Add a new type '*.term' for running VTE terminal commands. --- examples/simple/{20-shell.sh => 20-shell.term} | 2 +- examples/simple/30-gears.sh | 3 + .../simple/{30-goodbye.html => 40-goodbye.html} | 5 +- examples/simple/functions | 11 +-- techtalk-pse.pl | 93 ++++++++++++++-------- 5 files changed, 69 insertions(+), 45 deletions(-) rename examples/simple/{20-shell.sh => 20-shell.term} (69%) create mode 100755 examples/simple/30-gears.sh rename examples/simple/{30-goodbye.html => 40-goodbye.html} (90%) diff --git a/examples/simple/20-shell.sh b/examples/simple/20-shell.term similarity index 69% rename from examples/simple/20-shell.sh rename to examples/simple/20-shell.term index eacada8..ae57fef 100755 --- a/examples/simple/20-shell.sh +++ b/examples/simple/20-shell.term @@ -2,4 +2,4 @@ source functions add_history echo History command number 2 add_history echo '"History command number 1"' -terminal --title="Press the UP ARROW to get history" +terminal diff --git a/examples/simple/30-gears.sh b/examples/simple/30-gears.sh new file mode 100755 index 0000000..3ba37c2 --- /dev/null +++ b/examples/simple/30-gears.sh @@ -0,0 +1,3 @@ +#!/bin/bash - +source functions +glxgears diff --git a/examples/simple/30-goodbye.html b/examples/simple/40-goodbye.html similarity index 90% rename from examples/simple/30-goodbye.html rename to examples/simple/40-goodbye.html index 2225729..82eb4f8 100644 --- a/examples/simple/30-goodbye.html +++ b/examples/simple/40-goodbye.html @@ -18,8 +18,9 @@ to find out how we did it: