Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130107 - [UPDATE] app-shells/bashish now at 2.0.7/1.9.24
Summary: [UPDATE] app-shells/bashish now at 2.0.7/1.9.24
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Jeroen Roovers (RETIRED)
URL: http://bashish.sourceforge.net/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-15 17:26 UTC by Jesse Adelman
Modified: 2008-08-28 21:13 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Bashish portage overlay [untested!] (gentoo.tar.gz,1.10 KB, application/x-gzip)
2006-06-14 07:18 UTC, Thomas Eriksson
Details
bashish-2.0.7.ebuild (bashish-2.0.7.ebuild,803 bytes, text/plain)
2006-10-16 04:27 UTC, MAL
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Adelman 2006-04-15 17:26:57 UTC
Howdy. Bashish 2.0.3 was released on March 16, 2006. Seems to have lots of new themes, fixes for old themes, and many other fixes past the 1.9.21 currently in Portage. However, note that the 2.0-series BREAKS COMPATIBILITY WITH PREVIOUS THEMES. The last of the 1.9-series was version 1.9.24 (released on August 27, 2004), so perhaps adding the latest release from both branches is in order? Some selected ChangeLog ("notes" from SF) entries:

2.0:
The second major release of Bashish consists of a major redesign and rewrite.
It is not theme compatible with older releases.

Highlights of this release include:
* Cleaner enviroment, no longer use aliases or functions for application theming.
* Easy-to-use Dialog-based configuration.
* Multi-shell theme support.
* Better performance.
* Less bugs.


Changes:
Changes from the 1.9 series
---------------------------
* nagging "guide through the installation"-dialog when running bashish
  for the first time

* new shiny (c)dialog frontend for changing themes

* handles suspending gracefully, with untheming and re-theming when
  re-entering the themed application

* 'changetheme' is now avaliable as 'bashishtheme'

* Themed applications can now be used in pipes.

* Globbing handling improvements, now correctly handles multiple options
  and applications with filenames including spaces!

* Now uses autoconf (and some whiz-bang shell script Makefile-generator).

* Major performance increase.

* No need to specify favourite shell or terminal.

* The bashish command furthermore does not work like a pseudo-xterm: it
  will not start a terminal on it's own, if you use a GUI to open your
  favourite bashish-themed application you now need to check the "Run in
  terminal" option.

* bashish no longer includes a bunch of randomly licensed fonts, you need to
  get these separate and install in your font-path.

* official gnome-terminal support.

* detects 'powershell' terminal emulator

* Theme API Changes
  * No longer uses the PROMPT variable in bash
  * No longer supports plain text prompts
  * the prompt is available as 'prompt.%s' where %s can be 'bash'
    'ksh' 'zsh' 'fish' 'sh' 'csh' 'tcsh' 'kiss'
  * the theme on the other hand is still avaliable in the 'theme' file,
    it is also encapsulated in a function.
  * No more Gamma settings in Eterm
  * Fonts can no longer be distributed with themes.
  * A BASHISH_ARGV array and BASHISH_ARGC set for each application launched
    avaliable for theme scripting.
  * BASHISH_PWD points to the executed $PWD
  * ANSICOLOR_[<BRIGHT>[RED|BLUE|GREEN|WHITE|CYAN|MAGENTA|WHITE|BLACK] is
    now availiable as COLOR[n] where n=0-15 (at a later time we might
    support XTerm 256 colors)

* Coding differences:
  * Aims for ksh shell script compliance, instead of bourne shell
    compatibilty.
  * declares most variables as local
  * utilizes arrays for maintaining terminal state
  * theme engine built entirely on functions which can be loaded
    independently of each other.
  * more conservative about memory
  * global functions have the prefix _bashish_
  * Files in $HOME/.bashish will no longer override BASHISHDIR, if a bashish
    developer needs to update parts of bashish, he needs to install his own
    local version of bashish.
  * Bashish is broken up in four different parts, the prompt themer, the
    terminal themer, the bashish initializer and the theme changer.
    They work independently of each other so it would be possible to make
    custom versions of bashish.
  * BASHISH_USERDIR is no more

2.0.1:
Replaced file descriptor closing with redirection to /dev/null since the previous syntax would break several NetBSD utilities. Updated the coding style in the HACKING document with this change. Fixes in the build process, now 'make clean' and 'make install' without running 'make' first, works. Fixes for the 'osh' shell. Error messages if startup file did not exist was removed. Legal section added in the THEME document. Various other minor corrections and fixes to documentation.

2.0.3:
2.0.3
-----
For you who have waited: here's a theme update, and not a bad one either :)

Additionally there have been some minor fixes, most notably the possibility to override the "keyboard mess-up bug":

If you do not run Metacity and gnome-terminal in a maximized window, you may want to set

export BASHISH_NOWINCHFIX=1

and theming which involves font will not have a delay for 2 seconds.


Changes:

Bluesteel
Beautiful, yet simple 2-line prompt with a 3D steel finish.
Shows user, host, time and current working directory.
Comes with 3 different oxidations.

Urban Dawn
Based on an artwork by grevenlx http://grevenlx.deviantart.com/
A warm red theme with a city in dawn at the bottom of the terminal, keeping
the image at the bottom (with some VT102 magic) makes it non-intrusive in
the scrollback buffer and in interactive programs (vim, joe, etc).

Moo
A crazy cow theme.

Heavy Metal
Don't like having your terminal looking like some hippie stuff? Then this is
the theme for you.
Provides information as user, host, directory, and time which is not added
to the scrollback buffer, a minimal prompt with maximum information.

Conda
A snake crawling from the bottom with it's head at the cursor.
Shows current working directory, host user and time.
Uses the same bottom status as HeavyMetal, and thus provides a lot of
information without eating your scrollback buffer (it eats mices and bugs
though).

C64
I've tried to make the looks of the C64 theme more accurate by adding
borders at the top and bottom of the screen, unfortually this kills
scrollback history, but, you didn't need it then, why would you need it now? ;)
Additionally some classic error messages have been added:

?SYNTAX ERROR - unbalanced quotes.
FORMULA TOO COMPLEX - return status 1
FILE NOT FOUND - return status 127
RETURN WITHOUT GOSUBA RETURN - other non-zero return status.

MVS
This theme tries to get the look and feel of sitting in front of a 3279
(color) terminal connected to a IBM MVS mainfraime.
A monochrome 3278 version is also availiable as "mvsmono".
Line counter works, but unfortually not column count :(
Note, this theme is not endorsed nor have anything to do with IBM.
MVS and VM/ESA are trademarks of IBM Corporation.

On the backend side, I bring you the following fixes:

Fixes for obscure shells as es,rc and lsh

Updated build system so the autogen.sh script only needs to be run once.
DESTDIR added to aid packagers.

WINCH-fix only on Linux systems since it is known not to affect Solaris.
I do not know about BSD systems.
Additionally, one can explicity disable the workaround:
by setting BASHISH_NOWINCHFIX=1
If you do not run Bashish in a maximized terminal window under metacity, you
most likely want this. At least until the funky aspect-ratio code gets
(re)implemented in rxvt-unicode.

The gnome-terminal schema list could sometimes be quite long, this version
cleans up schemas not in use.

Fixes for prompt loading, should reload prompt on window resize.
Cleans up after an old prompt has been loaded. (sh)

All utilities except fillx are now removed, most of them introduced too much
complexity. Fillx is placed in the path as 'bashish'.

Detects the x3270 terminal as xterm-generic

----

Thanks.
Comment 1 Thomas Eriksson 2006-06-14 07:18:47 UTC
Created attachment 89163 [details]
Bashish portage overlay [untested!]

I'm the author of Bashish.

I've tried to update the bashish ebuild to reflect the new build system. Unfortually I do not have access to any Gentoo system and thus can not take maintainership for Bashish on Gentoo, nor can I verify that this ebuild actually works.

Comments and patches to my changes are however much appreciated!
Comment 2 MAL 2006-10-16 04:27:05 UTC
Created attachment 99787 [details]
bashish-2.0.7.ebuild

Updated ebuild to support 2.0.7 and correct make install issues.
Comment 3 Raúl Porcel (RETIRED) gentoo-dev 2008-01-26 17:39:45 UTC
Thomas, does bashish-2.0.7 really need bash, or it can be any other shell?
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2008-07-21 05:29:00 UTC
Thank you for your patience. :)

# ChangeLog for app-shells/bashish
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-shells/bashish/ChangeLog,v 1.13 2008/07/21 05:26:48 jer Exp $

*bashish-2.0.7 (21 Jul 2008)

  21 Jul 2008; Jeroen Roovers <jer@gentoo.org> +bashish-2.0.7.ebuild:
  Version bump (bug #130107) thanks to Jesse Adelman and MAL.

  21 Jul 2008; Jeroen Roovers <jer@gentoo.org> metadata.xml:
  Take up maintainership.

  21 Jul 2008; Jeroen Roovers <jer@gentoo.org> bashish-1.9.23.ebuild:
  Marked ~hppa too.
Comment 5 Thomas Eriksson 2008-08-28 21:13:10 UTC
(In reply to comment #3)
> Thomas, does bashish-2.0.7 really need bash, or it can be any other shell?
> 

Hey, sorry for late answer:

No it is pretty ksh-genericly written, thus it is possible to interpret on a ksh compatible shell (ksh93, zsh4 and bash), i don't think it works with dash.
Several themes works with zsh but some themes require some bash quirkyness.