Shop OBEX P1 Docs P2 Docs Learn Events
Does anyone know how to disconnect from Putty serial terminal without quitting? — Parallax Forums

Does anyone know how to disconnect from Putty serial terminal without quitting?

Don MDon M Posts: 1,652
edited 2014-04-08 21:40 in Propeller 1
I've looked and can't figure out how to "disable" (like PST does) from a serial connection without shutting down Putty.

Does anyone know how?

Thanks.
Don

Comments

  • potatoheadpotatohead Posts: 10,261
    edited 2014-04-08 17:34
    Try a right click in the terminal window. When I get back to my Prop dev machine, I'll provide more detail.
  • mindrobotsmindrobots Posts: 6,506
    edited 2014-04-08 17:56
    From the puTTY doc (which I just read through for the first time - forgive me documentation writers):

    A serial line provides no well defined means for one end of the connection to notify the other that the connection is finished. Therefore, PuTTY in serial mode will remain connected until you close the window using the close button.

    No way to disconnect, apparently. puTTY starts fast enough, it's not a real bother, I guess, if you have to close it and restart it.

    You cat set up defined sessions for each of your props which makes it a little less painful.

    Terra Term lets you disconnect and reconnect a serial connection.
  • Duane C. JohnsonDuane C. Johnson Posts: 955
    edited 2014-04-08 18:23
    Hi mindrobots;
    mindrobots wrote: »
    Terra Term lets you disconnect and reconnect a serial connection.
    Yes, Terra Term can do this.
    However, its not real clean about it.
    It causes a Prop reset upon reconnection.
    I suppose PuTTY does the same thing upon a restart.

    Clearly we need to disconnect when using the "Propeller Tool" to program the Prop.
    The internal serial program in Propeller Tool seamlessly works OK.
    But the full fledged terminals work so much better.

    When PuTTY is restarted does it "Remember" the condition it was in before shutting down?

    Duane J
  • mindrobotsmindrobots Posts: 6,506
    edited 2014-04-08 18:30
    It doesn't apper to. You can of course set up configurations with the parameters you want and load them from a menu. I have it pinned to the task bar. From there I can right click and select from a handful of previous configurations.

    I go back and forth between the two. I really like Tera Terms cut/paste bettr for forth programming.
  • potatoheadpotatohead Posts: 10,261
    edited 2014-04-08 18:33
    He's right. The function I was confusing was "reset terminal" and the ability to launch a new serial connection from the RMB menu.

    I often use two prop plugs, and would reset the terminal. If you have that luxery, putty is great, because it just works no matter what the Prop actually does, worst case a reset is needed to establish a clear screen, known state.
  • mindrobotsmindrobots Posts: 6,506
    edited 2014-04-08 18:54
    Of course, the puTTY source is available if you want to add a "disconnect".

    ...I'm too lazy for adventures like that! :smile:
  • Duane C. JohnsonDuane C. Johnson Posts: 955
    edited 2014-04-08 19:02
    Hi mindrobots;
    mindrobots wrote: »
    It doesn't appear to. You can of course set up configurations with the parameters you want and load them from a menu. I have it pinned to the task bar. From there I can right click and select from a handful of previous configurations.
    Ya, Tera Term dose this also.
    I go back and forth between the two. I really like Tera Terms cut/paste better for forth programming.
    The cut/past in Tera Term is a dream. I use EditPlus smart text editor for all my programming. Then cut and paste into Tera Term.
    While I don't know how to make EditPlus "Aware" of spin syntax I know it could be done.

    Duane J
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2014-04-08 19:15
    I know both in TeraTerm and minicom that all I need to do is go to the port settings menu (minicom=^A,P; TeraTem=altS,E) without selecting anything and just leave it in this menu and this disconnects the port so the the Prop tool can use it after which I just cancel the settings request.
  • ElectrodudeElectrodude Posts: 1,658
    edited 2014-04-08 20:08
    I've only ever used putty for ssh and telnet on windows, but did you look in the menu in the window icon on the left side of the title bar? You will at least be able to duplicate the connection without connection the new one yet and then close the old one.

    electrodude
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2014-04-08 21:40
    If you use Linux...Consider trying Minicom

    Putty is rather big and ambitious, so finding serial functionalities are a bit more of a hunt.
Sign In or Register to comment.