Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 05:50 14 Jul 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Forcing TeraTerm to do it MY way...

Author Message
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9593
Posted: 05:30pm 15 Apr 2015
Copy link to clipboard 
Print this post

Hi everyone.

I always want the same startup config with TT, but every time I start it, it always defaults to 9600 8N1, with font size 9.

I would like to force TT to always start at 38k4 with a font size of 14.

I know it is only a few mouse clicks to change, but say that to yourself after about a thousand startups of TT and having to change these settings each and every time.

There is probably a setting somewhere or something I am not doing, and hopefully this startup arrangement can be changed to what I want.

Does anyone have any bright ideas?
Smoke makes things work. When the smoke gets out, it stops!
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1989
Posted: 05:48pm 15 Apr 2015
Copy link to clipboard 
Print this post

Haven't got it in front of me at the moment but under SETUP down the bottom there is a 'Save Setup'.
Paul Edited by palcal 2015-04-17
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
Eugeneo

Newbie

Joined: 12/04/2015
Location: Canada
Posts: 20
Posted: 06:20pm 15 Apr 2015
Copy link to clipboard 
Print this post

Hey Grogster, I know exactly what you mean.

I use a program called PTFB. It allows you to program keystroke combinations and delays based on application titles and a plethora of options.

I use this for setting up chip programming options for MPLAB IPE. It's amazing how many times you change chips when you have multi chips on one PCB. Scrolling through the chip menu selecting connecting and selecting the file can be like pulling your teeth if you do it enough.

Also for batch printing. I have it setup so it takes the text from the document and inserts it into the filename with at 'ctr-x'

Server logins ... you name it.



 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9593
Posted: 06:36pm 15 Apr 2015
Copy link to clipboard 
Print this post

  palcal said   Haven't got it in front of me at the moment but under SETUP down the bottom there is a 'Save Setup'.
Paul


So it is......

Right in front of me all the time.
I must get more sleep at nights.
Smoke makes things work. When the smoke gets out, it stops!
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2933
Posted: 08:32pm 15 Apr 2015
Copy link to clipboard 
Print this post

I succeeded in changing to 38,400baud the other day (on a Win7 laptop) It had been annoying me for a whole year to keep starting at 9600.

I could not get it to work by using Save Setup so in the end I hunted for a solution. Ended up editing a 'SetUp' file as follows:

Goto TeraTerm folder - mine was in ProramFiles(x86). In there, look for the file: TERATERM (configuration settings). Open this file in NotePad (or similar). Use NotePad's 'Find' feature and type in BAUD

This should take you to a 'comment line' saying 'Baud rate'. The immediate line following will have the setting 'BaudRate=9600'. I simply changed 9600 to 38400 and saved the file. Next time I ran TT it all kicked up as hoped for (i.e. 38400).

I just had a look and a few lines above this there is mention of font (and other stuff too).

Hopefully this helps you (just in case Save Setup' doesn't work like it didn't for me!)

WW
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6269
Posted: 08:57pm 15 Apr 2015
Copy link to clipboard 
Print this post

@WW
If your INI file is in the program folder, it is likely to be Windows preventing the file from being changed.

In my case the Teraterm INI file is in 'Documents' so I have no problems with saving changes.
There are a lot of other changes that need access to the INI file and the help is limited.

Still my favorite terminal program...
Jim
VK7JH
MMedit
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9593
Posted: 10:22pm 15 Apr 2015
Copy link to clipboard 
Print this post

@ WW - Cool - thanks for that hint, I will keep that info handy. In my case, the "Save settings" seemed to work for me, so fabulous.

@ Jim - Yes, I still like TT the most for what it does, and being free when many of the other terminals are not, also works well in it's favour. It was just the startup annoyances that were starting to bug me.
Smoke makes things work. When the smoke gets out, it stops!
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1989
Posted: 10:37pm 15 Apr 2015
Copy link to clipboard 
Print this post

@ Grogster
  Quote  Right in front of me all the time.
I must get more sleep at nights.

You haven't been the same since you gave up the Grog.
Paul.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
BobD

Guru

Joined: 07/12/2011
Location: Australia
Posts: 935
Posted: 11:02pm 15 Apr 2015
Copy link to clipboard 
Print this post

Paul
when I read his comment earlier I thought exactly the same as you. He is awake very late considering NZ is 2 hours ahead of us.

Grogs
maybe you should have the occasional sip for medicinal purposes.

Bob
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1427
Posted: 05:08am 16 Apr 2015
Copy link to clipboard 
Print this post

There are command-line options for TT.

Tera Term command line
TTERMPRO [ <host>[[:]<TCP port#>] | telnet://<host>[:<TCP port#>][/] ]
[/BAUD=<baud rate>] [/C=<serial port#>] [/DS] [/E]
[/F=<setup file>] [/FD=<file transfer directory>]
[/H] [/K=<keyboard setup file>]
[/KR=<kanji code (receive)>] [/KT=<kanji code (transmit)>]
[/L=<log file>] [/LA=<language>] [/M=<macro file>]
[/P=<TCP port#>] [/R=<replay file>] [/T=<telnet flag>]
[/TEKICON=<icon name>] [/TIMEOUT=<connecting timeout value>]
[/V] [/VTICON=<icon name>] [/W="<window title>"]
[/X=<window pos (x)] [/Y=<window pos (y)]
[;<comment>]
Options
<host>
Host name or IP address.
<host>:<TCP port#>
<host> with a TCP port number.
":" is placed between <host> and <TCP port#>.
<host> <TCP port#>
<host> with a TCP port number.
Space character(s) between <host> and <TCP port#>.
Number just after <host> is interpreted as a port number.
telnet://<host>[:<TCP port#>][/]
URL style - for telnet handler
TCP port number and "/" at the end are optional.
If TCP port number is omitted, use 23. (TCPPort setting in setup file is ignored.)
/B
Telnet binary option.
/BAUD=<baud rate>
baud rate of serial port. If the baud rate not supported by Tera Term is specified, this option is ignored.
/C=<serial port#>
Serial port
/C=1 COM1
/C=2 COM2
/C=3 COM3
:
/C=256 COM256
/DUPLICATE
Internal use(must not specify this option)
/DS
Disable displaying the "New connection" dialog on startup
/E
Disable TCPLocalEcho and TCPCRSend option
/F=<setup file>
Setup file
/F=TERATERM.INI (default)
If this value is not a full path, it is understood as a relative path from ttermpro.exe.
/FD=<file transfer directory>
File transfer directory
/H
Hide title bar.
/I
Start Tera Term in iconized state.
/K=<keyboard setup file>
Keyboard setup file
/K=KEYBOARD.CNF (default)
If this value is not a full path, it is understood as a relative path from ttermpro.exe.
/KR=<kanji code (receive)>
Note: Japanese, Korean and UTF-8 mode only
/KR=SJIS
/KR=EUC
/KR=JIS
/KR=UTF8 UTF-8(Normalization Form C: Windows, Linux)
/KR=UTF8m UTF-8(Normalization Form D: Mac OS X)
/KR=KS5601 for Korean mode
/KT=<kanji code (transmit)>
Note: Japanese and Korean mode only
/KT=SJIS
/KT=EUC
/KT=JIS
/KT=UTF8
/KT=KS5601 for Korean mode
/L=<log file>
Start Tera Term with logging.
/LA=<language>
Language mode.
/LA=E English
/LA=J Japanese
/LA=K Korean
/LA=R Russian
/LA=U UTF-8
/M=<macro file>
Start Tera Term with macro.
If this value is not a full path, it is understood as a relative path from ttermpro.exe.
/P=<TCP port#>
TCP port number
/R=<replay file>
Replay file
/T=<telnet flag>
/T=1 Enable telnet
/T=0 Disable telnet
/TEKICON=<icon name>
TEK window icon. Could be specify the same value of TEKIcon of setup file.
/TIMEOUT=<connecting timeout value>
Could be specified per seconds.
/V
Start Tera Term in hidden (invisible) state.
/VTICON=<icon name>
VT window icon. Could be specify the same value of VTIcon of setup file.
/W="<window title>"
Window title
A user should put the window title in quotations by using `"' character two times to include the character.
/X=<window position (x)>
Windows position (horizontal)
/Y=<window position (y)>
Windows position (vertical)
;<comment>
Comment. Should be last in the command line.
Examples
TTERMPRO
TTERMPRO myhost.mydomain
TTERMPRO myhost.mydomain:23
TTERMPRO myhost.mydomain 23
TTERMPRO 111.111.11.11
TTERMPRO myhost.mydomain /T=0 /P=7
TTERMPRO /C=1
TTERMPRO /F=TELNET.INI
TTERMPRO foohost.foodomain /F=FOOHOST.INI
TTERMPRO /C=2 /BAUD=9600 /F=MYSETUP.INI
TTERMPRO /K=MYKEY.CNF /W="My host"
TTERMPRO /R=README.TXT ; replay a file
TTERMPRO myhost /B /X=100 /Y=50

Micromites and Maximites! - Beginning Maximite
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9593
Posted: 02:17pm 16 Apr 2015
Copy link to clipboard 
Print this post

@ Paul & Bob - Yeah, it was about 4AM or so when I posted that - probably could have solved that issue myself with a fresh day and a freshly recharged brain.

As for the booze, I would never be up that late when I was on the sauce - I would have crashed for the night usually before midnight. I do need to get to bed earlier.

@ CG - Thanks for all the command-line options - useful.
Smoke makes things work. When the smoke gets out, it stops!
 
Bryan1

Guru

Joined: 22/02/2006
Location: Australia
Posts: 1454
Posted: 04:56pm 16 Apr 2015
Copy link to clipboard 
Print this post

When I programmed those 150's I found TT was still set to the maximite with a slower baud rate. So it was time to scan the grey matter and remember the save settings. Did that and no problems TT starts with the correct settings.

Eh Grog's maybe I should send over a bottle of my shine with a small oak stick in then the longer the temptation the better the drop will be.

Cheers Bryan
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6269
Posted: 09:16pm 17 Apr 2015
Copy link to clipboard 
Print this post

TeraTerm can do macros.

When I get back from wandering around WW's back yard, I will put an option in MMEdit to use TeraTerm for the terminal instead of MMEdit's slow version.
You will be able to upload from MMEdit with the single click the play around in TeraTerm.

It shouldn't be too difficult to do....

It will have the advantage of working will the VT100 terminal and other Microchip serial ports that MMEdit refuses to play with.

Jim
VK7JH
MMedit
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2933
Posted: 09:26pm 17 Apr 2015
Copy link to clipboard 
Print this post

  TassyJim said  When I get back from wandering around WW's back yard. . . .
Jim


Are you here in the UK now?? Let me know if you are so we can grab a beer/coffee

WWEdited by WhiteWizzard 2015-04-19
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6269
Posted: 10:02pm 17 Apr 2015
Copy link to clipboard 
Print this post

  WhiteWizzard said  
Are you here in the UK now?? Let me know if you are so we can grab a beer/coffee

WW

Not yet. Waiting for it to warm up a bit - around election time should do it!

Jim

VK7JH
MMedit
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025