These are chat archives for dpc/rhex

4th
Jul 2016
Gouda
@GoudaOnBeamPro
Jul 04 2016 00:32 UTC
Trying to figure out this problem with xterm-256colors. I have it on and set in the environment but the error keeps coming. I also can't seem to connect from my putty client to the demo server.
I was taking a look through the curses stuff but it's still pretty greek to me
Dawid Ciężarkiewicz
@dpc
Jul 04 2016 00:34 UTC
What os?
Gouda
@GoudaOnBeamPro
Jul 04 2016 00:35 UTC
FreeBSD. I was looking through to see if there were any specifics I had to nudge in the curses stuff but I just couldn't figure it out haha
Dawid Ciężarkiewicz
@dpc
Jul 04 2016 00:37 UTC
What's your terminal?
echo $TERM
xterm-256color
There's no s there.
I'm not sure if there's anything specific to freebsd.
Gouda
@GoudaOnBeamPro
Jul 04 2016 00:39 UTC
https://i.imgur.com/DLXzkcK.png this is what shows up in my env
Dawid Ciężarkiewicz
@dpc
Jul 04 2016 00:39 UTC
dpc@spinlock ~ [I]> ssh rhex@rhex.dpc.pw
The authenticity of host 'rhex.dpc.pw (158.69.209.42)' can't be established.
ECDSA key fingerprint is SHA256:fk5vq11fO8v6vr3zQf0WMmSu80bZUYkStvTgvnR/joM.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'rhex.dpc.pw,158.69.209.42' (ECDSA) to the list of known hosts.
rhex@rhex.dpc.pw's password: rhex123
Demo server seems to work fine for me too, but putty setup might be tricky.
You're using it in tmux?
Try without tmux, it's an additonal layer of potential problems.
Gouda
@GoudaOnBeamPro
Jul 04 2016 00:40 UTC
I'll take another look at it. si but I've also tried it outside oftmux with the same results
ooooh I'm ssh'd in
This is a test problem that tries 256 colors. Can you check if it works for you and you can see a lot of different colors?
Gouda
@GoudaOnBeamPro
Jul 04 2016 00:42 UTC
sure, just a moment
game crashed
haha cx
Dawid Ciężarkiewicz
@dpc
Jul 04 2016 00:46 UTC
LOL
Gouda
@GoudaOnBeamPro
Jul 04 2016 00:46 UTC
Okay I'm back. Let me give that a go
what's that did you see what happened haha?
Dawid Ciężarkiewicz
@dpc
Jul 04 2016 00:46 UTC
brb too, have some duties; but we'll get it working
Gouda
@GoudaOnBeamPro
Jul 04 2016 00:46 UTC
alright
:D
looking forward to it. I'm learning rust and would love to do what I can with this prject
Dawid Ciężarkiewicz
@dpc
Jul 04 2016 00:48 UTC
Nice!
Gouda
@GoudaOnBeamPro
Jul 04 2016 00:49 UTC
but I'm also a newb at things like running perl scripts xc
Dawid Ciężarkiewicz
@dpc
Jul 04 2016 00:52 UTC
just chmod +x <file> it and ./file
It has a hasbang on top
Gouda
@GoudaOnBeamPro
Jul 04 2016 00:52 UTC
yep and I even changed it to where perl is located, I got it +x and all
nothing is showing up
Dawid Ciężarkiewicz
@dpc
Jul 04 2016 00:53 UTC
Nothing nothing?
Gouda
@GoudaOnBeamPro
Jul 04 2016 00:53 UTC
roger roger
Dawid Ciężarkiewicz
@dpc
Jul 04 2016 00:53 UTC
What is your terminal software?
Gouda
@GoudaOnBeamPro
Jul 04 2016 00:53 UTC
PuTTY Tray
Dawid Ciężarkiewicz
@dpc
Jul 04 2016 00:53 UTC
Hmmm...
So are you running it on freebsd and using PuTTY?
Gouda
@GoudaOnBeamPro
Jul 04 2016 00:53 UTC
si
Dawid Ciężarkiewicz
@dpc
Jul 04 2016 00:54 UTC
Interesting.
Gouda
@GoudaOnBeamPro
Jul 04 2016 00:54 UTC
ssh'd into my freebsd machin
Dawid Ciężarkiewicz
@dpc
Jul 04 2016 00:54 UTC
Aaaaaa...
Oh. No wonder it's not working then. :D
I though you have freebsd booted.
Gouda
@GoudaOnBeamPro
Jul 04 2016 00:54 UTC
ooooh no my bad
haha
Dawid Ciężarkiewicz
@dpc
Jul 04 2016 00:54 UTC
Welcom in the world of terminals, it's super hairy stuff. :D
Gouda
@GoudaOnBeamPro
Jul 04 2016 00:54 UTC
luckily I'm building a comb
next week, the razor
Dawid Ciężarkiewicz
@dpc
Jul 04 2016 00:55 UTC
Putty itself needs to support 256 colors.
Did it?
Did you see the game?
When sshing to demo server?
Gouda
@GoudaOnBeamPro
Jul 04 2016 00:55 UTC
it should. I have the solarized theme in this puppt. also yes the game worked via ssh
just not locally haha
Dawid Ciężarkiewicz
@dpc
Jul 04 2016 00:56 UTC
And colors looked like they should?
Like on screenshots?
First of all TERM needs to be set to your actual-end terminal
Your terminal is putty, so
So your TERM needs to be putty-256color acording to google.
Demo server does not set TERM, and putty itself is supposed to send it.
Gouda
@GoudaOnBeamPro
Jul 04 2016 00:58 UTC
ahhh let's try that then
Dawid Ciężarkiewicz
@dpc
Jul 04 2016 00:59 UTC
But if you're logged into your own box, you need to make sure TERM is set to whatever you are actually using.
Gouda
@GoudaOnBeamPro
Jul 04 2016 01:00 UTC
couldn't find terminal definition for putty-256color
was that to be set in putty or in my env?
Dawid Ciężarkiewicz
@dpc
Jul 04 2016 01:00 UTC
TERM tells your software what magic characters to send to get colors and special effects. Magic characters are being interpreted by your terminal - in this case putty.
In your freebsd env.
Gouda
@GoudaOnBeamPro
Jul 04 2016 01:01 UTC
yeah it said it didn't find that terminal definition for it
lemme try something
Dawid Ciężarkiewicz
@dpc
Jul 04 2016 01:02 UTC
Take that error, put it in quotes, add Freebsd and google it. :)
Gouda
@GoudaOnBeamPro
Jul 04 2016 01:02 UTC
ooooh if I had a nickel for everytime I did that ;)
Dawid Ciężarkiewicz
@dpc
Jul 04 2016 01:02 UTC
freebsd is a hardcore choice
Gouda
@GoudaOnBeamPro
Jul 04 2016 01:03 UTC
I couldn't stand differing ecosystems in every flavor.
of linuzx *
fat fingered that
Dawid Ciężarkiewicz
@dpc
Jul 04 2016 01:04 UTC
Differeing ecosystems? :)
Gouda
@GoudaOnBeamPro
Jul 04 2016 01:04 UTC
latest version of Debian ships with differnet versions of the same tools that openSUSE ships with
that kinda thing
bugged me :/
made up to gentoo.funtoo, then found out FreeBSD was literally everything I liked about those two with the systemd
wihtout
*
life without systemd has just been relaxing in all honesty. but enough about that. I'm about to rebuild the repo
Dawid Ciężarkiewicz
@dpc
Jul 04 2016 01:07 UTC
But doesn't FreeBSD ships with even more diffrent versions? :D
If you ask me, for practial purposes, FreeBSD is just a different *nix distribution. :)
Any progress?
Gouda
@GoudaOnBeamPro
Jul 04 2016 01:09 UTC
even more different versions of what? Oh I feeel you. those are all in house tools though. ls might look and feel the same, but it's FreeBSD's. On Gentoo I'd have gnu's ls version 7.8.69 and in Debian Current I'd have 7.4.20
Dawid Ciężarkiewicz
@dpc
Jul 04 2016 01:09 UTC
That looks like what you were missing?
Gouda
@GoudaOnBeamPro
Jul 04 2016 01:09 UTC
know what I mean?
nah I've been typing and also people are bugging me on Steam haha
Dawid Ciężarkiewicz
@dpc
Jul 04 2016 01:10 UTC
And in FreeBSD you have not even different version, but completely different implementation, right? :)
Gouda
@GoudaOnBeamPro
Jul 04 2016 01:11 UTC
same implementation. POSIX and all
Dawid Ciężarkiewicz
@dpc
Jul 04 2016 01:11 UTC
Same as where?
Gouda
@GoudaOnBeamPro
Jul 04 2016 01:11 UTC
POSIX standards
isn't that what they're for?
Dawid Ciężarkiewicz
@dpc
Jul 04 2016 01:13 UTC
AFAIK, both GNU and BSD deviate from standards and add a lot of additional stuff.
But don't understand the "different versions" point. Ubuntu will have different verion, Suse will have another, and FreeBSD will have even different. :)
Gouda
@GoudaOnBeamPro
Jul 04 2016 01:14 UTC
but in FreeBSD land theese versions are in-house all maintained for a specific type of kernel
with one libc
Dawid Ciężarkiewicz
@dpc
Jul 04 2016 01:14 UTC
Well... not exactly deviate. Just add their own stuff, while posix is quite small subset of everything.
Gouda
@GoudaOnBeamPro
Jul 04 2016 01:15 UTC
it's the whole operating system that is the ls and the awk and the this and that, where as in linux it's the linux kernel from here, the ls from there, etc.
okay I've been hoping I'd scroll to the bottom of this document for the last few minutes... I'm just gonna throw it in on top
Dawid Ciężarkiewicz
@dpc
Jul 04 2016 01:17 UTC
Ah, I see, so you think stability of things might be better, as they are more centrally developed. Fair point.
Gouda
@GoudaOnBeamPro
Jul 04 2016 01:18 UTC
I saw it as a much more stable and attractive Gentoo, without RMS and systemd, plus the BSD style licenses and la dee dah. Just suited my tastes more, but everyone has a different palate
plus LLVM and Clang in base :heart_eyes: I love the llvm project so much
okay I did all the fancy things and even put the thing in place, but no change to my env yet. let me see if I can change it
Gouda
@GoudaOnBeamPro
Jul 04 2016 01:24 UTC
ruh roh.. that didn't do anything for my jaredm user but it changed it for root...... and I got some error message relating to it upon root login
oooh mighta done did it
sad trombone
Dawid Ciężarkiewicz
@dpc
Jul 04 2016 01:29 UTC
Does it work?
Gouda
@GoudaOnBeamPro
Jul 04 2016 01:29 UTC
nope :(
ah well, I'll figure it out :)
this is my fun and games kinda stuff nowadays
Dawid Ciężarkiewicz
@dpc
Jul 04 2016 01:32 UTC
Well yeah, so your problem is not rust or game related. You just need to get putty to work with freebsd.
Gouda
@GoudaOnBeamPro
Jul 04 2016 01:33 UTC
likely so. thanks for your help ^.^ I'll be glad to get this in working order. a roguelike in rust just excites me way too much ahaha
Dawid Ciężarkiewicz
@dpc
Jul 04 2016 01:35 UTC
BTW. You can remove that check and get everything in wrong colors.
Just comment it out or something.
Gouda
@GoudaOnBeamPro
Jul 04 2016 01:35 UTC
that was my next step!! :D
haha
Gouda
@GoudaOnBeamPro
Jul 04 2016 01:41 UTC
I just have this feeling that the curses isn't being read right on my freebsd machine. like maybe it's different here than in linux and the crate doesn't account for that possibly
know what I mean?
Dawid Ciężarkiewicz
@dpc
Jul 04 2016 01:42 UTC
I doubt it.
Good luck anyway. :D
Gouda
@GoudaOnBeamPro
Jul 04 2016 01:43 UTC
I'm glad I hang out with people more knowledgeable than me :D I just got irc goin the other day and having all these people to ask about rust and all is great
thanks for chillin in this gitter :D
Dawid Ciężarkiewicz
@dpc
Jul 04 2016 02:15 UTC
Sure, no problem. Likewise.