Stormwind_mobile has quit [Remote host closed the connection]
Stormwind_mobile has joined #glasgow
Stormwind_mobile has quit [Read error: Connection reset by peer]
Stormwind_mobile has joined #glasgow
Stormwind_mobile has quit [Ping timeout: 240 seconds]
affix has joined #glasgow
Lofty has quit [Quit: Love you all~]
ZirconiumX has joined #glasgow
ZirconiumX is now known as Lofty
eddyb[legacy] has quit [*.net *.split]
ZerataX has quit [*.net *.split]
jschievink has quit [*.net *.split]
emily has quit [Remote host closed the connection]
disasm[m] has quit [Read error: Connection reset by peer]
fridtjof[m] has quit [Write error: Connection reset by peer]
john_k[m]1 has quit [Remote host closed the connection]
kerel has quit [Remote host closed the connection]
cyrillu[m] has quit [Write error: Connection reset by peer]
promach3 has quit [Write error: Broken pipe]
eddyb[legacy] has joined #glasgow
fridtjof[m] has joined #glasgow
jschievink has joined #glasgow
john_k[m] has joined #glasgow
enick_401 has joined #glasgow
promach3 has joined #glasgow
kerel has joined #glasgow
cyrillu[m] has joined #glasgow
disasm[m] has joined #glasgow
ZerataX has joined #glasgow
Stormwind_mobile has joined #glasgow
ExeciN has quit [Ping timeout: 256 seconds]
john_k[m] has left #glasgow ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
<esden>
whitequark: just so you know, that pts mode for uart is genious. I discovered it yesterday when testing icebreaker-bitsy, and it made me incredibly happy. :D
<apo>
esden: pts?
<esden>
apo: just check the mode list on uart applet
<esden>
It creates a /dev/pts/n device, you can use instead of a tty device in your serial programs.
<apo>
oh neat
Stormwind_mobile has quit [Ping timeout: 246 seconds]
Stormwind_mobile has joined #glasgow
<tnt>
I should make a RFC2217 server that works with glasgow ...
m4ssi has joined #glasgow
<d1b2>
<gimbas> What is the /pts/ ? I don't know that structure
jayfree has joined #glasgow
jayfree has quit [Remote host closed the connection]
<tnt>
it's where you find Pseudo Terminal Slave end points.
<tnt>
you have /dev/pts/N <-> /dev/ptm/N
<d1b2>
<gimbas> Oh, yeah, I've heard about that
<d1b2>
<gimbas> Ty for refreshing my memory
<sorear>
there is no /dev/ptm
<sorear>
you open /dev/ptmx (pseudoterminal multiplexer, a single device) and it gives you the number of the pts to open
<sorear>
i think you're thinking of old BSD PTYs
<Stormwind_mobile>
What is the big advantage there? I have never heard about PTS
<tnt>
sorear: oh, my bad, memory is flaky, I didn't recheck.
<sorear>
"It creates a /dev/pts/n device, you can use instead of a tty device in your serial programs."
<Stormwind_mobile>
So it directly replaces the usual /dev/tty(USB)n?
<Stormwind_mobile>
Why is that a big deal?
Yatekii has joined #glasgow
<sorear>
"uart applet"
<esden>
Stormwind_mobile: Have you thought how to use the glasgow with program that expects a ttyUSBn device? Think about the structure of the glasgow system. You have a python script driving glasgow at all times. How do you create a virtual "hardware" tty port from a python script that runs on your computer? PTS is the solution to that.
<esden>
Glasgow does not interact with your computer drivers directly. It always "talks" through the glasgow python tool.
<esden>
So it can't just present itself as a UART device to your computer.