OpenBSD Journal

dhcpd.conf syntax highlighting for jed

Contributed by Dengue on from the shane-has-gone-highlighting-crazy-again dept.

Shane Lahey writes : "Here's a great new JED syntax highlighting mode that I just finished for editing your /etc/dhcpd.conf file(s)

screenshots and download can be found at http://craz1.homelinux.com/jedmodes/

try it! try it! try it! :-)"

I want to know when my thoughts will be syntax highlighted. Think of the errors I could prevent.

(Comments are closed)


Comments
  1. By Shane Lahey () s.lahey@roadrunner.nf.net on http://craz1.homelinux.com

    Also added another three modes.

    Apache httpd.conf highlighting
    OpenSSL sshd_config highlighting
    PHP php.ini highlighting

    next will probably be BIND's named.conf highlighting...

    Comments
    1. By Shane Lahey () s.lahey@roadrunner.nf.net on http://craz1.homelinux.com

      bahf! I was bored... ISC BIND configuration mode added...

      the time is now 4:20am ... time to get up in 2 hours... arrrrrrgggggggggggggg :-)

  2. By Anonymous Coward () on

    Pretty cool. Gives me something to tinker with today.

    Comments
    1. By Anonymous () Anon@anonc.om on mailto:Anon@anonc.om

      Is this website so dead that I have to read a news telling that a new syntax highlighting file appeared?

      I *LOVE* BSD and it's kinda sad to read things like this :(

      Comments
      1. By Shane Lahey () s.lahey@roadrunner.nf.net on http://craz1.homelinux.com

        what is even more sad is that you are reading it.... so it can't be that bad ;-)

        Just because you might not like highlighting modes does not mean that others do not...

        Comments
        1. By Anonymous Coward () on

          he does have a point that this isn't really openbsd-related. Highlighting for pf.conf is, but dhcpd.conf isn't really openbsd-specific, is it?

          Comments
          1. By Shane Lahey () s.lahey@roadrunner.nf.net on http://craz1.homelinux.com

            no, not OpenBSD specific... but OpenBSD does have it dosen't it?

            Comments
            1. By Anonymous () on

              I'm reading this because I LOVE BSD.. but highlighting dhcp.conf is not really what I want to read in OPENBSD-Journal

              Comments
              1. By Shane Lahey () s.lahey@roadrunner.nf.net on http://craz1.homelinux.com

                I *LOVE* OpenBSD as well, and i'm sure everybody else that comes to openbsd journal does as well, ... but isn't it nice to find a few things along the way that make life easier?

                You complain that you do not want to see this... but what about the 800+ visitors refered from deadly.org since Aug. 9th that did want to see it or were at least some-what interested...?

              2. By OBSD Fan () on

                Well then, just skip over the article, stop whining, and write something worth inclusion in OpenBSD or on this site. I found it interesting, even though I don't yet use JED. And I love this site as well.

                Comments
                1. By Shane Lahey () s.lahey@roadrunner.nf.net on http://craz1.homelinux.com

                  **Shane gives OBSD Fan a pat on the back** :)

  3. By Anonymous Coward () on

    I suppose this could be carried further to highlight desired lines in log files that you could load into JED, but does anyone know of a filter type program that could read the same conf files and display the highlighted text as a log file was passing by? It makes me wonder...

Credits

Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original deadly.org with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]