![]() |
|
|||||||
| Notices |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Guest
Posts: n/a
|
I can't stop tail -f /path/to/file via CTRL+C or kill onOpenBSD/sparc64 4.2
Hi,
I noticed, that on OpenBSD/sparc64 4.2, I can't stop tail -f /path/to/ file via CTRL+C or kill command. I have to use kill -9. In bash prompt, CTRL+C is working fine, so I hope, that is not about disabled CTRL+C, but something with tail. I'm connected via ssh with TERM=xterm. Is tail this working fine on other architecture? What I shall check? Thank you, Jiri |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Re: I can't stop tail -f /path/to/file via CTRL+C or kill on OpenBSD/sparc64 4.2
On 2007-12-06, <> wrote:
> Hi, > > I noticed, that on OpenBSD/sparc64 4.2, I can't stop tail -f /path/to/ > file via CTRL+C or kill command. I have to use kill -9. In bash > prompt, CTRL+C is working fine, so I hope, that is not about disabled > CTRL+C, but something with tail. I'm connected via ssh with > TERM=xterm. > > Is tail this working fine on other architecture? What I shall check? Well ... I've not installed bash, but in a recently installed OpenBSD 4.2 in an Ultra-5 (which is sparc64) I encounter no problems using CTRL-C to terminate "tail -f /var/log/messages" with tcsh as the active shell. Have you tried it with other shells? It may be an artifact of bash -- or of your configuration options in bash. Good Luck, DoN. -- Email: <> | Voice (all times): (703) 938-4564 (too) near Washington D.C. | --- Black Holes are where God is dividing by zero --- |
|
|
|
#3 |
|
Guest
Posts: n/a
|
Re: I can't stop tail -f /path/to/file via CTRL+C or kill onOpenBSD/sparc64 4.2
On 7 Pro, 00:48, "DoN. Nichols" <dnich...@d-and-d.com> wrote:
> Well ... I've not installed bash, but in a recently installed > OpenBSD 4.2 in an Ultra-5 (which is sparc64) I encounter no problems > using CTRL-C to terminate "tail -f /var/log/messages" with tcsh as the > active shell. > > Have you tried it with other shells? It may be an artifact of > bash -- or of your configuration options in bash. > > Good Luck, > DoN. Thank you for quick reply. I replaced bash with ksh, but with same result, CTRL+C is working fine directly in shell, but not in tail (to exit tail). I have to use CTRL+Z and then kill -9 to stop tail ![]() But, I discovered, that if I run tail as root, it's working fine (I can stop tail with CTRL+C). So I dont know answers to these questions: - If CTRL+C is working fine in shell, shall the setting be fine also for tail? I, hope that yes. - Why tail can't be stoped with CTRL+C or kill command (without -9) running under user, but is working running under root? Thank you for any ideas, Jiri |
|
|
|
#4 |
|
Guest
Posts: n/a
|
Re: I can't stop tail -f /path/to/file via CTRL+C or kill on OpenBSD/sparc64 4.2
On Fri, 7 Dec 2007 00:45:15 -0800 (PST) in <> <plavcik@gmail.com> wrote:
> On 7 Pro, 00:48, "DoN. Nichols" <dnich...@d-and-d.com> wrote: >> Well ... I've not installed bash, but in a recently installed >> OpenBSD 4.2 in an Ultra-5 (which is sparc64) I encounter no problems >> using CTRL-C to terminate "tail -f /var/log/messages" with tcsh as the >> active shell. >> >> Have you tried it with other shells? It may be an artifact of >> bash -- or of your configuration options in bash. >> >> Good Luck, >> DoN. > > Thank you for quick reply. I replaced bash with ksh, but with same > result, CTRL+C is working fine directly in shell, but not in tail (to > exit tail). I have to use CTRL+Z and then kill -9 to stop tail ![]() > > But, I discovered, that if I run tail as root, it's working fine (I > can stop tail with CTRL+C). > > So I dont know answers to these questions: > - If CTRL+C is working fine in shell, shall the setting be fine also > for tail? I, hope that yes. > - Why tail can't be stoped with CTRL+C or kill command (without -9) > running under user, but is working running under root? > > Thank you for any ideas, If you cannot kill it with 'kill -INT', or 'kill' with no options, you have something wrong with the system. If 'kill -INT' works, check the output of 'stty -a' and see if intr is defined as ^C. If that works, check to see if ^C is actually making it down the tty. typeing 'e' 'c' 'h' 'o' ' ' control-v control-c should show 'echo ^C' P.S. If you're one of those hosers that insists on using 'kill -9' every time... you might consider finding a new hobby/line of work. -- Chris Dukes < elfick> willg: you can't use dell to beat people, it wouldn't stand up to the strain... much like attacking a tank with a wiffle bat |
|
|
|
#5 |
|
Guest
Posts: n/a
|
Re: I can't stop tail -f /path/to/file via CTRL+C or kill on OpenBSD/sparc64 4.2
On Fri, 7 Dec 2007 00:45:15 -0800 (PST) in <> <plavcik@gmail.com> wrote:
> On 7 Pro, 00:48, "DoN. Nichols" <dnich...@d-and-d.com> wrote: >> Well ... I've not installed bash, but in a recently installed >> OpenBSD 4.2 in an Ultra-5 (which is sparc64) I encounter no problems >> using CTRL-C to terminate "tail -f /var/log/messages" with tcsh as the >> active shell. >> >> Have you tried it with other shells? It may be an artifact of >> bash -- or of your configuration options in bash. >> >> Good Luck, >> DoN. > > Thank you for quick reply. I replaced bash with ksh, but with same > result, CTRL+C is working fine directly in shell, but not in tail (to > exit tail). I have to use CTRL+Z and then kill -9 to stop tail ![]() > > But, I discovered, that if I run tail as root, it's working fine (I > can stop tail with CTRL+C). > > So I dont know answers to these questions: > - If CTRL+C is working fine in shell, shall the setting be fine also > for tail? I, hope that yes. > - Why tail can't be stoped with CTRL+C or kill command (without -9) > running under user, but is working running under root? > > Thank you for any ideas, If you cannot kill it with 'kill -INT', or 'kill' with no options, you have something wrong with the system. If 'kill -INT' works, check the output of 'stty -a' and see if intr is defined as ^C. If that works, check to see if ^C is actually making it down the tty. typeing 'e' 'c' 'h' 'o' ' ' control-v control-c should show 'echo ^C' P.S. If you're one of those hosers that insists on using 'kill -9' every time... you might consider finding a new hobby/line of work. -- Chris Dukes < elfick> willg: you can't use dell to beat people, it wouldn't stand up to the strain... much like attacking a tank with a wiffle bat |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
< Windows Help - MS Office Help - Hardware Support >
| New To Site? | Need Help? |