GithubHelp home page GithubHelp logo

Comments (11)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
Please paste in the contents of:
~/.config/hexchat/hexchat.conf
and if you have it available:
~/.config/hexchat/xchat.conf

A command line opening up a gnome dialogue is a bug and should be reported as 
such to the dev. 

Here's an example of properly done versioning:
firefox --version
Mozilla Firefox 16.0.2

thunderbird --version
Thunderbird 16.0.2

kate --version
Qt: 4.8.2
KDE Development Platform: 4.8.4 (4.8.4)
Kate: 3.8.4

xchat --version
xchat 2.8.8

stop me once you detect the pattern...

I suggest, that while inxi will have to deal with this bug once I have the 
actual contents of those two files, that you also file an upstream bug report 
to hexchat (this isn't an inxi bug, it's a hexchat bug, and applies to any tool 
or person who wants to get the version in the standard way, via the command 
line) and have the behavior be corrected. Xchat doesn't do that, as you see, 
and there's no reason for any app to do that. Clicking the about/help gui menu 
option of course should show an option to show full hexchat version information 
in a gui dialogue.

I'm accepting this only because it is a fact that hexchat switched to that 
buggy and incorrect behavior, which will negatively  impact inxi users.

Original comment by [email protected] on 13 Nov 2012 at 7:51

  • Changed state: Accepted

from inxi.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
Also, if there is a master config file, /etc/hexchat.conf I'd prefer to read 
that as a global value, not the generated user config files. So if 
/etc/hexchat.conf exists, paste in those contents too if available. 

But above all, file a bug report with hexchat, just because he made a mistake 
and thinks that --version opening up a gtk dialogue is a good idea doesn't mean 
it is. There are norms and standards, and veering from them pointlessly and at 
random makes the linux/free software  desktop just that much less approachable 
to end users and developers, it's a negative thing, that is. 

Original comment by [email protected] on 13 Nov 2012 at 7:57

from inxi.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
Uh. What? So if XChat displays --version in stdout and HexChat doesn't, it 
means it's a bug? What makes you think I care about XChat? (I don't) Who the 
hell are you to make such statements? How can you afford such sniffy, 
indoctrinating bullshit? And where is this "standard" defined you're talking 
about anyway? Are you high on something? A LOT of apps don't even have a 
--version flag. If you depend on this ad-hoc "norm" bullshit that's YOUR 
problem, but I am in NO WAY responsible for that, I make whatever changes I 
want in HexChat, and you can gtfo if you think otherwise. If it's too hard for 
you to read the first line of a plain text file, that's not my problem either. 
And no, it wasn't made by mistake, believe it or not, I commit intentionally, 
not by accident, or without "points" (maybe that's the inxi way, dunno). And 
this change is here to stay.

Original comment by [email protected] on 14 Nov 2012 at 6:51

from inxi.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
I specifically asked for the syntax and samples for the config files, now I see 
a somewhat hysterical response, without the requested data, from the developer. 
Why am I not surprised? If I type in a console command into a console, 
obviously I want to get back a console response, dugh, why else would I be 
typing in hexchat --version into a darned terminal, with my keyboard? However, 
inxi is all about catering to weird glitches, oddities, and irregularities in 
the linux ecosystem, and I said I'd handle it, if you could just get your 
defensive response tuned down a bit and provide the data I need to patch a 
custom little thing for hexchat only. 

It takes you roughly 5 seconds to paste in the data I requested, ideally the 
/etc config file, as I noted, and then it would take me a some minutes to fix 
and upload to svn the fix. 

I already said, again, that I'd work around your bug and and your decision, and 
to do that, I need to see the the entire plain text file contents, a sample, 
that is. Congratulations, by the way, on being the ONLY irc client out there to 
do this, must be a fluke, right? 

While I am free to note the inanity of your decision, inxi strives to serve 
all, no matter what, within reason, of course. I do however need to get this 
fixed so people foolish enough to use hexchat don't run into the hanging gtk 
dialogue  thing. 

So what, out of curiousity, happens if I type in hexchat --version out of X, in 
a virtual console? Not that I'm goiong to install it to find out, but curious 
minds want to know.

Original comment by [email protected] on 14 Nov 2012 at 7:22

from inxi.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
Sorry about the wait. The first line of ~/.config/hexchat/{hexchat,xchat}.conf 
will always be in this format.

version = 2.9.4

However, if hexchat.conf exists, xchat.conf will be outdated, so hexchat.conf 
should be top priority.

Also, there is no system wide config file.

Original comment by [email protected] on 14 Nov 2012 at 7:26

from inxi.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
Here's the full file if you absolutely need it. Older versions should be in the 
same format as well.

Original comment by [email protected] on 14 Nov 2012 at 7:31

Attachments:

from inxi.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
daniel at the beach, thank you for providing the actual information needed to 
work around this very poor decision, but judging from the developer's response 
here, it's no longer a mystery how such an event could have taken place, and, 
as I noted, inxi is all about working around hordes of oddities and glitches 
and inconsistencies, and providing the end user with the information they 
want/need.

Original comment by [email protected] on 14 Nov 2012 at 7:43

from inxi.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
good, thanks, one thing I've learned with inxi is to NEVER make assumptions 
about the contents of output or files. For example, one can't assume the first 
line is version because a use could edit the file. This is, of course, why we 
use the --version output and let the app give us that (text) data as a rule, a 
very fine, and good, rule, but inxi will somwhat grouchily makeup for hexchat's 
odd case, with a somewhat heavy sigh. But version = is unique to that file so 
that's fine.

Original comment by [email protected] on 14 Nov 2012 at 7:53

from inxi.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
 hexchat bug fix/work around in place now, 1.8.21 should correct it, although I didn't directly test it, I  just used the supplied config file and emulated in testing mode.

If the ~./hexchat files are missing  (check to see if this works for root user) 
will show N/A message, hexchat is now the ONLY irc app tested that requires 
checking its config files directly to get its version information, nice going 
hexchat author, you're SPECIAL!!! and UNIQUE, good for you!! However, no 
worries, xchat works fine and remains a fine option for users, as it always 
has. So does konversation, and a wide range of other fine irc apps. Obviously 
it's much better to let the app return via -v or --version its version 
information, ie, trust the internal methods of the app, as has been a standard 
unix method for who knows how many decades now. 

Hey, I have a good idea, why not have uname -r pop up a gtk dialogue too!!! 
that would be cool.

Original comment by [email protected] on 14 Nov 2012 at 8:41

from inxi.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
sorry, this issue is closed now, all done.

Original comment by [email protected] on 14 Nov 2012 at 8:42

  • Changed state: Fixed

from inxi.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
Someone has some issues.  And apparently is a very inexperienced developer, oh 
well to each his own.

Original comment by [email protected] on 15 Nov 2012 at 12:17

from inxi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.