oils-for-unix / oils

Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!
http://www.oilshell.org/
Other
2.85k stars 159 forks source link

On FreeBSD Ctrl-Z causes ^Z printed on the terminal which isn't customary, and Ctrl-T prints stats of the shell itself which is also not customary for shells #2121

Open yurivict opened 1 week ago

yurivict commented 1 week ago
$ osh
osh-0.24.0$ ^C
osh-0.24.0$ ^C
osh-0.24.0$ ^Z^Z
osh-0.24.0$ ^Z
osh-0.24.0$ 
load: 1.55  cmd: oils-for-unix 61013 [ttyin] 7.82r 0.00u 0.00s 0% 5684k

osh-0.24.0$   
load: 1.50  cmd: oils-for-unix 61013 [ttyin] 11.36r 0.00u 0.00s 0% 5684k

osh-0.24.0$ 
load: 1.50  cmd: oils-for-unix 61013 [ttyin] 12.96r 0.00u 0.00s 0% 5684k

Please note that on BSDs Ctrl-T sends SIGINFO signal which usually prints some stats about the current running process, but shells usually ignore SIGINFO.