Zumasys Homepage
Forum Home Forum Home > AccuTerm > Connectivity
  New Posts New Posts RSS Feed - Automating the startup of a specific actf file
  FAQ FAQ  Forum Search   Register Register  Login Login

Automating the startup of a specific actf file

 Post Reply Post Reply
Author
Message
sdavmor View Drop Down
Newbie
Newbie
Avatar

Joined: April 08 2010
Location: United States
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote sdavmor Quote  Post ReplyReply Direct Link To This Post Topic: Automating the startup of a specific actf file
    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
Back to Top
PSchellenbach View Drop Down
Admin Group
Admin Group

Moderator

Joined: December 15 2003
Location: United States
Status: Offline
Points: 2140
Post Options Post Options   Thanks (0) Thanks(0)   Quote PSchellenbach Quote  Post ReplyReply Direct Link To This Post 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

Thanks, Pete

Back to Top
sdavmor View Drop Down
Newbie
Newbie
Avatar

Joined: April 08 2010
Location: United States
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote sdavmor Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.