[23836] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r23447 - trunk/debathena/debathena/xsession/debian

daemon@ATHENA.MIT.EDU (broder@MIT.EDU)
Wed Feb 4 19:57:27 2009

Date: Wed, 4 Feb 2009 19:57:01 -0500 (EST)
From: broder@MIT.EDU
Message-Id: <200902050057.TAA17089@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: broder
Date: 2009-02-04 19:56:59 -0500 (Wed, 04 Feb 2009)
New Revision: 23447

Modified:
   trunk/debathena/debathena/xsession/debian/changelog
   trunk/debathena/debathena/xsession/debian/xsession.bash
   trunk/debathena/debathena/xsession/debian/xsession.tcsh
Log:
Bring back initial xterm code from Athena 9.


Modified: trunk/debathena/debathena/xsession/debian/changelog
===================================================================
--- trunk/debathena/debathena/xsession/debian/changelog	2009-02-03 20:28:41 UTC (rev 23446)
+++ trunk/debathena/debathena/xsession/debian/changelog	2009-02-05 00:56:59 UTC (rev 23447)
@@ -1,3 +1,9 @@
+debathena-xsession (1.5) unstable; urgency=low
+
+  * Brought initial xterm code back in from Athena 9.
+
+ -- William D Cattey <wdc@mit.edu>  Wed, 04 Feb 2009 14:21:07 -0500
+
 debathena-xsession (1.4) unstable; urgency=low
 
   * Remove DEB_AUTO_UPDATE_DEBIAN_CONTROL.

Modified: trunk/debathena/debathena/xsession/debian/xsession.bash
===================================================================
--- trunk/debathena/debathena/xsession/debian/xsession.bash	2009-02-03 20:28:41 UTC (rev 23446)
+++ trunk/debathena/debathena/xsession/debian/xsession.bash	2009-02-05 00:56:59 UTC (rev 23447)
@@ -12,6 +12,10 @@
   [ -r "$1" ] && . "$1"
 }
 
+echo_if_verbose() {
+  [ t = "$verbose_login" ] && echo "$@"
+}
+
 export XSESSION=$$
 
 source_if_exists /etc/profile
@@ -23,6 +27,14 @@
   source_if_exists "$initdir/bashrc"
 fi
 
+# Start default initial xterm window.  To skip this, put the command
+# "skip_initial_xterm=t" in your ~/.bash_environment file.
+
+if [ "${skip_initial_xterm+set}" != set ]; then
+  echo_if_verbose "Creating initial xterm window..."
+  (gnome-terminal --geometry=80x40-0-0 >/dev/null 2>&1 &)
+fi
+
 if [ "${skip_x_startup+set}" != set ]; then
   : ${ZEPHYR_CLIENT=zwgc}
   $ZEPHYR_CLIENT

Modified: trunk/debathena/debathena/xsession/debian/xsession.tcsh
===================================================================
--- trunk/debathena/debathena/xsession/debian/xsession.tcsh	2009-02-03 20:28:41 UTC (rev 23446)
+++ trunk/debathena/debathena/xsession/debian/xsession.tcsh	2009-02-05 00:56:59 UTC (rev 23447)
@@ -21,6 +21,11 @@
   if (-r ${initdir}/cshrc) source ${initdir}/cshrc
 endif
 
+if (! $?skip_initial_xterm) then
+  if ($?verbose_login) echo "Creating initial xterm window..."
+  (gnome-terminal --geometry=80x40-0-0 >& /dev/null &)
+endif
+
 if (! $?skip_x_startup) then
   if (! $?ZEPHYR_CLIENT) setenv ZEPHYR_CLIENT zwgc
   $ZEPHYR_CLIENT


home help back first fref pref prev next nref lref last post