New answers tagged input
For me it was the baudrate too low. Output did appear once I reconfigured the system (device and port) to use 300 instead of 150.
The solution is to scale the Area parameter. To get the current value: $ xsetwacom get "Wacom Bamboo stylus" Area 0 0 14760 9225 The value might depend on my setup (two screens, 3840x1200 resolution) or on my tablet (Bamboo MTE-450) so it might be different in your case. Multiply the values by the factor by which you want to slow down the pointer, for ...
It is caused by ibus. Killing ibus-x11 fixes the problem.
Here is a better answer to your original question, use a pipe rather than a redirection. $ echo 5 | ./test Please enter an integer: You entered 5 $ echo 99999 | ./test Please enter an integer: You entered 99999 $
I think I have found a way to achieve what you want, but I think you will want to learn about redirection to avoid the rather messy output. I used job control (& - run in background) to be able to run 2 instances simultaneously. See the bash man page for more details. You will also find coverage of redirection there. I added a sleep to you C example ...
It will work if you use your shell script rather than the binary. $ ~/tmp/term_test$ cat ./test_wrapper.sh #!/bin/bash ./test << EOF 5 EOF read dummy $ gnome-terminal -x ./test_wrapper.sh $ The "read dummy" line I added will stop the terminal from immediately closing when the script completes. Are you sure that you need to open a new terminal ...
Top 50 recent answers are included