1 |
On Monday 10 November 2008 02:39:47 Christer Ekholm wrote: |
2 |
> Alan McKinnon <alan.mckinnon@×××××.com> writes: |
3 |
> > Hi all, |
4 |
> > |
5 |
> > I need to disable job control on a machine with 650+ users because way |
6 |
> > too many of them believe that Ctrl-Z is how you kill processes. So, I |
7 |
> > want Ctrl-Z to basically do nothing. I've found a great solution: |
8 |
> > |
9 |
> > set +m |
10 |
> |
11 |
> One other way could perhaps be to tell the terminal not to send suspend |
12 |
> on Ctrl-Z keypress |
13 |
> |
14 |
> stty susp undef |
15 |
|
16 |
Contrary to my expectations, this suggestion worked a treat :-) |
17 |
|
18 |
I'd explored stty previously - unfortunately I don't remember the exact |
19 |
invocations I used - and wasn't happy with the outcome. |
20 |
|
21 |
Thanks for the tip! |
22 |
|
23 |
-- |
24 |
alan dot mckinnon at gmail dot com |