Home
Zaurus Staff

This page contains some scripts I've written for the Sharp Zaurus and  also some applications which I compiled and packaged for the Zaurus (some for SharpRom and some for pdaXrom).

Not much at this time but there maybe more in the future. The scripts are tested on a Sharp Zaurus SL-C760 and/or a Zaurus SL-C3100.


  1. to_ipkg.sh
  2. Smartmon Tools
  3. Regina REXX 3.3 for the Zaurus
  4. manServer for Zaurus
  5. coreutils for the Zaurus
  6. Network tools for the Zaurus
  7. Shells for the Zaurus
  8. How to install Zubuntu on a SL-C760 (Note: This article is in German Language!)



to_ipkg.sh


to_ipkg.sh is a little script that converts ipk files created with ar into the "old format" using tar and gzip. After converting the ipkg files you can install then later using the "original" ipkg script.

Usage:     Usage: to_ipkg.sh  fullname_of_ipkfile_to_convert [...]

Download to_ipkg.sh


back top top


Smartmon Tools


I compiled the Smartmon Tools from  http://smartmontools.sourceforge.net/ for the Zaurus (SharpROM)

Unfortunately the Microdrive in the Zaurus does not support Smart, so the only output you get from smartctl is:

bash-2.05$ sudo smartctl -a /dev/hda
smartctl version 5.33 [armv5tel-unknown-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model: HMS360404D5CF00
Serial Number: N2M510BA
Firmware Version: DN4SCA2A
User Capacity:    4,095,737,856 bytes
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:
ATA Standard is:  ATA/ATAPI-4 published, ANSI NCITS 317-1998
Local Time is:    Wed Nov 30 19:58:57 2005 UTC
SMART support is: Unavailable - device lacks SMART capability.
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
bash-2.05$

At least you can retrieve the serial number and the firmware version of the internal harddisk with this tool ;-).

You can download the binaries here


back top top

Regina REXX 3.3 for the Zaurus


I compiled Regina REXX Version 3.3 from http://regina-rexx.sourceforge.net for the Zaurus.
I did only some small tests but it seems to work well.

Sample output of some REXX programs

bash-2.05$ rexxtry
  /home/scripts/rexxtry.cmd lets you interactively try REXX statements.
    Each string is executed when you hit Enter.
      Enter 'call tell' for a description of the features.
  Go on - try a few...             Enter 'exit' to end.
parse source test
  .................................. /home/scripts/rexxtry.cmd on UNIX     
say test
UNIX COMMAND /home/scripts/rexxtry.cmd
  .................................. /home/scripts/rexxtry.cmd on UNIX
parse version test
  .................................. /home/scripts/rexxtry.cmd on UNIX
say test
REXX-Regina_3.3 5.00 25 Apr 2004
  .................................. /home/scripts/rexxtry.cmd on UNIX

bash-2.05$ ./rexxcps.rexx
----- REXXCPS 2.2 -- Measuring REXX clauses/second -----
 REXX version is: REXX-Regina_3.3 5.00 25 Apr 2004
       System is: UNIX
       Averaging: 10 measures of 30 iterations

     Performance: 77631 REXX clauses per second

bash-2.05$


Download the Package for SharpRom with Regina REXX 3.3

Download the Package for pdaXrom with Regina REXX 3.3

Note:

Note that the package for the SharpROM does not contain the start/stop scripts for rxstack; the configuration script in the package for the pdaXrom does create the start/stop links.




back to top

manServer for Zaurus

This is a ipkg package with manServer_v107.pl for the Zaurus

manServer_v107.pl is a Perl script to convert man pages to html files by Rolf Howarth (see http://www.squarebox.co.uk/users/rolf/download/manServer.shtml)

Using this Perl script you can view man pages in your Webbrowser without installing man and the utils used by man.

The package contains the Perl Script, the necessary macro files, and  a start/stop script for the manServer.

Download the package for SharpRom with manServer for Zaurus



coreutils for the Zaurus


This zip file contains the core utils version 6.9 compiled for the pdaXrom 1.1.0beta3. These binaries should also work on the SharpROM.

The zip contains the following binaries:

-rwxr--r--    1 root     root        26608 Apr  7 17:58 [
-rwxr--r--    1 root     root        19572 Apr  7 17:58 base64
-rwxr--r--    1 root     root        12544 Apr  7 17:58 basename
-rwxr--r--    1 root     root        16132 Apr  7 17:58 cat
-rwxr--r--    1 root     root        46540 Apr  7 17:58 chgrp
-rwxr--r--    1 root     root        43328 Apr  7 17:58 chmod
-rwxr--r--    1 root     root        48288 Apr  7 17:58 chown
-rwxr--r--    1 root     root        12340 Apr  7 17:58 chroot
-rwxr--r--    1 root     root        17044 Apr  7 17:58 cksum
-rwxr--r--    1 root     root        14800 Apr  7 17:58 comm
-rwxr--r--    1 root     root        60160 Apr  7 17:58 cp
-rwxr--r--    1 root     root        85184 Apr  7 17:58 csplit
-rwxr--r--    1 root     root        26996 Apr  7 17:58 cut
-rwxr--r--    1 root     root        44432 Apr  7 17:58 date
-rwxr--r--    1 root     root         1411 Apr  7 17:58 dcgen
-rwxr--r--    1 root     root        43244 Apr  7 17:58 dd
-rwxr--r--    1 root     root        41884 Apr  7 17:58 df
-rwxr--r--    1 root     root        97312 Apr  7 17:58 dir
-rwxr--r--    1 root     root        20564 Apr  7 17:58 dircolors
-rwxr--r--    1 root     root        12576 Apr  7 17:58 dirname
-rwxr--r--    1 root     root        81520 Apr  7 17:58 du
-rwxr--r--    1 root     root        14180 Apr  7 17:58 echo
-rwxr--r--    1 root     root        12456 Apr  7 17:58 env
-rwxr--r--    1 root     root        16740 Apr  7 17:58 expand
-rwxr--r--    1 root     root        78908 Apr  7 17:58 expr
-rwxr--r--    1 root     root        19064 Apr  7 17:58 factor
-rwxr--r--    1 root     root        11256 Apr  7 17:58 false
-rwxr--r--    1 root     root        19364 Apr  7 17:58 fmt
-rwxr--r--    1 root     root        14824 Apr  7 17:58 fold
-rwxr--r--    1 root     root        62376 Apr  7 17:58 ginstall
-rwxr--r--    1 root     root         2290 Apr  7 17:58 groups
-rwxr--r--    1 root     root         2298 Apr  7 17:58 groups.sh
-rwxr--r--    1 root     root        27420 Apr  7 17:58 head
-rwxr--r--    1 root     root        11680 Apr  7 17:58 hostid
-rwxr--r--    1 root     root        12176 Apr  7 17:58 hostname
-rwxr--r--    1 root     root        15060 Apr  7 17:58 id
-rwxr--r--    1 root     root        22576 Apr  7 17:58 join
-rwxr--r--    1 root     root        16060 Apr  7 17:58 kill
-rwxr--r--    1 root     root        11984 Apr  7 17:58 link
-rwxr--r--    1 root     root        22604 Apr  7 17:58 ln
-rwxr--r--    1 root     root        11740 Apr  7 17:58 logname
-rwxr--r--    1 root     root        97312 Apr  7 17:58 ls
-rwxr--r--    1 root     root        23112 Apr  7 17:58 md5sum
-rwxr--r--    1 root     root        18480 Apr  7 17:58 mkdir
-rwxr--r--    1 root     root        13424 Apr  7 17:58 mkfifo
-rwxr--r--    1 root     root        18368 Apr  7 17:58 mknod
-rwxr--r--    1 root     root        65552 Apr  7 17:58 mv
-rwxr--r--    1 root     root        14404 Apr  7 17:58 nice
-rwxr--r--    1 root     root        77060 Apr  7 17:58 nl
-rwxr--r--    1 root     root        14404 Apr  7 17:58 nohup
-rwxr--r--    1 root     root        35008 Apr  7 17:58 od
-rwxr--r--    1 root     root        14948 Apr  7 17:58 paste
-rwxr--r--    1 root     root        14184 Apr  7 17:58 pathchk
-rwxr--r--    1 root     root        21284 Apr  7 17:58 pinky
-rwxr--r--    1 root     root        45080 Apr  7 17:58 pr
-rwxr--r--    1 root     root        12116 Apr  7 17:58 printenv
-rwxr--r--    1 root     root        22508 Apr  7 17:58 printf
-rwxr--r--    1 root     root        84044 Apr  7 17:58 ptx
-rwxr--r--    1 root     root        15892 Apr  7 17:58 pwd
-rwxr--r--    1 root     root        17032 Apr  7 17:58 readlink
-rwxr--r--    1 root     root        43372 Apr  7 17:58 rm
-rwxr--r--    1 root     root        12968 Apr  7 17:58 rmdir
-rwxr--r--    1 root     root        17432 Apr  7 17:58 seq
-rwxr--r--    1 root     root        12704 Apr  7 17:58 setuidgid
-rwxr--r--    1 root     root        26576 Apr  7 17:58 sha1sum
-rwxr--r--    1 root     root        33000 Apr  7 17:58 sha224sum
-rwxr--r--    1 root     root        33000 Apr  7 17:58 sha256sum
-rwxr--r--    1 root     root       105888 Apr  7 17:58 sha384sum
-rwxr--r--    1 root     root       105888 Apr  7 17:58 sha512sum
-rwxr--r--    1 root     root        42444 Apr  7 17:58 shred
-rwxr--r--    1 root     root        23980 Apr  7 17:58 shuf
-rwxr--r--    1 root     root        16296 Apr  7 17:58 sleep
-rwxr--r--    1 root     root        61408 Apr  7 17:58 sort
-rwxr--r--    1 root     root        22992 Apr  7 17:58 split
-rwxr--r--    1 root     root        31796 Apr  7 17:58 stat
-rwxr--r--    1 root     root        37236 Apr  7 17:58 stty
-rwxr--r--    1 root     root        16820 Apr  7 17:58 su
-rwxr--r--    1 root     root        26704 Apr  7 17:58 sum
-rwxr--r--    1 root     root        11588 Apr  7 17:58 sync
-rwxr--r--    1 root     root        72468 Apr  7 17:58 tac
-rwxr--r--    1 root     root        39684 Apr  7 17:58 tail
-rwxr--r--    1 root     root        13100 Apr  7 17:58 tee
-rwxr--r--    1 root     root        24668 Apr  7 17:58 test
-rwxr--r--    1 root     root        30820 Apr  7 17:58 touch
-rwxr--r--    1 root     root        27804 Apr  7 17:58 tr
-rwxr--r--    1 root     root        11256 Apr  7 17:58 true
-rwxr--r--    1 root     root        22416 Apr  7 17:58 tsort
-rwxr--r--    1 root     root        11796 Apr  7 17:58 tty
-rwxr--r--    1 root     root        13164 Apr  7 17:58 uname
-rwxr--r--    1 root     root        18356 Apr  7 17:58 unexpand
-rwxr--r--    1 root     root        20132 Apr  7 17:58 uniq
-rwxr--r--    1 root     root        11856 Apr  7 17:58 unlink
-rwxr--r--    1 root     root        16756 Apr  7 17:58 uptime
-rwxr--r--    1 root     root        13200 Apr  7 17:58 users
-rwxr--r--    1 root     root        97312 Apr  7 17:58 vdir
-rwxr--r--    1 root     root        22540 Apr  7 17:58 wc
-rwxr--r--    1 root     root         2567 Apr  7 17:58 wheel-gen.pl
-rwxr--r--    1 root     root        22924 Apr  7 17:58 who
-rwxr--r--    1 root     root        11896 Apr  7 17:58 whoami
-rwxr--r--    1 root     root        11832 Apr  7 17:58 yes
-rwxr--r--    1 root     root            0 Apr  9 19:17 zzz


Download the package with the core utils for the Zaurus


Network tools for the Zaurus

After I reinstalled my Zaurus C760 with the current Angstrom version I compiled some missing network tools for this distribution.

The binaries were created running this Angstrom version:

root@c7x0:/mnt/card2/usr/bin$ uname -a
Linux c7x0 2.6.24 #1 PREEMPT Wed Mar 26 12:56:24 CET 2008 armv5tel unknown unknown GNU/Linux


All libraries needed by the binaries can be found here:

http://www.angstrom-distribution.org/feeds/2007/ipk/glibc/armv5te/base/

I did not create an ipk package to install the binaries -- only a tar file with the binaries. To use the tools,  just unpack and untar the archive on the Zaurus.


The binaries in the tar file are:


ifstat

Home page:  http://www.rdesktop.org/

root@c7x0:/mnt/card2/usr/bin$ ifstat -v
ifstat version 1.1.
Copyright (C) 2001-2003, Ga?l Roualland <gael.roualland@dial.oleane.com>
Compiled-in drivers: proc.



iftop-0.16

Home page:  http://www.ex-parrot.com/~pdw/iftop/

root@c7x0:/mnt/card2/usr/bin$ iftop-0.16 -h
iftop: display bandwidth usage on an interface by host

Synopsis: iftop -h | [-npbBP] [-i interface] [-f filter code] [-N net/mask]

   -h                  display this message
   -n                  don't do hostname lookups
   -N                  don't convert port numbers to services
   -p                  run in promiscuous mode (show traffic between other
                       hosts on the same network segment)
   -b                  don't display a bar graph of traffic
   -B                  Display bandwidth in bytes
   -i interface        listen on named interface
   -f filter code      use filter code to select packets to count
                       (default: none, but only IP packets are counted)
   -F net/mask         show traffic flows in/out of network
   -P                  show ports as well as hosts
   -m limit            sets the upper limit for the bandwidth scale
   -c config file      specifies an alternative configuration file

iftop, version 0.16
copyright (c) 2002 Paul Warren <pdw@ex-parrot.com> and contributors

 
iftop-0.17 

Home page:  http://www.ex-parrot.com/~pdw/iftop/

root@c7x0:/mnt/card2/usr/bin$ iftop-0.17 -h
iftop: display bandwidth usage on an interface by host

Synopsis: iftop -h | [-npbBP] [-i interface] [-f filter code] [-N net/mask]

   -h                  display this message
   -n                  don't do hostname lookups
   -N                  don't convert port numbers to services
   -p                  run in promiscuous mode (show traffic between other
                       hosts on the same network segment)
   -b                  don't display a bar graph of traffic
   -B                  Display bandwidth in bytes
   -i interface        listen on named interface
   -f filter code      use filter code to select packets to count
                       (default: none, but only IP packets are counted)
   -F net/mask         show traffic flows in/out of network
   -P                  show ports as well as hosts
   -m limit            sets the upper limit for the bandwidth scale
   -c config file      specifies an alternative configuration file

iftop, version 0.17
copyright (c) 2002 Paul Warren <pdw@ex-parrot.com> and contributors

 
  
kermit

Home page:  http://www.columbia.edu/kermit/
 
root@c7x0:/mnt/card2/usr/bin$ kermit
C-Kermit 8.0.212 Dev.26, 20 Dec 2006, for Linux
 Copyright (C) 1985, 2006,
  Trustees of Columbia University in the City of New York.
Type ? or HELP for help.

Usage: kermit [filename] [-x arg [-x arg]...[-yyy]..] [ = text ] ]

  -x is an option requiring an argument, -y an option with no argument.
  If the first command-line argument is the name of a file, interactive-
  mode commands are executed from the file.  The '=' argument tells Kermit
  not to parse the remainder of the command line, but to make the words
  following '=' available as \%1, \%2, ... \%9.  The command file (if any)
  is executed before the command-line options.

If no action command is included, or -S is, then after the command line is
executed, Kermit issues its prompt and waits for you to type commands.

Complete listing of command-line options:

 -0  100% transparent CONNECT mode for "in-the-middle" operation
     Argument: (none)

 -8  Connection is 8-bit clean
     Argument: (none)

 -9 <arg>
     Make a connection to an FTP server
     Argument: IP-address-or-hostname[:optional-TCP-port]

 -A  Kermit is to be started as an Internet service
     Argument: (none)

 -B  Kermit is running in Batch or Background (no controlling terminal)
     Argument: (none)

 -C <arg>
     Interactive-mode Commands to be executed
     Argument: Commands separated by commas, list in doublequotes

 -D <arg>
     Delay before starting to send
     Argument: Number of seconds

 -E  Exit automatically when connection closes
     Argument: (none)

 -F <arg>
     Make a TCP connection
     Argument: Numeric file descriptor of open TCP connection

 -G <arg> (action option)
     GET from server, send to standard output
     Argument: Remote file specification

 -H  Suppress program startup Herald and greeting
     Argument: (none)

 -I  Connection is reliable, streaming is allowed
     Argument: (none)

 -J <arg>
     'Be like Telnet'
     Argument: IP hostname/address optionally followed by service

 -L  Recursive directory descent for files in -s option
     Argument: (none)

 -M <arg>
     My user name (for use with Telnet, Rlogin, etc)
     Argument: Username string

 -O  Be a server for One command only (action option)
     Argument: (none)

 -P  Don't convert file (Path) names
     Argument: (none)

 -Q  Quick (FAST) Kermit protocol settings
     Argument: (none)

 -R  Remote-only (makes IF REMOTE true)
     Argument: (none)

 -S  Stay (enter command parser after action options)
     Argument: (none)

 -T  Transfer files in Text mode
     Argument: (none)

 -V  Disable automatic per-file text/binary switching
     Argument: (none)

 -Y  Skip initialization file
     Argument: (none)

 -a <arg>
     As-name for file(s) in -s, -r, or -g
     Argument: As-name string (alternative filename)

 -b <arg>
     Speed for serial device
     Argument: Numeric Bits per second

 -c  CONNECT before transferring files (action option)
     Argument: (none)

 -d  Create debug.log file (a second -d adds timestamps)
     Argument: (none)

 -e <arg>
     Maximum length for incoming file-transfer packets
     Argument: Length in bytes

 -f  Send Finish command to a Kermit server (action option)
     Argument: (none)

 -g <arg> (action option)
     GET file(s) from a Kermit server
     Argument: Remote file specification

 -h  Print this message (pipe thru 'more' to prevent scrolling) (action option)
     Argument: (none)

 -i  Transfer files in binary mode
     Argument: (none)

 -j <arg>
     Make a TCP connection
     Argument: TCP host name/address and optional service name or number

 -k  RECEIVE file(s) to standard output (action option)
     Argument: (none)

 -l <arg>
     Make connection on serial communications device
     Argument: Serial device name

 -m <arg>
     Modem type for use with -l device
     Argument: Modem name as in SET MODEM TYPE command

 -n  CONNECT after transferring files (action option)
     Argument: (none)

 -p <arg>
     Parity
     Argument: One of the following: even, odd, mark, none, space

 -q  Quiet (suppress most messages)
     Argument: (none)

 -r  RECEIVE file(s) (action option)
     Argument: (none)

 -s <arg> (action option)
     SEND file(s)
     Argument: One or more file specifications

 -t  XON Turnaround character for half-duplex connections
     Argument: (none)

 -v <arg>
     Window size
     Argument: Number, 1 to 32

 -w  Incoming files Write over existing files
     Argument: (none)

 -x  Be a Kermit SERVER (action option)
     Argument: (none)

 -y <arg>
     Alternative initialization file
     Argument: File specification

 -z  Force foreground behavior
     Argument: (none)

To prevent this message from scrolling, use 'kermit -h | more'.
For a list of extended options use 'kermit --help'.
root@c7x0:/mnt/card2/usr/bin$


mtr 0.72

Home page: http://www.bitwizard.nl/mtr/

root@c7x0:/mnt/card2/usr/bin$ mtr -h
usage: mtr [-hvrctglspni46] [--help] [--version] [--report]
        [--report-cycles=COUNT] [--curses] [--gtk]
        [--raw] [--split] [--no-dns] [--address interface]
        [--psize=bytes/-s bytes]
        [--interval=SECONDS] HOSTNAME [PACKETSIZE]

mtr 0.75

Home page: http://www.bitwizard.nl/mtr/

Note: The version 0.75 starts the X version if called without parameter - use the parameter --curses to start the text version

[gcc] root@c7x0:/mnt/card2/develop/source/mtr-0.75$ ./mtr --help
Couldn't get fd's flags: Bad file descriptor
usage: ./mtr [-hvrwctglspniu46] [--help] [--version] [--report]
        [--report-wide] [--report-cycles=COUNT] [--curses] [--gtk]
        [--raw] [--split] [--no-dns] [--address interface]
        [--psize=bytes/-s bytes]
        [--interval=SECONDS] HOSTNAME [PACKETSIZE]



ngrep

Home page: http://ngrep.sourceforge.net/

root@c7x0:/mnt/card2/usr/bin$ ngrep -h    
usage: ngrep <-hNXViwqpevxlDtTRM> <-IO pcap_dump> <-n num> <-d dev> <-A num>
             <-s snaplen> <-S limitlen> <-W normal|byline|single|none> <-c cols>
             <-P char> <-F file> <match expression> <bpf filter>
   -h  is help/usage
   -V  is version information
   -q  is be quiet (don't print packet reception hash marks)
   -e  is show empty packets
   -i  is ignore case
   -v  is invert match
   -R  is don't do privilege revocation logic
   -x  is print in alternate hexdump format
   -X  is interpret match expression as hexadecimal
   -w  is word-regex (expression must match as a word)
   -p  is don't go into promiscuous mode
   -l  is make stdout line buffered
   -D  is replay pcap_dumps with their recorded time intervals
   -t  is print timestamp every time a packet is matched
   -T  is print delta timestamp every time a packet is matched
   -M  is don't do multi-line match (do single-line match instead)
   -I  is read packet stream from pcap format file pcap_dump
   -O  is dump matched packets in pcap format to pcap_dump
   -n  is look at only num packets
   -A  is dump num packets after a match
   -s  is set the bpf caplen
   -S  is set the limitlen on matched packets
   -W  is set the dump format (normal, byline, single, none)
   -c  is force the column width to the specified size
   -P  is set the non-printable display char to what is specified
   -F  is read the bpf filter from the specified file
   -N  is show sub protocol number
   -d  is use specified device instead of the pcap default

  

c3270  Suite


c3270 3.3 Release

c3270 is a curses-based IBM 3278/3279 terminal emulator.

Home page :  http://x3270.sourceforge.net/


c3270

[gcc] root@c7x0:/mnt/card2/usr/bin$ ./c3270
c3270 v3.3.8p2 Wed Dec 31 14:18:31 UTC 2008 root

Copyright 1989-2008 by Paul Mattes, GTRC and others.
Type 'show copyright' for full copyright information.
Type 'help' for help information.

c3270> help
  help all           all commands
  help 3270          3270 commands
  help interactive   interactive (command-prompt) commands
  help <command>     help for one <command>
  help options       command-line options
  help scripting     scripting commands
  help file-transfer file transfer options

c3270> quit

  [gcc] root@c7x0:/mnt/card2/usr/bin$ ./c3270  -h
Warning: Unknown or incomplete option: -h
Error: Usage: c3270 [options] [ps:][LUname@]hostname[:port]

 

pr3287
 
[gcc] root@c7x0:/mnt/card2/usr/bin$ ./pr3287
usage: pr3287 [options] [lu[,lu...]@]host[:port]
Options:
  -daemon          become a daemon after connecting
  -assoc <session> associate with a session (TN3270E only)
  -charset <name>  use built-in alternate EBCDIC-to-ASCII mappings
  -command "<cmd>" use <cmd> for printing (default "lpr")
  -blanklines      display blank lines even if empty (formatted LU3)
  -crlf            expand newlines to CR/LF
  -eojtimeout <seconds>
                   time out end of print job
  -ffthru          pass through SCS FF orders
  -ffskip          skip FF orders at top of page
  -ignoreeoj       ignore PRINT-EOJ commands
  -proxy "<spec>"
                   connect to host via specified proxy
  -reconnect       keep trying to reconnect
  -trace           trace data stream to /tmp/x3trc.<pid>
  -tracedir <dir>  directory to keep trace information in
  -trnpre <file>   file of transparent data to send before each job
  -trnpost <file>  file of transparent data to send after each job
  -v               display version information and exit
  -V               log verbose information about connection negotiation

 

s3270

[gcc] root@c7x0:/mnt/card2/develop/source/suite3270/s3270-3.3$ ./s3270 -h
Warning: Unknown or incomplete option: -h
Error: Usage: s3270 [options] [ps:][LUname@]hostname[:port]



tcl3270

[gcc] root@c7x0:/mnt/card2/develop/source/suite3270/tcl3270-3.3$ ./tcl3270 -h
Warning: Unknown or incomplete option: -h
Error: Usage: tcl3270 [scriptname] [tcl3270-options] [host] [-- script-args]
       <host> is [ps:][LUname@]hostname[:port]



NcFTP Client

Home page: http://www.ncftp.com/

ncftp

NcFTP 3.2.2 (Sep 04, 2008) by Mike Gleason (http://www.NcFTP.com/contact/).

Copyright (c) 1992-2008 by Mike Gleason.
All rights reserved.

ncftp> quit


ncftpbatch

[gcc] root@c7x0:/mnt/card2/develop/source/ncftp-3.2.2/bin$ ./ncftpbatch
Usages:
    ncftpbatch -d | -D            (start NcFTP batch processing)
    ncftpbatch -l                (list spooled jobs)

Library version: LibNcFTP 3.2.3 (September 4, 2008).
This is a freeware program by Mike Gleason (http://www.NcFTP.com).

ncftpbookmarks

[gcc] root@c7x0:/mnt/card2/develop/source/ncftp-3.2.2/bin$ ./ncftpbookmarks

                                            NcFTP Bookmark Editor

                                      Number of bookmarks:   1
  Open selected site:       <enter>   NEW               ftp://foobar.snafu.gov                           
  Edit selected site:       /ed       ~
  Delete selected site:     /del      ~
  Duplicate selected site:  /dup      ~
  Add a new site:           /new      ~
                                      ~
  Up one:                   <u>       ~
  Down one:                 <d>       ~
  Previous page:            <p>       ~
  Next page:                <n>       ~
                                      ~
  Capital letters selects first       ~
    site starting with the letter.    ~
                                      ~
  Exit the bookmark editor: <x>       ~
                                      ~
                                      ~
                                      ~
                                      ~
                                      ~
                                      ~
                                      ~
                                      ~
                                      ~
                                      ~
                                      ~
                                      ~
                                      ~





ncftpls

[gcc] root@c7x0:/mnt/card2/develop/source/ncftp-3.2.2/bin$ ./ncftpls
NcFTPLs 3.2.2

Usages:
  ncftpls [FTP flags] [-x "ls flags"] ftp://url.style.host/path/name/

ls Flags:
  -m     Use machine readable (MLSD) list format, if the server supports it.
  -1     Most basic format, one item per line.
  -l     Long list format.
  -C     Columnized list format (default).
  -R     Long list format, recurse subdirectories if server allows it.
  -g     Recursive and print one path per line; like "/usr/bin/find . -print"
  -gg    As above, but append a "/" character to directory pathnames.
  -a     Show all files, if server allows it (as in "/bin/ls -a").
  -i XX  Filter the listing (if server supports it) with the wildcard XX.
  -x XX  List command flags to use on the remote server.

FTP Flags:
  -u XX  Use username XX instead of anonymous.
  -p XX  Use password XX with the username.
  -P XX  Use port number XX instead of the default FTP service port (21).
  -j XX  Use account XX with the account (deprecated).
  -d XX  Use the file XX for debug logging.
  -t XX  Timeout after XX seconds.
  -f XX  Read the file XX for user and password information.
  -E     Use regular (PORT) data connections.
  -F     Use passive (PASV) data connections (default).
  -K     Show disk usage by attempting SITE DF.
  -o XX  Specify miscellaneous options (see documentation).
  -W XX  Send raw FTP command XX after logging in.
  -X XX  Send raw FTP command XX after each listing.
  -Y XX  Send raw FTP command XX before logging out.
  -r XX  Redial XX times until connected.
        
Examples:
  ncftpls ftp://ftp.freebsd.org/pub/FreeBSD/
  ncftpls -1 ftp://ftp.freebsd.org/pub/FreeBSD/
  ncftpls -la -i '*.TXT' ftp://ftp.freebsd.org/pub/FreeBSD/
  ncftpls -m ftp://ftp.ncftp.com/ncftpd/
  ncftpls -x "-lrt" ftp://ftp.freebsd.org/pub/FreeBSD/

Note: The standard specifies that URL pathnames are are relative pathnames.
  For FTP, this means that URLs specify relative pathnames from the start
  directory, which for user logins, are typically the user's home directory.
  If you want to use absolute pathnames, you need to include a literal slash,
  using the "%2F" code for a "/" character.  Examples:

  ncftpls -u linus ftp://ftp.kernel.org/%2Fusr/src/
  ncftpls ftp://steve@ftp.apple.com/%2Fetc/

Library version: LibNcFTP 3.2.3 (September 4, 2008).

This is a freeware program by Mike Gleason (http://www.ncftp.com).
 This was built using LibNcFTP (http://www.ncftp.com/libncftp/).

 
ncftpget
 
[gcc] root@c7x0:/mnt/card2/develop/source/ncftp-3.2.2/bin$ ./ncftpget
NcFTPGet 3.2.2

Usages:
  ncftpget [flags] remote-host local-dir remote-path-names...      (mode 1)
  ncftpget -f login.cfg [flags] local-dir remote-path-names...     (mode 2)
  ncftpget [flags] ftp://url.style.host/path/name                  (mode 3)
  ncftpget -c [flags] remote-host remote-path-name > stdout        (mode 4)
  ncftpget -C [flags] remote-host remote-path-name local-path-name (mode 5)
  ncftpget -c [flags] ftp://url.style.host/path/name > stdout      (mode 6)

Flags:
  -u XX  Use username XX instead of anonymous.
  -p XX  Use password XX with the username.
  -P XX  Use port number XX instead of the default FTP service port (21).
  -d XX  Use the file XX for debug logging.
  -a     Use ASCII transfer type instead of binary.
  -t XX  Timeout after XX seconds.
  -v/-V  Do (do not) use progress meters.
  -f XX  Read the file XX for host, user, and password information.
  -h XX  Connect to host XX.  Useful for overriding host in -f config.file.
  -c     Read from remote host and write locally to stdout.
  -C     Read from remote host and write locally to specified file.
  -A     Append to local files, instead of overwriting them.
  -z/-Z  Do (do not) try to resume downloads (default: -z).
  -E     Use regular (PORT) data connections.
  -F     Use passive (PASV) data connections (default).
  -DD    Delete remote file after successfully downloading it.
  -b     Run in background (submit job to "ncftpbatch" and run).
  -bb    Same as "-b" but queue only (do not run "ncftpbatch").
  -B XX  Try setting the SO_RCVBUF size to XX.
  -r XX  Redial XX times until connected.
  -o XX  Specify miscellaneous options (see documentation).
  -W XX  Send raw FTP command XX after logging in.
  -X XX  Send raw FTP command XX after each file transferred.
  -Y XX  Send raw FTP command XX before logging out.
  -R     Recursive mode; copy whole directory trees.
  -T     Do not try to use TAR mode with Recursive mode.

Examples:
  ncftpget ftp.freebsd.org . /pub/FreeBSD/README.TXT /pub/FreeBSD/index.html
  ncftpget ftp.gnu.org /tmp '/pub/gnu/README.*'
  ncftpget ftp://ftp.freebsd.org/pub/FreeBSD/README.TXT
  ncftpget -R ftp.ncftp.com /tmp /ncftp  (ncftp is a directory)
  ncftpget -u gleason -p my.password Bozo.probe.net . '/home/mjg/.*rc'
  ncftpget -u gleason Bozo.probe.net . /home/mjg/foo.txt  (prompt for password)
  ncftpget -f Bozo.cfg '/home/mjg/.*rc'
  ncftpget -c ftp.freebsd.org /pub/FreeBSD/README.TXT | /usr/bin/more
  ncftpget -c ftp://ftp.freebsd.org/pub/FreeBSD/README.TXT | /usr/bin/more
  ncftpget -a -d /tmp/debug.log -t 60 ftp.wustl.edu . '/pub/README*'

Library version: LibNcFTP 3.2.3 (September 4, 2008).

This is a freeware program by Mike Gleason (http://www.ncftp.com).
This was built using LibNcFTP (http://www.ncftp.com/libncftp/).


ncftpput
 
[gcc] root@c7x0:/mnt/card2/develop/source/ncftp-3.2.2/bin$ ./ncftpput
NcFTPPut 3.2.2

Usages:
  ncftpput [flags] remote-host remote-dir local-files...   (mode 1)
  ncftpput -f login.cfg [flags] remote-dir local-files...  (mode 2)
  ncftpput -c remote-host remote-path-name < stdin         (mode 3)
  ncftpput -C remote-host local-path-name remote-path-name (mode 4)

Flags:
  -u XX  Use username XX instead of anonymous.
  -p XX  Use password XX with the username.
  -P XX  Use port number XX instead of the default FTP service port (21).
  -j XX  Use account XX with the account (deprecated).
  -d XX  Use the file XX for debug logging.
  -e XX  Use the file XX for error logging.
  -U XX  Use value XX for the umask.
  -t XX  Timeout after XX seconds.
  -a     Use ASCII transfer type instead of binary.
  -m     Attempt to mkdir the dstdir before copying.
  -v/-V  Do (do not) use progress meters.
  -f XX  Read the file XX for host, user, and password information.
  -h XX  Connect to host XX.  Useful for overriding host in -f config.file.
  -c     Read locally from stdin and write remotely to specified pathname.
  -C     Similar to -c, except a local pathname is specified.
  -A     Append to remote files instead of overwriting them.
  -z/-Z  Do (do not) try to resume uploads (default: -Z).
  -T XX  Upload into temporary files prefixed by XX.
  -S XX  Upload into temporary files suffixed by XX.
  -DD    Delete local file after successfully uploading it.
  -b     Run in background (submit job to "ncftpbatch" and run).
  -bb    Same as "-b" but queue only (do not run "ncftpbatch").
  -E     Use regular (PORT) data connections.
  -F     Use passive (PASV) data connections (default).
  -y     Try using "SITE UTIME" to preserve timestamps on remote host.
  -B XX  Try setting the SO_SNDBUF size to XX.
  -r XX  Redial XX times until connected.
  -o XX  Specify miscellaneous options (see documentation).
  -W XX  Send raw FTP command XX after logging in.
  -X XX  Send raw FTP command XX after each file transferred.
  -Y XX  Send raw FTP command XX before logging out.
  -R     Recursive mode; copy whole directory trees.

Examples:
  ncftpput -u gleason -p my.password Elwood.probe.net /home/gleason stuff.txt
  ncftpput -u gleason Elwood.probe.net /home/gleason a.txt (prompt for pass)
  ncftpput -a -u gleason -p my.password -m -U 007 Bozo.probe.net /tmp/tmpdir a.txt
  tar cvf - /home | ncftpput -u operator -c Server.probe.net /backups/monday.tar

Library version: LibNcFTP 3.2.3 (September 4, 2008).

This is a freeware program by Mike Gleason (http://www.ncftp.com).
This was built using LibNcFTP (http://www.ncftp.com/libncftp/).

cdpr

Home Page:  http://monkeymental.com/

[gcc] root@c7x0:/mnt/card2/develop/source/cdpr-2.3$ ./cdpr
cdpr - Cisco Discovery Protocol Reporter
Version 2.3
Copyright (c) 2002-2008 - MonkeyMental.com

1. eth0 (No description available)
2. eth0:avahi (No description available)
3. any (Pseudo-device that captures on all interfaces)
4. lo (No description available)
Enter the interface number (1-4):1
Using Device: eth0
Waiting for CDP advertisement:
(default config is to transmit CDP packets every 60 seconds)

hping2

Home Page: http://www.hping.org/


[gcc] root@c7x0:/mnt/card2/develop/source/hping2-rc3$ ./hping2 --help
usage: hping host [options]
  -h  --help      show this help
  -v  --version   show version
  -c  --count     packet count
  -i  --interval  wait (uX for X microseconds, for example -i u1000)
      --fast      alias for -i u10000 (10 packets for second)
  -n  --numeric   numeric output
  -q  --quiet     quiet
  -I  --interface interface name (otherwise default routing interface)
  -V  --verbose   verbose mode
  -D  --debug     debugging info
  -z  --bind      bind ctrl+z to ttl           (default to dst port)
  -Z  --unbind    unbind ctrl+z
Mode
  default mode     TCP
  -0  --rawip      RAW IP mode
  -1  --icmp       ICMP mode
  -2  --udp        UDP mode
  -8  --scan       SCAN mode.
                   Example: hping --scan 1-30,70-90 -S www.target.host
  -9  --listen     listen mode
IP
  -a  --spoof      spoof source address
  --rand-dest      random destionation address mode. see the man.
  --rand-source    random source address mode. see the man.
  -t  --ttl        ttl (default 64)
  -N  --id         id (default random)
  -W  --winid      use win* id byte ordering
  -r  --rel        relativize id field          (to estimate host traffic)
  -f  --frag       split packets in more frag.  (may pass weak acl)
  -x  --morefrag   set more fragments flag
  -y  --dontfrag   set dont fragment flag
  -g  --fragoff    set the fragment offset
  -m  --mtu        set virtual mtu, implies --frag if packet size > mtu
  -o  --tos        type of service (default 0x00), try --tos help
  -G  --rroute     includes RECORD_ROUTE option and display the route buffer
  --lsrr           loose source routing and record route
  --ssrr           strict source routing and record route
  -H  --ipproto    set the IP protocol field, only in RAW IP mode
ICMP
  -C  --icmptype   icmp type (default echo request)
  -K  --icmpcode   icmp code (default 0)
      --force-icmp send all icmp types (default send only supported types)
      --icmp-gw    set gateway address for ICMP redirect (default 0.0.0.0)
      --icmp-ts    Alias for --icmp --icmptype 13 (ICMP timestamp)
      --icmp-addr  Alias for --icmp --icmptype 17 (ICMP address subnet mask)
      --icmp-help  display help for others icmp options
UDP/TCP
  -s  --baseport   base source port             (default random)
  -p  --destport   [+][+]<port> destination port(default 0) ctrl+z inc/dec
  -k  --keep       keep still source port
  -w  --win        winsize (default 64)
  -O  --tcpoff     set fake tcp data offset     (instead of tcphdrlen / 4)
  -Q  --seqnum     shows only tcp sequence number
  -b  --badcksum   (try to) send packets with a bad IP checksum
                   many systems will fix the IP checksum sending the packet
                   so you'll get bad UDP/TCP checksum instead.
  -M  --setseq     set TCP sequence number
  -L  --setack     set TCP ack
  -F  --fin        set FIN flag
  -S  --syn        set SYN flag
  -R  --rst        set RST flag
  -P  --push       set PUSH flag
  -A  --ack        set ACK flag
  -U  --urg        set URG flag
  -X  --xmas       set X unused flag (0x40)
  -Y  --ymas       set Y unused flag (0x80)
  --tcpexitcode    use last tcp->th_flags as exit code
  --tcp-timestamp  enable the TCP timestamp option to guess the HZ/uptime
Common
  -d  --data       data size                    (default is 0)
  -E  --file       data from file
  -e  --sign       add 'signature'
  -j  --dump       dump packets in hex
  -J  --print      dump printable characters
  -B  --safe       enable 'safe' protocol
  -u  --end        tell you when --file reached EOF and prevent rewind
  -T  --traceroute traceroute mode              (implies --bind and --ttl 1)
  --tr-stop        Exit when receive the first not ICMP in traceroute mode
  --tr-keep-ttl    Keep the source TTL fixed, useful to monitor just one hop
  --tr-no-rtt        Don't calculate/show RTT information in traceroute mode
ARS packet description (new, unstable)
  --apd-send       Send the packet described with APD (see docs/APD.txt)


hping3

Home Page: http://www.hping.org/

[gcc] root@c7x0:/mnt/card2/develop/source/hping3-20051105$ ./hping3 -v
hping version 3.0.0-alpha-1 ($Id: release.h,v 1.4 2004/04/09 23:38:56 antirez Exp $)
This binary is TCL scripting capable


rdesktop

Home page: http://www.rdesktop.org/

Note: Before using rdesktop unpack the tar archive with the keymaps for rdesktop, rdesktop_keymaps.tar in the root directory.

[gcc] root@c7x0:/mnt/card2/develop/source/rdesktop-1.6.0$ rdesktop -h
rdesktop: A Remote Desktop Protocol client.
Version 1.6.0. Copyright (C) 1999-2008 Matthew Chapman.
See http://www.rdesktop.org/ for more information.

Usage: rdesktop [options] server[:port]
   -u: user name
   -d: domain
   -s: shell
   -c: working directory
   -p: password (- to prompt)
   -n: client hostname
   -k: keyboard layout on server (en-us, de, sv, etc.)
   -g: desktop geometry (WxH)
   -f: full-screen mode
   -b: force bitmap updates
   -L: local codepage
   -A: enable SeamlessRDP mode
   -B: use BackingStore of X-server (if available)
   -e: disable encryption (French TS)
   -E: disable encryption from client to server
   -m: do not send motion events
   -C: use private colour map
   -D: hide window manager decorations
   -K: keep window manager key bindings
   -S: caption button size (single application mode)
   -T: window title
   -N: enable numlock syncronization
   -X: embed into another window with a given id.
   -a: connection colour depth
   -z: enable rdp compression
   -x: RDP5 experience (m[odem 28.8], b[roadband], l[an] or hex nr.)
   -P: use persistent bitmap caching
   -r: enable specified device redirection (this flag can be repeated)
         '-r comport:COM1=/dev/ttyS0': enable serial redirection of /dev/ttyS0 to COM1
             or      COM1=/dev/ttyS0,COM2=/dev/ttyS1
         '-r disk:floppy=/mnt/floppy': enable redirection of /mnt/floppy to 'floppy' share
             or   'floppy=/mnt/floppy,cdrom=/mnt/cdrom'
         '-r clientname=<client name>': Set the client name displayed
             for redirected disks
         '-r lptport:LPT1=/dev/lp0': enable parallel redirection of /dev/lp0 to LPT1
             or      LPT1=/dev/lp0,LPT2=/dev/lp1
         '-r printer:mydeskjet': enable printer redirection
             or      mydeskjet="HP LaserJet IIIP" to enter server driver as well
         '-r sound:[local[:driver[:device]]|off|remote]': enable sound redirection
                     remote would leave sound on server
                     available drivers for 'local':
                     oss:    OSS output driver, default device: /dev/dsp or $AUDIODEV
         '-r clipboard:[off|PRIMARYCLIPBOARD|CLIPBOARD]': enable clipboard
                      redirection.
                      'PRIMARYCLIPBOARD' looks at both PRIMARY and CLIPBOARD
                      when sending data to server.
                      'CLIPBOARD' looks at only CLIPBOARD.
   -0: attach to console
   -4: use RDP version 4
   -5: use RDP version 5 (default)

netio

Home page: http://www.ars.de/ars/ars.nsf/docs/netio

NETIO - Network Throughput Benchmark, Version 1.26
(C) 1997-2005 Kai Uwe Rommel

Usage: netio [options] [<server>]

  -s            run server side of benchmark (otherwise run client)
  -b <size>[k]  use this block size (otherwise run with 1,2,4,8,16 and 32k)

  -t            use TCP protocol for benchmark
  -u            use UDP protocol for benchmark
  -h <addr>     bind TCP and UDP servers to this local host address/name only
                (default is to bind to all local addresses)
  -p <port>     bind TCP and UDP servers to this port (default is 18767)

  <server>      If the client side of the benchmark is running,
                a server name or address is required.

The server side can run either TCP (-t) or UDP (-u) protocol or both
(default, if neither -t or -u is specified). The client runs one of
these protocols only (must specify -t or -u).


Download the archive with the network tools


Shells for Zaurus


Shells for the Sharp Zaurus (binaries only)

Version 1.0, Last Update: 01.01.2009, Bernd Schemmer, Bernd.Schemmer@gmx.de


After I reinstalled my Zaurus C760 with the current Angstrom version I compiled some missing shells for this distribution.

The binaries were created running this Angstrom version:

root@c7x0:/mnt/card2/usr/bin$ uname -a
Linux c7x0 2.6.24 #1 PREEMPT Wed Mar 26 12:56:24 CET 2008 armv5tel unknown unknown GNU/Linux

All libraries needed by the binaries can be found here:

http://www.angstrom-distribution.org/feeds/2007/ipk/glibc/armv5te/base/

I did not create an ipk package to install the binaries -- only a tar file with the binaries. To use the tools, just unpack and untar the
archive on the Zaurus.

bash 3.2

Source: http://directory.fsf.org/project/bash/

[gcc] root@c7x0:/mnt/card2/develop/source$ bash --version
GNU bash, version 3.2.0(1)-release (armv5tel-unknown-linux-gnu)
Copyright (C) 2005 Free Software Foundation, Inc.



ksh93

Home page: http://kornshell.com/software/

[gcc] root@c7x0:/mnt/card2/develop/source/ksh93$ ksh
[gcc]$ echo $KSH_VERSION
Version M 93t 2008-11-04



Download the archive with the shells





back top top