| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: Using tcpser on a Pi for telnet gateway to C64? |
On Friday, June 23, 2017 at 2:55:55 AM UTC-6, 6502en...{at}gmail.com wrote:
> Hi,
> Thanks a lot for all your help!
....
> ———————
>
> Where do I have to put the mentioned:
>
> a little trick to avoid seeing the "grep" line in the output...
>
> ps -ef | grep [t]cpser
>
> in?
>
>
> Thanks!
That line is just another way of seeing if tcpser is actually running or
not without the clutter. You would use that directly at the bash (command
prompt) when ever you want to.
In saying that, it's easy to say that there are many many many ways to do
one thing lol And that, alone, makes things convoluted and starts many
opinions boiling over as to what is the best practice.
So, to start tcpser on boot and to keep it running, you can make it into a
server (the proper way I would do it, allowing) *OR* create a timer (just
as good as a service, but approached more in the way of an application
running on top of the OS rather
than within it). It depends on how your brain is used to thinking and
whether/what you want to know. The timer requires your own maintenance to
be set up (which we did with the script to check it) or letting the OS take
care of it all (which is what
the service would do).
Cutting to the chase and getting it done in the least amount of steps and a
first crack at it, I would make a timer and then use the {at}reboot command.
Quick, done, and it works: It will autoboot and keep running when it
crashes and its process quits.
I also agree with keeping the Pi. I'm in the same bought with a bunch of
original 2011 pi's that work great for this purpose. I prefer the max232
and GPIO hardware route, but each to there own :) Working with this stuff
makes it all feel like 1984
again :)
Cheers,
Carl
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)SEEN-BY: 57/0 116/102 130/210 512 153/250 218/630 317/2 393/68 633/267 280 SEEN-BY: 640/384 712/620 848 770/0 1 3 100 340 772/0 1 210 500 @PATH: 770/3 1 712/848 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.