Home » Personal collection » Acorn hard disk » apps » web » Telnet/!SFTP/!Run

Telnet/!SFTP/!Run

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Personal collection » Acorn hard disk » apps » web
Filename: Telnet/!SFTP/!Run
Read OK:
File size: 081D bytes
Load address: 0000
Exec address: 0000
Duplicates

There is 1 duplicate copy of this file in the archive:

File contents
|
| !run for sFTP
|


| The key remap is to allow sFTP to pick up on the TAB key for filename completion
| and the cursor keys
| Make tab produce ^I
*Key 10 |I
| Make up-arrow produce ^P
*Key 15 |P
| Make down-arrow produce ^N
*Key 14 |N
| Make left-arrow produce ^B
*Key 12 |B
| Make right-arrow produce ^F
*Key 13 |F
Set sFTP$Dir <Obey$Dir>

RMEnsure LineEditor 2.69 RMLoad <sftp$Dir>.Resources.LineEditor
RMEnsure LineEditor 2.69 Error You need to load lineeditor for the line editing to work.

RMEnsure WimpExtension 3.45 RMLoad <sftp$Dir>.Resources.WimpExt
RMEnsure WimpExtension 3.45 Error You need WimpExtension 3.45 or later to run !sFTP

RMEnsure UtilityModule 3.10 Error This application is only suitable for use with RISC OS 3.10 or later versions

RMENSURE FilterManager 0.09 RMLoad System:modules.FilterMgr
RMENSURE FilterManager 0.09 Error You Need filter manager 0.09 or later

RMEnsure BorderUtils 0.02 RMEnsure WindowManager 3.17  RMLoad System:modules.BorderUtil

RMEnsure Toolbox    1.23  RMLoad System:modules.toolbox.toolbox
RMEnsure Toolbox    1.23  Error You need toolbox 1.23 or later to run !sFTP
RMEnsure Window     1.15  RMLoad System:modules.toolbox.window
RMEnsure Window     1.15  Error You need window 1.15 or later to run !sFTP
RMEnsure Menu       0.15  RMLoad System:modules.toolbox.menu
RMEnsure Menu       0.15  Error You need menu 0.15 or later to run !sFTP
RMEnsure Iconbar    1.08  RMLoad System:modules.toolbox.iconbar
RMEnsure Iconbar    1.08  Error You need iconbar 1.08 or later to run !sFTP
RMEnsure ProgInfo   0.05  RMLoad System:modules.toolbox.proginfo
RMEnsure ProgInfo   0.05  Error You need proginfo 0.05 or later to run !sFTP



| The following lines make sure that Doggysoft's utility !syslog 
| has been seen by the filer
If "<SysLog$Dir>"="" then Error !SysLog application not seen by filer
RMEnsure SysLog 0.17 Run <SysLog$Dir>.!Run
RMEnsure SysLog 0.17 Error sFTP needs SysLog 0.17 or later


Iconsprites <sFTP$Dir>.!Sprites
wimpslot -min 128K -max 128K
|Run <sFTP$Dir>.!RunImage 2>adfs::4.$.error
Run <sFTP$Dir>.!Runimage
00000000  7c 0a 7c 20 21 72 75 6e  20 66 6f 72 20 73 46 54  ||.| !run for sFT|
00000010  50 0a 7c 0a 0a 0a 7c 20  54 68 65 20 6b 65 79 20  |P.|...| The key |
00000020  72 65 6d 61 70 20 69 73  20 74 6f 20 61 6c 6c 6f  |remap is to allo|
00000030  77 20 73 46 54 50 20 74  6f 20 70 69 63 6b 20 75  |w sFTP to pick u|
00000040  70 20 6f 6e 20 74 68 65  20 54 41 42 20 6b 65 79  |p on the TAB key|
00000050  20 66 6f 72 20 66 69 6c  65 6e 61 6d 65 20 63 6f  | for filename co|
00000060  6d 70 6c 65 74 69 6f 6e  0a 7c 20 61 6e 64 20 74  |mpletion.| and t|
00000070  68 65 20 63 75 72 73 6f  72 20 6b 65 79 73 0a 7c  |he cursor keys.||
00000080  20 4d 61 6b 65 20 74 61  62 20 70 72 6f 64 75 63  | Make tab produc|
00000090  65 20 5e 49 0a 2a 4b 65  79 20 31 30 20 7c 49 0a  |e ^I.*Key 10 |I.|
000000a0  7c 20 4d 61 6b 65 20 75  70 2d 61 72 72 6f 77 20  || Make up-arrow |
000000b0  70 72 6f 64 75 63 65 20  5e 50 0a 2a 4b 65 79 20  |produce ^P.*Key |
000000c0  31 35 20 7c 50 0a 7c 20  4d 61 6b 65 20 64 6f 77  |15 |P.| Make dow|
000000d0  6e 2d 61 72 72 6f 77 20  70 72 6f 64 75 63 65 20  |n-arrow produce |
000000e0  5e 4e 0a 2a 4b 65 79 20  31 34 20 7c 4e 0a 7c 20  |^N.*Key 14 |N.| |
000000f0  4d 61 6b 65 20 6c 65 66  74 2d 61 72 72 6f 77 20  |Make left-arrow |
00000100  70 72 6f 64 75 63 65 20  5e 42 0a 2a 4b 65 79 20  |produce ^B.*Key |
00000110  31 32 20 7c 42 0a 7c 20  4d 61 6b 65 20 72 69 67  |12 |B.| Make rig|
00000120  68 74 2d 61 72 72 6f 77  20 70 72 6f 64 75 63 65  |ht-arrow produce|
00000130  20 5e 46 0a 2a 4b 65 79  20 31 33 20 7c 46 0a 53  | ^F.*Key 13 |F.S|
00000140  65 74 20 73 46 54 50 24  44 69 72 20 3c 4f 62 65  |et sFTP$Dir <Obe|
00000150  79 24 44 69 72 3e 0a 0a  52 4d 45 6e 73 75 72 65  |y$Dir>..RMEnsure|
00000160  20 4c 69 6e 65 45 64 69  74 6f 72 20 32 2e 36 39  | LineEditor 2.69|
00000170  20 52 4d 4c 6f 61 64 20  3c 73 66 74 70 24 44 69  | RMLoad <sftp$Di|
00000180  72 3e 2e 52 65 73 6f 75  72 63 65 73 2e 4c 69 6e  |r>.Resources.Lin|
00000190  65 45 64 69 74 6f 72 0a  52 4d 45 6e 73 75 72 65  |eEditor.RMEnsure|
000001a0  20 4c 69 6e 65 45 64 69  74 6f 72 20 32 2e 36 39  | LineEditor 2.69|
000001b0  20 45 72 72 6f 72 20 59  6f 75 20 6e 65 65 64 20  | Error You need |
000001c0  74 6f 20 6c 6f 61 64 20  6c 69 6e 65 65 64 69 74  |to load lineedit|
000001d0  6f 72 20 66 6f 72 20 74  68 65 20 6c 69 6e 65 20  |or for the line |
000001e0  65 64 69 74 69 6e 67 20  74 6f 20 77 6f 72 6b 2e  |editing to work.|
000001f0  0a 0a 52 4d 45 6e 73 75  72 65 20 57 69 6d 70 45  |..RMEnsure WimpE|
00000200  78 74 65 6e 73 69 6f 6e  20 33 2e 34 35 20 52 4d  |xtension 3.45 RM|
00000210  4c 6f 61 64 20 3c 73 66  74 70 24 44 69 72 3e 2e  |Load <sftp$Dir>.|
00000220  52 65 73 6f 75 72 63 65  73 2e 57 69 6d 70 45 78  |Resources.WimpEx|
00000230  74 0a 52 4d 45 6e 73 75  72 65 20 57 69 6d 70 45  |t.RMEnsure WimpE|
00000240  78 74 65 6e 73 69 6f 6e  20 33 2e 34 35 20 45 72  |xtension 3.45 Er|
00000250  72 6f 72 20 59 6f 75 20  6e 65 65 64 20 57 69 6d  |ror You need Wim|
00000260  70 45 78 74 65 6e 73 69  6f 6e 20 33 2e 34 35 20  |pExtension 3.45 |
00000270  6f 72 20 6c 61 74 65 72  20 74 6f 20 72 75 6e 20  |or later to run |
00000280  21 73 46 54 50 0a 0a 52  4d 45 6e 73 75 72 65 20  |!sFTP..RMEnsure |
00000290  55 74 69 6c 69 74 79 4d  6f 64 75 6c 65 20 33 2e  |UtilityModule 3.|
000002a0  31 30 20 45 72 72 6f 72  20 54 68 69 73 20 61 70  |10 Error This ap|
000002b0  70 6c 69 63 61 74 69 6f  6e 20 69 73 20 6f 6e 6c  |plication is onl|
000002c0  79 20 73 75 69 74 61 62  6c 65 20 66 6f 72 20 75  |y suitable for u|
000002d0  73 65 20 77 69 74 68 20  52 49 53 43 20 4f 53 20  |se with RISC OS |
000002e0  33 2e 31 30 20 6f 72 20  6c 61 74 65 72 20 76 65  |3.10 or later ve|
000002f0  72 73 69 6f 6e 73 0a 0a  52 4d 45 4e 53 55 52 45  |rsions..RMENSURE|
00000300  20 46 69 6c 74 65 72 4d  61 6e 61 67 65 72 20 30  | FilterManager 0|
00000310  2e 30 39 20 52 4d 4c 6f  61 64 20 53 79 73 74 65  |.09 RMLoad Syste|
00000320  6d 3a 6d 6f 64 75 6c 65  73 2e 46 69 6c 74 65 72  |m:modules.Filter|
00000330  4d 67 72 0a 52 4d 45 4e  53 55 52 45 20 46 69 6c  |Mgr.RMENSURE Fil|
00000340  74 65 72 4d 61 6e 61 67  65 72 20 30 2e 30 39 20  |terManager 0.09 |
00000350  45 72 72 6f 72 20 59 6f  75 20 4e 65 65 64 20 66  |Error You Need f|
00000360  69 6c 74 65 72 20 6d 61  6e 61 67 65 72 20 30 2e  |ilter manager 0.|
00000370  30 39 20 6f 72 20 6c 61  74 65 72 0a 0a 52 4d 45  |09 or later..RME|
00000380  6e 73 75 72 65 20 42 6f  72 64 65 72 55 74 69 6c  |nsure BorderUtil|
00000390  73 20 30 2e 30 32 20 52  4d 45 6e 73 75 72 65 20  |s 0.02 RMEnsure |
000003a0  57 69 6e 64 6f 77 4d 61  6e 61 67 65 72 20 33 2e  |WindowManager 3.|
000003b0  31 37 20 20 52 4d 4c 6f  61 64 20 53 79 73 74 65  |17  RMLoad Syste|
000003c0  6d 3a 6d 6f 64 75 6c 65  73 2e 42 6f 72 64 65 72  |m:modules.Border|
000003d0  55 74 69 6c 0a 0a 52 4d  45 6e 73 75 72 65 20 54  |Util..RMEnsure T|
000003e0  6f 6f 6c 62 6f 78 20 20  20 20 31 2e 32 33 20 20  |oolbox    1.23  |
000003f0  52 4d 4c 6f 61 64 20 53  79 73 74 65 6d 3a 6d 6f  |RMLoad System:mo|
00000400  64 75 6c 65 73 2e 74 6f  6f 6c 62 6f 78 2e 74 6f  |dules.toolbox.to|
00000410  6f 6c 62 6f 78 0a 52 4d  45 6e 73 75 72 65 20 54  |olbox.RMEnsure T|
00000420  6f 6f 6c 62 6f 78 20 20  20 20 31 2e 32 33 20 20  |oolbox    1.23  |
00000430  45 72 72 6f 72 20 59 6f  75 20 6e 65 65 64 20 74  |Error You need t|
00000440  6f 6f 6c 62 6f 78 20 31  2e 32 33 20 6f 72 20 6c  |oolbox 1.23 or l|
00000450  61 74 65 72 20 74 6f 20  72 75 6e 20 21 73 46 54  |ater to run !sFT|
00000460  50 0a 52 4d 45 6e 73 75  72 65 20 57 69 6e 64 6f  |P.RMEnsure Windo|
00000470  77 20 20 20 20 20 31 2e  31 35 20 20 52 4d 4c 6f  |w     1.15  RMLo|
00000480  61 64 20 53 79 73 74 65  6d 3a 6d 6f 64 75 6c 65  |ad System:module|
00000490  73 2e 74 6f 6f 6c 62 6f  78 2e 77 69 6e 64 6f 77  |s.toolbox.window|
000004a0  0a 52 4d 45 6e 73 75 72  65 20 57 69 6e 64 6f 77  |.RMEnsure Window|
000004b0  20 20 20 20 20 31 2e 31  35 20 20 45 72 72 6f 72  |     1.15  Error|
000004c0  20 59 6f 75 20 6e 65 65  64 20 77 69 6e 64 6f 77  | You need window|
000004d0  20 31 2e 31 35 20 6f 72  20 6c 61 74 65 72 20 74  | 1.15 or later t|
000004e0  6f 20 72 75 6e 20 21 73  46 54 50 0a 52 4d 45 6e  |o run !sFTP.RMEn|
000004f0  73 75 72 65 20 4d 65 6e  75 20 20 20 20 20 20 20  |sure Menu       |
00000500  30 2e 31 35 20 20 52 4d  4c 6f 61 64 20 53 79 73  |0.15  RMLoad Sys|
00000510  74 65 6d 3a 6d 6f 64 75  6c 65 73 2e 74 6f 6f 6c  |tem:modules.tool|
00000520  62 6f 78 2e 6d 65 6e 75  0a 52 4d 45 6e 73 75 72  |box.menu.RMEnsur|
00000530  65 20 4d 65 6e 75 20 20  20 20 20 20 20 30 2e 31  |e Menu       0.1|
00000540  35 20 20 45 72 72 6f 72  20 59 6f 75 20 6e 65 65  |5  Error You nee|
00000550  64 20 6d 65 6e 75 20 30  2e 31 35 20 6f 72 20 6c  |d menu 0.15 or l|
00000560  61 74 65 72 20 74 6f 20  72 75 6e 20 21 73 46 54  |ater to run !sFT|
00000570  50 0a 52 4d 45 6e 73 75  72 65 20 49 63 6f 6e 62  |P.RMEnsure Iconb|
00000580  61 72 20 20 20 20 31 2e  30 38 20 20 52 4d 4c 6f  |ar    1.08  RMLo|
00000590  61 64 20 53 79 73 74 65  6d 3a 6d 6f 64 75 6c 65  |ad System:module|
000005a0  73 2e 74 6f 6f 6c 62 6f  78 2e 69 63 6f 6e 62 61  |s.toolbox.iconba|
000005b0  72 0a 52 4d 45 6e 73 75  72 65 20 49 63 6f 6e 62  |r.RMEnsure Iconb|
000005c0  61 72 20 20 20 20 31 2e  30 38 20 20 45 72 72 6f  |ar    1.08  Erro|
000005d0  72 20 59 6f 75 20 6e 65  65 64 20 69 63 6f 6e 62  |r You need iconb|
000005e0  61 72 20 31 2e 30 38 20  6f 72 20 6c 61 74 65 72  |ar 1.08 or later|
000005f0  20 74 6f 20 72 75 6e 20  21 73 46 54 50 0a 52 4d  | to run !sFTP.RM|
00000600  45 6e 73 75 72 65 20 50  72 6f 67 49 6e 66 6f 20  |Ensure ProgInfo |
00000610  20 20 30 2e 30 35 20 20  52 4d 4c 6f 61 64 20 53  |  0.05  RMLoad S|
00000620  79 73 74 65 6d 3a 6d 6f  64 75 6c 65 73 2e 74 6f  |ystem:modules.to|
00000630  6f 6c 62 6f 78 2e 70 72  6f 67 69 6e 66 6f 0a 52  |olbox.proginfo.R|
00000640  4d 45 6e 73 75 72 65 20  50 72 6f 67 49 6e 66 6f  |MEnsure ProgInfo|
00000650  20 20 20 30 2e 30 35 20  20 45 72 72 6f 72 20 59  |   0.05  Error Y|
00000660  6f 75 20 6e 65 65 64 20  70 72 6f 67 69 6e 66 6f  |ou need proginfo|
00000670  20 30 2e 30 35 20 6f 72  20 6c 61 74 65 72 20 74  | 0.05 or later t|
00000680  6f 20 72 75 6e 20 21 73  46 54 50 0a 0a 0a 0a 7c  |o run !sFTP....||
00000690  20 54 68 65 20 66 6f 6c  6c 6f 77 69 6e 67 20 6c  | The following l|
000006a0  69 6e 65 73 20 6d 61 6b  65 20 73 75 72 65 20 74  |ines make sure t|
000006b0  68 61 74 20 44 6f 67 67  79 73 6f 66 74 27 73 20  |hat Doggysoft's |
000006c0  75 74 69 6c 69 74 79 20  21 73 79 73 6c 6f 67 20  |utility !syslog |
000006d0  0a 7c 20 68 61 73 20 62  65 65 6e 20 73 65 65 6e  |.| has been seen|
000006e0  20 62 79 20 74 68 65 20  66 69 6c 65 72 0a 49 66  | by the filer.If|
000006f0  20 22 3c 53 79 73 4c 6f  67 24 44 69 72 3e 22 3d  | "<SysLog$Dir>"=|
00000700  22 22 20 74 68 65 6e 20  45 72 72 6f 72 20 21 53  |"" then Error !S|
00000710  79 73 4c 6f 67 20 61 70  70 6c 69 63 61 74 69 6f  |ysLog applicatio|
00000720  6e 20 6e 6f 74 20 73 65  65 6e 20 62 79 20 66 69  |n not seen by fi|
00000730  6c 65 72 0a 52 4d 45 6e  73 75 72 65 20 53 79 73  |ler.RMEnsure Sys|
00000740  4c 6f 67 20 30 2e 31 37  20 52 75 6e 20 3c 53 79  |Log 0.17 Run <Sy|
00000750  73 4c 6f 67 24 44 69 72  3e 2e 21 52 75 6e 0a 52  |sLog$Dir>.!Run.R|
00000760  4d 45 6e 73 75 72 65 20  53 79 73 4c 6f 67 20 30  |MEnsure SysLog 0|
00000770  2e 31 37 20 45 72 72 6f  72 20 73 46 54 50 20 6e  |.17 Error sFTP n|
00000780  65 65 64 73 20 53 79 73  4c 6f 67 20 30 2e 31 37  |eeds SysLog 0.17|
00000790  20 6f 72 20 6c 61 74 65  72 0a 0a 0a 49 63 6f 6e  | or later...Icon|
000007a0  73 70 72 69 74 65 73 20  3c 73 46 54 50 24 44 69  |sprites <sFTP$Di|
000007b0  72 3e 2e 21 53 70 72 69  74 65 73 0a 77 69 6d 70  |r>.!Sprites.wimp|
000007c0  73 6c 6f 74 20 2d 6d 69  6e 20 31 32 38 4b 20 2d  |slot -min 128K -|
000007d0  6d 61 78 20 31 32 38 4b  0a 7c 52 75 6e 20 3c 73  |max 128K.|Run <s|
000007e0  46 54 50 24 44 69 72 3e  2e 21 52 75 6e 49 6d 61  |FTP$Dir>.!RunIma|
000007f0  67 65 20 32 3e 61 64 66  73 3a 3a 34 2e 24 2e 65  |ge 2>adfs::4.$.e|
00000800  72 72 6f 72 0a 52 75 6e  20 3c 73 46 54 50 24 44  |rror.Run <sFTP$D|
00000810  69 72 3e 2e 21 52 75 6e  69 6d 61 67 65           |ir>.!Runimage|
0000081d