c++ - plink on raspberry pi -


i trying develop command line program in c++ on windows uses putty control raspberry pi. have used putty application , works 100% fine. have tried use plink executable can control program c++ program, random string of characters when try , connect pi. console output follows

c:\users\user>plink pi@xxx.xxx.xxx.xxx using username "pi". pi@xxx.xxx.xxx.xxx's password: linux raspberrypi 3.6.11+ #371 preempt thu feb 7 16:31:35 gmt 2013 armv6l  programs included debian gnu/linux system free software; exact distribution terms each program described in individual files in /usr/share/doc/*/copyright.  debian gnu/linux comes absolutely no warranty, extent permitted applicable law. last login: tue may 21 15:59:02 2013 xxx.xxx.xxx.xxx ←]0;pi@raspberrypi: ~←[01;32mpi@raspberrypi←[00m ←[01;34m~ $←[00m ←]0;pi@raspberrypi: ~←[01;32mpi@raspberrypi←[00m ←[01;34m~ $←[00m ←]0;pi@raspberrypi: ~←[01;32mpi@raspberrypi←[00m ←[01;34m~ $←[00m 

(the last line appears again when press enter).

any please?

that's shell prompt showing up. odd looking characters control characters shell uses produce color terminal.

plink doesn't respect terminal's settings properly, otherwise control characters never sent. should able save putty session terminal type set 'dumb' , load settings plink using -load option.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -