The Geshi filter needs the 3rd party "geshi library" as well as the "Library" module to work. The "Geshi library" v1.0.8.11 which IS detected by the "Geshi Filter" has 222 different language definition files (in the folder), but the filter only shows 9 Per language tags in the configuration. I want to be able to use the syntax highlighting for bash and other languages. I have tried to add "Generic Syntax Highlighting tags", but they don't seem to work. Using Drupal 7.15. Any help will be appreciated. I'm new here.

Here are some screenshots:
Geshi

Geshi2

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

soxofaan’s picture

Category: bug » support
FileSize
122.57 KB

Not all available languages are enabled by default (because of efficiency reasons), you should enable the languages that are relevant for your site on the GeSHi settings pages.
I hope the attached screenshot is clear enough to find it.

Keyser Soze’s picture

Status: Active » Closed (works as designed)
FileSize
22.01 KB

Thanks a lot, soxofaan. I don't know how I missed that. Anyway, I have been able to use more language tags with success. However, I wasn't entirely satisfied with the "bash" language def. file, since it did not contain anything particular to Solaris (SMF, zones, zfs, etc etc). So I added some of those (and some RHEL stuff too) to the bash.php file myself. So far it looks quite usable although it obviously is far from complete and needs polishing. Anyway, the reason I'm saying all this is because I've been busy with this and nginx (unfortunately, with less success), so it took me a while to respond. Again, thanks a lot for your help.

I've attached the modified file here in case my hdd crashes or anybody else feels tempted :)
Remove the .txt extension.