News for hackers. Stuff that matters.
Re:PuTTY 0.73 by zamadatix on Tuesday October 01, 2019 @12:10PM (#21127065)
What's the best replacement for serial port connectivity on Windows? That PuTTY has it's own terminal settings always bothered me but I'm not sure what all is popular.
Re:PuTTY 0.73 by tssva on Tuesday October 01, 2019 @01:19PM (#21127949)
You can use the PuTTY cli command plink. For example:

  plink -serial COM1 -sercfg 9600,8,N,1,N
This will connect to serial port COM1 at 9600 baud, 8 databits, no parity bits, 1 stop bit and no flow control.
Re:PuTTY 0.73 by zamadatix on Tuesday October 01, 2019 @01:43PM (#21128305)
This is pretty nifty, thanks.
Re:PuTTY 0.73 by elsjaako on Tuesday October 01, 2019 @12:24PM (#21127268)
I usually recommend Termite to people

https://www.compuphase.com/software_termite.htm

Re:PuTTY 0.73 by SteveMoody73 on Tuesday October 01, 2019 @02:03PM (#21128625)
Tera term is what i tend to use. https://ttssh2.osdn.jp/
Re:PuTTY 0.73 by rhexs on Tuesday October 01, 2019 @12:17PM (#21127178)
As a guy who uses serial enough to wonder the same thing, my solution was buying a cheap Linux machine. Serial is thousands of times simpler and more convenient to use on Linux.

Probably not too helpful if you’re dealing with poorly written windows serial software targeting embedded though.

Re:PuTTY 0.73 by bleomycin on Tuesday October 01, 2019 @12:45PM (#21127556)
What software are you using on linux to interface with serial? I always used screen but it seems there’s probably a better way?
Re:PuTTY 0.73 by rhexs on Tuesday October 01, 2019 @01:12PM (#21127884)
Screen. Most of the time saved is not having to try to install whatever bizarre serial driver windows needs.

Also python if you need to programmatically connect and operate a device over serial. Quite easy.

Re:PuTTY 0.73 by ahartmetz on Tuesday October 01, 2019 @02:08PM (#21128678)
Yep, screen is the easiest. Minicom often gets confused, or at least confuses me with its weird UI. With screen I just run "screen /dev/ttyUSB0 115200".
Re:PuTTY 0.73 by ch_123 on Tuesday October 01, 2019 @12:27PM (#21127311)
If you have WSL installed, I believe it's possible to use the standard Linux serial utilities with a USB-RS232 dongle.

If WSL was not an option, I personally would still use PuTTY

Re:PuTTY 0.73 by xorcist on Tuesday October 01, 2019 @01:55PM (#21128495)
Not sure which serial utilities are standard though. I know many use Kermit, but I never found it very unixish.

I personally use 'screen'. It's a perfectly capable terminal for serial communications. It can even catch zmodem handshakes (it's in the manual).

Re:PuTTY 0.73 by jchw on Tuesday October 01, 2019 @07:29PM (#21132017)
I also use screen for this, though I find myself accidentally leaving sessions in the background and wondering why I’m missing characters in the output.

That said, does WSL really provide serial devices? That’s pretty awesome. I wonder if USB also is a thing in the WSL2 world.

Re:PuTTY 0.73 by runjake on Tuesday October 01, 2019 @01:58PM (#21128531)
Yes. This works even in WSL 1. I use GNU Screen in WSL on the regular to console into network switches.