From d75daa6ddd39a4b9f1f7c43f5a15564166d3ecb1 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Sat, 20 Mar 2010 15:00:56 +0000 Subject: [PATCH] Update documentation. --- TODO | 19 +++++++++++++++++++ techtalk-pse.pl | 14 +++++++++++++- 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/TODO b/TODO index 3a1ff53..1831da1 100644 --- a/TODO +++ b/TODO @@ -6,3 +6,22 @@ Menu should include: go to a particular slide. Take a screenshot + +Allow placement: + + 0010L-hello.html +-----------+-----------+ + 0010R-hello.html | | | + | L | R | + | | | + +-----------+-----------+ + +similarly 'A' (above) and 'B' (below). + +Allow placement across monitors. + +Allow talk notes to be placed permanently on one monitor (is this +useful though? speaker could just open an editor with the notes +separately). + +Fix Gtk2::Embed so it doesn't keep crashing and so we can +run everything in a single process. diff --git a/techtalk-pse.pl b/techtalk-pse.pl index 84f83e8..68891a4 100755 --- a/techtalk-pse.pl +++ b/techtalk-pse.pl @@ -587,9 +587,16 @@ terminal. In C, I have: # -*- shell-script -*- + + # Place any local environment variables required in 'local'. + if [ -f local ]; then source local; fi + export PS1="$ " - export HISTFILE=/tmp/history + + export HISTFILE=$talkdir/history + rm -f $HISTFILE + touch $HISTFILE add_history () { @@ -598,6 +605,11 @@ In C, I have: terminal () { + # Make $HISTFILE unwritable so the shell won't update it + # when it exits. + chmod -w $HISTFILE + + # Run gnome-terminal. exec \ gnome-terminal \ --window \ -- 1.8.3.1