text editor in a taskwindow
John Rickman (71) 646 posts |
Does anyone know of a simple text editor that works inside a TaskWindow or on the command line?. I would like to be able to make some simple changes to a file without going to the desktop. Something like nano or pico for example. |
Stuart Swales (8827) 1357 posts |
sed! (someone had to…) Anybody bother to 32-bit-ise Twin? Or even run PipeDream 2 under Aemulor? |
John Rickman (71) 646 posts |
sed Thanks – that’s just the ticket:-) |
Willard Goosey (5119) 257 posts |
There might be an ed or ex clone somewhere… !ne will run in a taskwindow as a line editor or full-screen as a screen editor (or in the WIMP as a WIMP task!). If you’re really hard-core, ECCE is a very powerful context editor (like a line editor, but more so!) for a taskwindow or full-screen in a graphtask window, fue (folding microEMACS 3.10) seems to work except for arrow keys (^F ^N etc work) also works fine full-screen. In a nettle ansitask there’s a port of vim. there was an edlin clone but afaik it’s 26-bit only… Twin has been 32-bitted, afaik it’s full-screen only but it might work in a graphtask? (edit, you’re also looking for full-screen?!) |
Alan Adams (2486) 1149 posts |
I used to use that heavily on a VAX. Brilliant editor for use on a serial terminal. Allows for example "find So you could for example produce a file list, then for each file setup (Just don’t ask me for the commands to do that – it was 20 years ago.) |
Stuart Swales (8827) 1357 posts |
Link for 32-bit Twin would be handy! |
Willard Goosey (5119) 257 posts |
http://www.croftnuisk.co.uk/coltsoft-downloads/other/Twin.zip (are you the same Stuart Swales (1481) who posted this link to General in 2016?) In the old Stuttgart ftp (via internet archive) there’s also a twin/spk which is a BASIC !twin wrapper so twin can be run from the WIMP. It’s still full-screen. |
Stuart Swales (8827) 1357 posts |
Yes, that’s me! And that Twin is archaic (i.e. of RISC OS 2 vintage)! |
Willard Goosey (5119) 257 posts |
If you have a newer version? :-) I’m not an old-school Acorn guy, so all I know about Twin is what I’ve read here. I can’t tell archaic from current! |
Willard Goosey (5119) 257 posts |
Humm the binary is dated 1988 but seems to work fine on my pi2 with RO5.28… |
Willard Goosey (5119) 257 posts |
Yeah, upon further testing, no in fact the twin I have doesn’t actually work… oops sorry… :-( |
Willard Goosey (5119) 257 posts |
Rick Murray’s 32bit verion of twin (because i keep loosing it) |
David J. Ruck (33) 1636 posts |
I used to use TWIN many decades ago, but unlike vi which I never managed to forget, I haven’t a clue on how to work it. I ran a copy and had to Alt+Break as I couldn’t even out of it. Is there any documentation anywhere? |
Steve Pampling (1551) 8172 posts |
I have mental scars like that. |
Rick Murray (539) 13850 posts |
PDF version of a scan of the user guide in the archive three posts up. |
Piers (3264) 45 posts |
Oh wow. I haven’t heard that name in 30 years. It was my first notable (!) ARM program, after prime number fiddling. Written as a joke to irritate people on Arcade BBS. But it did mostly work. |
Charles Ferguson (8243) 427 posts |
There is, of course, a real `Pico` for RISC OS which I ported some years back, and found very useful in updating files after the OS was 32bitted but the Desktop/Edit wasn’t working. It worked pretty well back in the day. As I recall it runs under RISC OS Pyromaniac relatively well, although when running on Pyromaniac it’s better to just use the built in TWIN implementation’s `*Edit` command, as that launches a `nano` on the native system. However, that won’t help you as you’re not using that (and it’s not on the shell.riscos.online machine. I’ve installed it on `shell.riscos.online` to see how well it works… *cdir pico *dir pico *urlcopy <a href="https://github.com/gerph/pico/releases/download/v4.10/Pico-4.10.zip">https://github.com/gerph/pico/releases/download/v4.10/Pico-4.10.zip</a> Pico-410/zip *miniunzip -v Pico-410/zip Archive: Pico-410/zip creating: !Pico inflating: CPYRIGHT inflating: ReleaseNote inflating: pilot inflating: !Pico.!Sprites inflating: !Pico.!Run inflating: !Pico.pico inflating: !Pico.!Boot 7 objects extracted. *build pico 1 /<Obey$dir>.!Pico.pico %*0 2 *settype pico obey *Pico ReleaseNote ... displays the release notes Although it seems under `shell.riscos.online` I need to use shift-ctrl-x to exit. I think that’s just a feature of the shell, like it needing me to use shift-ctrl-c instead of Escape. Anyhow, it seems to work. |