Print Page | Close Window

Automating the startup of a specific actf file

Printed From: Rocket Software
Category: AccuTerm Knowledge Base (read only)
Forum Name: Connectivity
Forum Description: Questions about serial, modem, telnet and secure shell connections?
URL: https://forum.asent.com/forum_posts.asp?TID=2743
Printed Date: March 28 2024 at 9:25am
Software Version: Web Wiz Forums 12.03 - http://www.webwizforums.com


Topic: Automating the startup of a specific actf file
Posted By: sdavmor
Subject: Automating the startup of a specific actf file
Date Posted: February 11 2021 at 4:21pm
This is on Linux using Accuterm 7 on top of Wine.  The dinky PC devices (atomic pi) are going to replace Esprit and other network terminals that boot and start a nailed telnet session.  I get this far: PC device boots, logs into the default user and starts Accuterm 7.  How do I tell Accuterm when it starts to launch a specific actf?  On my test Lubuntu desktop  it is called d3port12.  If I double click on the item it works and Accuterm starts on port 12.  The bash command that is launched at startup is #wine "C:\Program Files (86)\Atwin71\atwin71.exe".  I want it to launch (path to Accuterm connections)\d3port12.  It's probably laughable easy but it is eluding me right now.  Any help will be great.  Thanks. 

-------------
SDM -- A 21st century schizoid man



Replies:
Posted By: PSchellenbach
Date Posted: February 12 2021 at 10:18am
Hi Steven - I have not used wine for a while, so not sure if this will work in wine. But in Windows, you can append a file name to the command line, and AccuTerm will open that files when it starts:

"C:\Program Files (86)\Atwin71\atwin71.exe" "C:\AccuTerm Files\startup.atsc"

Then you need to create the startup.atsc script. Here's a link to a topic that shows how to record a macro and then convert it into a script: http://https://forum.asent.com/topic1015.html" rel="nofollow - http://https://forum.asent.com/topic1015.html

Thanks, Pete



Posted By: sdavmor
Date Posted: February 13 2021 at 12:12am
Pete, you got it, though there was no need to even do a macro or a script inside Accuterm.  This works from a terminal shell command line:

$ wine "C:\Program Files (86)\Atwin71\atwin71.exe" "C:\users\lubuntu\My Documents\TCS\AccuTerm Settings\d3port12.atcf"

I put that directly into the session settings for startup apps as Accuterm and I have what I want.  The atomic pi unit powers on and 45 seconds later is connected to the MV database on the specified nailed telnet port.  Users won't have to know anything about anything.  Just like having an old-school dumb terminal. Which is perfect.  Many thanks.


-------------
SDM -- A 21st century schizoid man



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.03 - http://www.webwizforums.com
Copyright ©2001-2019 Web Wiz Ltd. - https://www.webwiz.net