Using netcat stty not giving complete tty shell when doing CTRL+Z
0
votes
0
answers
209
views
I'm using
However, what I expect the output to show as
Also in the first pic you can see as I try to enter
netcat
and stty
to get terminal (tty) access, but I'm not able to do so as the CTRL+Z action on the netcat
session is giving me suspended session
instead of stopped
and then I'm not able to resume the suspended session.

stopped
as shown here

fg
for the second time I get ^M
plus its says continued sudo
I'm not sure what wrong I'm doing as I'm just following the guide mentioned here.
https://blog.ropnop.com/upgrading-simple-shells-to-fully-interactive-ttys/
Asked by asadz
(233 rep)
Jan 2, 2024, 01:00 PM
Last activity: Sep 27, 2024, 01:10 PM
Last activity: Sep 27, 2024, 01:10 PM