Shells like fish starts to query Device Capability from the kernel
terminal emulator. We already have the reply infras for each
protocols. The remaining part for this is to enable actual write.
Previously, we have lock issue from the respond side as
ttydisc_rint_done calls wakeup and takes the lock again.
The respond function now acts like queueing the response only, allo
of the output is handled in outwakeup. wakeup now handle queueing
after locking, which makes respond gets rid of locking from the parent.
After this, fish is able to run in the tty.