Displaying 20 results from an estimated 32 matches for "sigtstp".
2016 Feb 16
2
[PATCH] fish: reset the console on ^Z RHBZ#1213844
Patch registers SIGTSTP hook where it sends reset terminal color control
sequence.
Maros Zatko (1):
fish: reset the console on ^Z RHBZ#1213844
fish/fish.c | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 72 insertions(+)
--
2.5.0
2016 Mar 08
1
[PATCH] fish: reset the console on ^Z RHBZ#1213844
Patch registers SIGTSTP hook where it sends reset terminal color
control sequence using write and fsync.
Handler is installed only if signal is not being ignored.
Patch uses rl_free_line_state and rl_cleanup_after_signal to unhook
readline from terminal, then it calls original TSTP handler using
approach in URL below and...
2016 Feb 16
0
[PATCH] fish: reset the console on ^Z RHBZ#1213844
Patch registers SIGTSTP hook where it sends reset terminal color
control sequence.
---
fish/fish.c | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 72 insertions(+)
diff --git a/fish/fish.c b/fish/fish.c
index d26f8b3..b579898 100644
--- a/fish/fish.c
+++ b/fish/fish.c
@@ -73,6 +73,11...
2016 Sep 27
10
[Bug 2619] New: infinite loop, 100% cpu use in ssh if ^Z is pressed at password prompt
https://bugzilla.mindrot.org/show_bug.cgi?id=2619
Bug ID: 2619
Summary: infinite loop, 100% cpu use in ssh if ^Z is pressed at
password prompt
Product: Portable OpenSSH
Version: 7.3p1
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component:
2008 Jan 30
3
newfs locks entire machine for 20seconds
----- Original Message -----
From: "Ivan Voras" <ivoras@freebsd.org>
>> The machine is running with ULE on 7.0 as mention using an Areca 1220
>> controller over 8 disks in RAID 6 + Hotspare.
>
> I'd suggest you first try to reproduce the stall without ULE, while
> keeping all other parameters exactly the same.
Ok tried with an updated 7 world / kernel as
2001 Jan 02
0
ogg123: close_dsp_on_suspend and next_on_SIGUSR1 patches submission
...if (param.quiet < 1) {
- fprintf(stderr, "Device: %s\n", info->name);
- fprintf(stderr, "Author: %s\n", info->author);
- fprintf(stderr, "Comments: %s\n", info->comment);
+ {
+ void stop(int i) {
+ close_devices();
+ signal(SIGTSTP, SIG_DFL);
+ kill(getpid(), SIGTSTP);
}
-
- current->device = ao_open(current->driver_id,bits,rate,channels,
- current->options);
- if (current->device == NULL)
- {
- fprintf(stderr, "Error opening device.\n");
- exit(1);
- }
- if (param...
2006 Jun 06
1
Asterisk 1.2.7.1 bad file descriptor
...t_sigaction(SIGINT, {0x4003e1a0, [], 0}, {0x80a6420, [INT],
SA_RESTART}, 8) = 0
rt_sigaction(SIGTERM, {0x4003e1a0, [], 0}, {0x80a6420, [TERM],
SA_RESTART}, 8) = 0
rt_sigaction(SIGQUIT, {0x4003e1a0, [], 0}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGALRM, {0x4003e1a0, [], 0}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTSTP, {0x4003e1a0, [], 0}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTTOU, {0x4003e1a0, [], 0}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTTIN, {0x4003e1a0, [], 0}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGWINCH, {0x4003e270, [], SA_RESTART}, {SIG_DFL}, 8) = 0
write(1, "*CLI> ", 6*CLI> ) = 6...
2002 Jan 02
2
macosx (lots of little changes)
...>macosx doesn't seem to have pthread_sigmask(). this is not a perfect
solution, I can't ^C out of ogg123.
--- ogg123/buffer.c.orig Wed Jan 2 01:21:20 2002
+++ ogg123/buffer.c Tue Jan 1 16:15:31 2002
@@ -75,7 +75,11 @@
sigaddset(&set, SIGINT);
sigaddset(&set, SIGTSTP);
sigaddset(&set, SIGCONT);
+#ifdef __APPLE__
+ if (sigprocmask(SIG_BLOCK, &set, NULL) != 0 )
+#else
if (pthread_sigmask(SIG_BLOCK, &set, NULL) != 0)
+#endif
DEBUG("pthread_sigmask failed");
}
I was getting segfaults using NULL instead of the dummy variable....
2009 Feb 19
1
NUT 2.4.1 crashes on FreeBSD - additional info
...0x28183000,608) = 0 (0x0)
> mmap(0x0,21112,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 672673792
> (0x28183000)
> munmap(0x28183000,21112) = 0 (0x0)
> sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0)
> = 0 (0x0)
> sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
> __sysctl(0xbfbfeaa4,0x2,0x2816fae0,0xbfbfeaac,0x0,0x0) = 0 (0x0)
> sigprocmask(SIG_BLOCK,SIGHUP|SIGINT...
2002 Jan 02
2
macosx (lots of little changes)
...>macosx doesn't seem to have pthread_sigmask(). this is not a perfect
solution, I can't ^C out of ogg123.
--- ogg123/buffer.c.orig Wed Jan 2 01:21:20 2002
+++ ogg123/buffer.c Tue Jan 1 16:15:31 2002
@@ -75,7 +75,11 @@
sigaddset(&set, SIGINT);
sigaddset(&set, SIGTSTP);
sigaddset(&set, SIGCONT);
+#ifdef __APPLE__
+ if (sigprocmask(SIG_BLOCK, &set, NULL) != 0 )
+#else
if (pthread_sigmask(SIG_BLOCK, &set, NULL) != 0)
+#endif
DEBUG("pthread_sigmask failed");
}
I was getting segfaults using NULL instead of the dummy variable....
2007 Dec 17
1
problem with samba 3.0.28/Solaris 8/smbclient
...CSETSW, 0xFF345C28) = 0
21056: sigaction(SIGINT, 0xFFBED4C0, 0xFFBED5C0) = 0
21056: sigaction(SIGTERM, 0xFFBED4C0, 0xFFBED5C0) = 0
21056: sigaction(SIGQUIT, 0xFFBED4C0, 0xFFBED5C0) = 0
21056: sigaction(SIGALRM, 0xFFBED4C0, 0xFFBED5C0) = 0
21056: sigaction(SIGTSTP, 0xFFBED4C0, 0xFFBED5C0) = 0
21056: sigaction(SIGTTOU, 0xFFBED4C0, 0xFFBED5C0) = 0
21056: sigaction(SIGTTIN, 0xFFBED4C0, 0xFFBED5C0) = 0
21056: sigaction(SIGWINCH, 0xFFBED4C0, 0xFFBED5C0) = 0
21056: time() = 1197919173
21056: write(6,...
2017 Mar 04
7
[PATCH v3] Fix virt-rescue.
Version 3:
- Tidies up the code further.
- Implements correct handling of SIGTSTP and SIGCONT.
- Adds: ^] s - sync filesystems
- Adds: ^] z - suspend virt-rescue
Rich.
2015 Dec 17
5
Assistance much appreciated
...> val
$variables
$variables$IANA_HTTP_status_code_db
[1] 0 1256
$variables$IANA_URI_scheme_db
[1] 1256 3458
$variables$table_of_HTTP_status_codes
[1] 4714 830
$references
named list()
$compressed
[1] TRUE
> mapfile
[1] "./library/tools/R/sysdata.rdx"
> [1] + Stopped (SIGTSTP) R_DEFAULT_PACKAGES=NULL LC_ALL=C
./bin/R --vanilla
root at x065:[/data/prj/cran/64/R-3.2.3]ls -l ./library/tools/R/sysdata.rdx
-rw-r--r-- 1 root 33 193 Dec 17 16:49
./library/tools/R/sysdata.rdx
root at x065:[/data/prj/cran/64/R-3.2.3]cat ./library/tools/R/sysdata.rdx...
2015 Dec 17
0
Assistance much appreciated
...gt; $variables$IANA_URI_scheme_db
> [1] 1256 3458
>
> $variables$table_of_HTTP_status_codes
> [1] 4714 830
>
>
> $references
> named list()
>
> $compressed
> [1] TRUE
>
> > mapfile
> [1] "./library/tools/R/sysdata.rdx"
> > [1] + Stopped (SIGTSTP) R_DEFAULT_PACKAGES=NULL LC_ALL=C
> ./bin/R --vanilla
> root at x065:[/data/prj/cran/64/R-3.2.3]ls -l ./library/tools/R/sysdata.rdx
> -rw-r--r-- 1 root 33 193 Dec 17 16:49
> ./library/tools/R/sysdata.rdx
> root at x065:[/data/prj/cran/64/R-3.2.3]cat ./lib...
2003 Feb 04
0
[PATCH] openssh-3.5p1: restore SIGTTOU in readpassphrase()
...een dropped somewhere b/w 3.1 and 3.5
--- openssh-3.5p1/openbsd-compat/readpassphrase.c.orig Tue Sep 10
20:29:13 2002
+++ openssh-3.5p1/openbsd-compat/readpassphrase.c Tue Feb 4
08:30:06 2003
@@ -152,6 +152,7 @@
(void)sigaction(SIGTERM, &saveterm, NULL);
(void)sigaction(SIGTSTP, &savetstp, NULL);
(void)sigaction(SIGTTIN, &savettin, NULL);
+ (void)sigaction(SIGTTOU, &savettou, NULL);
if (input != STDIN_FILENO)
(void)close(input);
believe it or not, on Solaris 2.6 to 9 when running the csh, ssh
never gets a SIGTTIN in rea...
2010 Jun 17
0
signals and RFC4254
...t status. This list of signals you can *receive* on exit is only
a subset of the signals you might want to *send* with a "signal" channel
request. In particular, if you want to support sending all of the signals that
can be generated by keyboard input, the suspend character is missing (SIGTSTP).
I guess we can live without most of the others, but possibly SIGCONT and
SIGSTOP might be useful too. I think TSTP should be part of the base spec,
(and not an xx at foo.bar extension) otherwise this channel request can't fulfill
the most basic need (propagating signals from a terminal to...
2020 Aug 27
0
[klibc:master] alpha: Fix definitions of _NSIG and struct sigaction
...3
+#define SIGILL 4
+#define SIGTRAP 5
+#define SIGABRT 6
+#define SIGEMT 7
+#define SIGFPE 8
+#define SIGKILL 9
+#define SIGBUS 10
+#define SIGSEGV 11
+#define SIGSYS 12
+#define SIGPIPE 13
+#define SIGALRM 14
+#define SIGTERM 15
+#define SIGURG 16
+#define SIGSTOP 17
+#define SIGTSTP 18
+#define SIGCONT 19
+#define SIGCHLD 20
+#define SIGTTIN 21
+#define SIGTTOU 22
+#define SIGIO 23
+#define SIGXCPU 24
+#define SIGXFSZ 25
+#define SIGVTALRM 26
+#define SIGPROF 27
+#define SIGWINCH 28
+#define SIGINFO 29
+#define SIGUSR1 30
+#define SIGUSR2 31
+
+#define SIGPOLL SIG...
2015 Dec 18
0
Assistance much appreciated
...variables$IANA_URI_scheme_db
> [1] 1256 3458
>
> $variables$table_of_HTTP_status_codes
> [1] 4714 830
>
>
> $references
> named list()
>
> $compressed
> [1] TRUE
>
> > mapfile
> [1] "./library/tools/R/sysdata.rdx"
> > [1] + Stopped (SIGTSTP) R_DEFAULT_PACKAGES=NULL LC_ALL=C ./bin/R --vanilla
> root at x065:[/data/prj/cran/64/R-3.2.3]ls -l ./library/tools/R/sysdata.rdx
> -rw-r--r-- 1 root 33 193 Dec 17 16:49 ./library/tools/R/sysdata.rdx
> root at x065:[/data/prj/cran/64/R-3.2.3]cat ./library/tools/R...
2015 Dec 17
3
Assistance much appreciated
...gt;>
>> $variables$table_of_HTTP_status_codes
>> [1] 4714 830
>>
>>
>> $references
>> named list()
>>
>> $compressed
>> [1] TRUE
>>
>>> mapfile
>> [1] "./library/tools/R/sysdata.rdx"
>>> [1] + Stopped (SIGTSTP) R_DEFAULT_PACKAGES=NULL LC_ALL=C
>> ./bin/R --vanilla
>> root at x065:[/data/prj/cran/64/R-3.2.3]ls -l ./library/tools/R/sysdata.rdx
>> -rw-r--r-- 1 root 33 193 Dec 17 16:49
>> ./library/tools/R/sysdata.rdx
>> root at x065:[/data/prj/cran/64...
2010 Jan 11
0
[PATCH] Fix arm signals
...#define SIGIOT 6
+#define SIGBUS 7
+#define SIGFPE 8
+#define SIGKILL 9
+#define SIGUSR1 10
+#define SIGSEGV 11
+#define SIGUSR2 12
+#define SIGPIPE 13
+#define SIGALRM 14
+#define SIGTERM 15
+#define SIGSTKFLT 16
+#define SIGCHLD 17
+#define SIGCONT 18
+#define SIGSTOP 19
+#define SIGTSTP 20
+#define SIGTTIN 21
+#define SIGTTOU 22
+#define SIGURG 23
+#define SIGXCPU 24
+#define SIGXFSZ 25
+#define SIGVTALRM 26
+#define SIGPROF 27
+#define SIGWINCH 28
+#define SIGIO 29
+#define SIGPOLL SIGIO
+/*
+#define SIGLOST 29
+*/
+#define SIGPWR 30
+#define SIGSYS 31
+#define SIGUNU...