~ubuntu-branches/ubuntu/oneiric/nmap/oneiric

« back to all changes in this revision

Viewing changes to nmap_tty.cc

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones, fyodor, Davide
  • Date: 2008-05-31 22:55:14 UTC
  • mfrom: (1.2.10 upstream) (3.1.2 lenny)
  • Revision ID: james.westby@ubuntu.com-20080531225514-dej22l1clq3nj2o3
Tags: 4.62-1
[fyodor]

* new upstream release

[Davide]

* create an desktop file for zenmap.  Closes: #457799
* remove useless file /usr/bin/uninstall_zenmap.  Closes: #474511

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
 * These restrictions only apply when you actually redistribute Nmap.  For *
38
38
 * example, nothing stops you from writing and selling a proprietary       *
39
39
 * front-end to Nmap.  Just distribute it by itself, and point people to   *
40
 
 * http://insecure.org/nmap/ to download Nmap.                             *
 
40
 * http://nmap.org to download Nmap.                                       *
41
41
 *                                                                         *
42
42
 * We don't consider these to be added restrictions on top of the GPL, but *
43
43
 * just a clarification of how we interpret "derived works" as it applies  *
76
76
 * Source code also allows you to port Nmap to new platforms, fix bugs,    *
77
77
 * and add new features.  You are highly encouraged to send your changes   *
78
78
 * to fyodor@insecure.org for possible incorporation into the main         *
79
 
 * distribution.  By sending these changes to Fyodor or one the            *
 
79
 * distribution.  By sending these changes to Fyodor or one of the         *
80
80
 * Insecure.Org development mailing lists, it is assumed that you are      *
81
81
 * offering Fyodor and Insecure.Com LLC the unlimited, non-exclusive right *
82
82
 * to reuse, modify, and relicense the code.  Nmap will always be          *
97
97
 ***************************************************************************/
98
98
 
99
99
#ifndef WIN32
100
 
#include "config.h"
 
100
#include "nmap_config.h"
101
101
#endif
102
102
 
103
103
#include <sys/types.h>
207
207
{
208
208
        struct termios ti;
209
209
 
 
210
        if(o.noninteractive)
 
211
                return;
 
212
 
210
213
        if (tty_fd)
211
214
                return;
212
215
 
273
276
                "d/D             Increase/decrease debugging\n"
274
277
                "p/P             Enable/disable packet tracing\n"
275
278
                "anything else   Print status\n"
276
 
                "More help: http://www.insecure.org/nmap/man/man-runtime-interaction.html\n");
 
279
                "More help: http://nmap.org/man/man-runtime-interaction.html\n");
277
280
    } else {
278
281
       printStatusMessage();
279
282
       return true;