Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • First, I tried searching for the place where the information about my xterms was written... I tried changing that a little, with -geometry and such, but that didn't work out the way I intended...

    Then, I decided to go for a different approach... my .bash_profile now reads:

    # four xterms to start with
    xterm -bg black -fg white -vb +sk -geometry +0+0 -e " upcoming ; bash "
    xterm -bg black -fg white -vb +sk -geometry +507+0
    xterm -bg black -fg white -vb +sk -geometry +0+340
    xterm -bg black -fg white -vb

    • You can avoid the -e trick by using an environment variable:
      BASHRC_RUN=upcoming xterm -bg black -fg ...
      Now, have your .bashrc test whether that variable is set and take special action if it is. You might also find it useful to set the title bar, either in the .bashrc code or in your xterm line.