From: Richard Jones Date: Sat, 20 Mar 2010 15:00:56 +0000 (+0000) Subject: Update documentation. X-Git-Tag: 1.0.0~8 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=d75daa6ddd39a4b9f1f7c43f5a15564166d3ecb1;p=techtalk-pse.git Update documentation. --- 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 \