Tiny Core Linux

Tiny Core Base => TCB Bugs => Topic started by: Santos on March 29, 2020, 07:00:16 PM

Title: TCL:11 Is this a feature? Can't type in when a job is background'ed
Post by: Santos on March 29, 2020, 07:00:16 PM
Hi!

Pretty much the title. When I do something like:

Code: [Select]
ls | less
Ctrl + z

And, if for some reason the shell needs input from me -e.g when trying to replace a file with cp-, I just can't type in anything at all.

Code: [Select]
tc@box:~$ cp ./1 ./2/
cp: overwrite './2/1'?

Can quit it with Ctrl+C though.
Is it a shell or terminal issue? Or even an issue at all?
Happens with graphic/text mode.

Thank you in advance.

Edit: As far as I remember it's the same with TCL 7-10.
Title: Re: TCL:11 Is this a feature? Can't type in when a job is background'ed
Post by: curaga on March 30, 2020, 04:46:03 AM
Most likely shell bug, please try bash.
Title: Re: TCL:11 Is this a feature? Can't type in when a job is background'ed
Post by: Santos on April 04, 2020, 12:38:05 AM
Ok, done it. Tried Bash, but now it's the other way around. Can't go back to the job, but I'm able to type in.

Code: [Select]
[1]+  Stopped                 ls -p | less
tc@box:~$ fg
ls -p | less
jkjkjkjkjkjkjkjkjkjkjjkj^[[A^[[A^[[B^[[B^[[D^[[C^[[B^[[A