• Support
  • Articles
  • Resources
  • Products
Search Support Forums

Search found 485 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 20

Search found 485 matchesPage 1 of 20

by Trevor
Thu Jul 20, 2017 12:39 pm
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: exit from while loop with a key or mouse press
Replies: 2
Views: 499
can you provide the while loop code please?
by Trevor
Fri Jun 30, 2017 2:57 pm
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: How to get the size of a file / log ??
Replies: 3
Views: 705
Hi, It depends on what do you mean by compare. You can calculate the CRC of a file using macro. If two files have the same CRC then they will be the same. See http://ttssh2.osdn.jp/manual/en/macro/command/crc32.html . If you mean visually compare, then outside of macro there are lots of tools for co...
by Trevor
Fri Jun 23, 2017 8:59 am
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: How to get the size of a file / log ??
Replies: 3
Views: 705
I don't think so but you could call something outside of Tera Term (e.g. a batch file) to do this and return to the macro. See exec command here: .
e.g.
by Trevor
Thu Jun 22, 2017 9:00 am
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: Any automated code to replace Mpause?
Replies: 4
Views: 664
But you are waiting for the command prompt after the command so therefore the mpause should not be needed i.e. the command prompt should only appear after the command has completed. Hence my previous question. The wait for command prompt should really have a timeout and detect when a timeout occurs....
by Trevor
Tue Jun 20, 2017 11:40 am
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: Any automated code to replace Mpause?
Replies: 4
Views: 664
Have you tried just removing the "mpause" lines? If so what does not work when you do?
by Trevor
Mon May 15, 2017 10:57 am
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: Sending string after Enterkey from keyboard to COM port
Replies: 1
Views: 376
Neither are ideal but you could do one of the following.......

[list=1]
  • paste the command using Alt+R (which appends a carriage return).
  • use a [url=http://ttssh2.osdn.jp/manual/en/macro/]macro[/url] to send the command(s)
  • by Trevor
    Sun May 07, 2017 12:24 pm
    Forum: Tera Term Macro Syntax and Usage (questions)
    Topic: Automating firmware upgrade/transfer using Tera Term ymodem interface.
    Replies: 5
    Views: 560
    Hi Yogesh, I would do it like this. ; Openning Serial connection using COM port. sprintf2 constr '/C=%s /BAUD=115200' param2 connect constr   testlink if result == 2 then     ; Assigning new title to TeraTerm window     settitle constr       ;start sending the carriage return command to the micro-co...
    by Trevor
    Sat May 06, 2017 5:45 pm
    Forum: Tera Term Macro Syntax and Usage (questions)
    Topic: Automating firmware upgrade/transfer using Tera Term ymodem interface.
    Replies: 5
    Views: 560
    Sure, I have done this lots in the past. Something like this would do it: sendln "upgrade ymodem" ; wait for whatever the response is (if there is one) using wait or waitln   ymodemsend "C:\firmware.bin" if result then     messagebox 'Success' 'YMODEM' else     messagebox 'File t...
    by Trevor
    Tue May 02, 2017 9:29 am
    Forum: Tera Term, TTSSH (questions)
    Topic: Transferring set of Bits
    Replies: 1
    Views: 421
    You can just click File -> Send file ... to send a file (check the binary checkbox when selecting the file). If you want to do this using a script (macro) then read here for how to run a macro: http://ttssh2.osdn.jp/manual/en/macro/ The sendfile macro command can be used to send a file: http://ttssh...
    by Trevor
    Wed Apr 26, 2017 2:52 pm
    Forum: LogMeTT and TTLEditor (questions)
    Topic: Changing the Vehicle ID Range
    Replies: 1
    Views: 544
    I can't see how this is related to Tera Term. Could you provide more detail as in what you are sending and what is being received? How are you connecting Tera Term to the entry gate? E.g. serial port or Ethernet. Isn't it more likely that this is related to how the entry gate works rather than Tera ...
    by Trevor
    Wed Apr 26, 2017 9:56 am
    Forum: Tera Term, TTSSH (questions)
    Topic: TeraTerm sending characters when window is clicked
    Replies: 1
    Views: 297
    Could it be that you are doing a right click? By default this pastes whatever is in the clipboard. This is common in some terminals. To disable/configure see:

    Setup -> Additional Settings -> Copy and Paste

    Regards
    Trevor
    by Trevor
    Fri Apr 21, 2017 8:48 am
    Forum: Tera Term Macro Syntax and Usage (questions)
    Topic: Problem with rcvln.
    Replies: 1
    Views: 350
    It is better if you can provide the code in question otherwise it's difficult to know what is going on. Please provide. Need to know what the "result" variable is after you call recvln. Also need to know what you have set timeout to be. If you provide more detail on what you are trying to ...
    by Trevor
    Wed Apr 19, 2017 10:03 am
    Forum: Tera Term, TTSSH (questions)
    Topic: How i get error info using Log files?
    Replies: 1
    Views: 299
    You can log everything received to log file. To start a log file from your macro see here:
    by Trevor
    Mon Apr 10, 2017 1:17 pm
    Forum: Tera Term Macro Syntax and Usage (questions)
    Topic: How can i store value from tera term screen to any variable?
    Replies: 3
    Views: 503
    Hi, This seems to be the same question as asked in http://logmett.com/forum-index/3/is-there-any-command-in-tera-term-like-scanf-in-c-2988?p=9233#p9233 . It would have been better to post this question there when I asked for an example of what you are trying to send/receive rather than starting a ne...
    by Trevor
    Mon Apr 10, 2017 1:13 pm
    Forum: Tera Term Macro Syntax and Usage (questions)
    Topic: How can i store value from tera term screen to any variable?
    Replies: 3
    Views: 503
    Is the response line based? I.e. is there an end of line (carriage retrun and/or line feed character) and the end/beginning of the response? If so then here is an example (not tested) using recvln timeout = 5 sendln "switch ok_p" recvln ; may need two of these (one to consume the command e...
    by Trevor
    Thu Apr 06, 2017 2:39 pm
    Forum: Tera Term Macro Syntax and Usage (questions)
    Topic: Is there any command in tera term like scanf in c?
    Replies: 3
    Views: 382
    Yes, lots. E.g. wait, waitln, waitregex etc.
    Provide an example of what you are receiving and what you want to extract from it and then people here can suggest example macro code.
    by Trevor
    Mon Apr 03, 2017 2:46 pm
    Forum: Tera Term, TTSSH (questions)
    Topic: Receive from XMODEM
    Replies: 1
    Views: 469
    You need to "tell" your PABX (host) to send the file using XMODEM. How that is done (what command to send to your PABX) will depend on the PABX you are using (presuming you PABX supports sending files by XMODEM).
    by Trevor
    Tue Mar 28, 2017 10:27 am
    Forum: Tera Term Macro Syntax and Usage (questions)
    Topic: 2 questions required help
    Replies: 1
    Views: 318
    For question 1 I'm not sure how this could be done as if the tera term window is closed then the link with macro as well as tera term is ended. Someone else may have a suggestion. For question 2 see setdebug command: http://ttssh2.osdn.jp/manual/en/macro/command/setdebug.html setdebug 3 ; disable sc...
    by Trevor
    Sun Mar 19, 2017 4:33 pm
    Forum: Tera Term, TTSSH (questions)
    Topic: Should we give Tera Term a face-lift? Please vote.
    Replies: 5
    Views: 988
    Many thanks Boris for adding the new options, I have voted.
    by Trevor
    Fri Mar 17, 2017 10:46 am
    Forum: Tera Term, TTSSH (questions)
    Topic: Should we give Tera Term a face-lift? Please vote.
    Replies: 5
    Views: 988
    Hi Boris, I didn't vote because none of the options reflected my view. I would have no need for such a tool but I would not want to say/vote that such a tool is not necessary as others might well find it very useful (but I have no way of knowing). So if there was an option for "I do not need su...
    by Trevor
    Sat Mar 04, 2017 12:47 am
    Forum: Tera Term, TTSSH (questions)
    Topic: sending hex values in tera term
    Replies: 17
    Views: 2038
    cannot see the image attachment you refer to, maybe the forum will not support such attachments. Can you make a link e.g. dropbox or google drive etc. ? Or refer me to the website for the device. If I have some data I can figure it out otherwise I'm blind.
    by Trevor
    Fri Mar 03, 2017 9:48 pm
    Forum: Tera Term, TTSSH (questions)
    Topic: sending hex values in tera term
    Replies: 17
    Views: 2038
    Do have a document for the digital interface card you can point me to?.
    by Trevor
    Fri Mar 03, 2017 10:24 am
    Forum: Tera Term, TTSSH (questions)
    Topic: sending hex values in tera term
    Replies: 17
    Views: 2038
    Hi luxlcd,
    Do you want to send hex from a Tera Term macro or some other way?

    As per my question above what exactly do you mean by hex? Do you mean a raw byte (which may not be printable) or do you mean 2 character string representing a hex value for a byte?

    Please provide some examples.

    Trevor
    by Trevor
    Sat Feb 11, 2017 3:36 pm
    Forum: Tera Term, TTSSH (questions)
    Topic: How does TeraTerm signal "end of file" in Send File
    Replies: 3
    Views: 571
    Hi Joe, It would be much more odd if there were a signal for end of file. If you need to know end of file look at xmodem or ymodem or zmodem etc. These are protocols for this purpose, making send file into some proprietary protocol by having end (or start or length or CRC) would just be inventing an...
    by Trevor
    Fri Feb 10, 2017 6:09 pm
    Forum: Tera Term, TTSSH (questions)
    Topic: How does TeraTerm signal "end of file" in Send File
    Replies: 3
    Views: 571
    No it only sends what is in the file, no control character(s) are sent at the end.
    Display posts from previous:
    Sort by:
    • 1
    • 2
    • 3
    • 4
    • 5
    • 20

    Search found 485 matchesPage 1 of 20