1,449 reputation
73159
bio website piotr.dobrogost.net
location Poland
age 37
visits member for 5 years, 8 months
seen Feb 18 at 8:43

C++ is the king


Feb
24
awarded  Popular Question
Feb
3
comment What is session leader in `ps ax`
See What are “session leaders” in ps? at Unix&Linux SE.
Jan
27
comment Ctrl+c in a sub process is killing a nohup'ed process earlier in the script
nohup prevents the process from receiving SIGHUP signal whereas CTRL+C sends SIGINT signal. That's why nohup doesn't have the effect you expected.
Jan
21
comment Less interrupting in less
Why do you think that's the way follow mode works? I think the flow of events is that shell gets CTRL+C and sends SIGINT signal to less which gets this signal asynchronously without listening to keyboard/terminal.
Jan
21
comment Less interrupting in less
It seems that the problem is caused by using signal to interrupt less. Instead, if it were some normal key/shortcut we wouldn't have the problem in the first place. However I guess the need for a signal comes from the fact that process can't use select to wait for input both from a file/pipe and terminal at the same time.
Jan
21
comment Less interrupting in less
It light of the problem raised by OP it seems that decision to use CTRL+C as a way to interrupt less is very unfortunate. Do you know why this specific signal was chosen? Would some other signal be less problematic?
Jan
21
comment nohup output redirection to a different file
GNU nohup says that it'll redirect stdout to a file if you specify nohup command > file Isn't redirection in case of nohup command > file being handled by shell and not nohup? If so then how can nohup take any action based on weather redirection is present or not?
Nov
25
comment less command with multiple files: How to navigate to next/previous
If a number N is specified - how to specify this number (can't find answer in the manpage)?
Nov
17
awarded  Nice Question
Oct
7
awarded  Nice Question
Oct
4
awarded  Famous Question
Sep
18
awarded  Famous Question
Sep
10
comment How can I determine which process owns a hotkey in Windows?
If Hotkey Explorer reports hotkey as explorer.exe (TaskBar) then probably one of icons on desktop has this hotkey set in its properties.
Aug
11
awarded  Popular Question
Aug
9
awarded  Famous Question
Jul
15
awarded  Yearling
Jul
7
awarded  Notable Question
Jul
2
awarded  Curious
Apr
4
comment Delete Global Hotkey
Duplicate of How can I determine which process owns a hotkey in Windows?
Mar
22
revised Bash: Reset and Clear Commands
Fixed menu name and added shortcut for Konsole