~ubuntu-branches/ubuntu/natty/ibm-3270/natty

« back to all changes in this revision

Viewing changes to tcl3270/Examples/cms_cmd.tcl3270

  • Committer: Bazaar Package Importer
  • Author(s): Bastian Blank
  • Date: 2009-12-14 11:48:53 UTC
  • mfrom: (1.1.4 upstream) (2.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20091214114853-mywixml32hct9jr1
Tags: 3.3.10ga4-2
* Fix section to match override.
* Use debhelper compat level 7.
* Use 3.0 (quilt) source format.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!tcl3270
2
 
# Copyright 2000, 2001 by Paul Mattes.
3
 
#  Permission to use, copy, modify, and distribute this software and its
4
 
#  documentation for any purpose and without fee is hereby granted,
5
 
#  provided that the above copyright notice appear in all copies and that
6
 
#  both that copyright notice and this permission notice appear in
7
 
#  supporting documentation.
8
 
#
9
 
# tcl3270 is distributed in the hope that it will be useful, but WITHOUT ANY
10
 
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
 
# FOR A PARTICULAR PURPOSE.  See the file LICENSE for more details.
 
2
 
 
3
# Copyright (c) 2000-2009, Paul Mattes.
 
4
# All rights reserved.
 
5
 
6
# Redistribution and use in source and binary forms, with or without
 
7
# modification, are permitted provided that the following conditions
 
8
# are met:
 
9
#     * Redistributions of source code must retain the above copyright
 
10
#       notice, this list of conditions and the following disclaimer.
 
11
#     * Redistributions in binary form must reproduce the above copyright
 
12
#       notice, this list of conditions and the following disclaimer in the
 
13
#       documentation and/or other materials provided with the distribution.
 
14
#     * Neither the name of Paul Mattes nor his contributors may be used
 
15
#       to endorse or promote products derived from this software without
 
16
#       specific prior written permission.
 
17
 
18
# THIS SOFTWARE IS PROVIDED BY PAUL MATTES "AS IS" AND ANY EXPRESS OR
 
19
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 
20
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
 
21
# NO EVENT SHALL PAUL MATTES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 
22
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
 
23
# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
 
24
# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
 
25
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 
26
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 
27
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
12
28
 
13
29
# Pluck the username, password and command from the command line.
14
30
if {$argc != 4} {