08 June 2020, 14:15 | #1 |
Registered User
Join Date: Jun 2020
Location: Italy
Age: 46
Posts: 5
|
Newbie issue: shell command history not working
Hi to all,
I'm a new EAB user that after 30 years returns to the Amiga world thanks to emulation. When I was a teen I used my A500 only for games so I don't have any past knowledge of Workbench/AmigaOS. In basically all the guides I found I read that the Amiga Shell has a command history function, here an example: https://wiki.amigaos.net/wiki/AmigaO...ommand_History Following "The Green Amiga Alien Guide" I created 3 WinUAE configs: A500 with 20MB HD and WB 1.3.3, A600HD/40 with WB 2.0.5, A1200HD/60 with WB 3.1 and a shared directory. And in all these configs the command history doesn't work , but it works in the preconfigured configs of Amiga Forever! Since I want to copy in the shared directory all the versions of Flashback (to do some comparisons, basically 20 FDs), that function would be very useful! In a guide I read that you need to press CTRL+D while starting the Shell but apparently it doesn't work... Any help will be very appreciated, thanks in advance and greetings from Italy! SOLVED: https://eab.abime.net/showpost.php?p...3&postcount=12 Last edited by BigTool4U; 09 June 2020 at 10:09. |
08 June 2020, 14:17 | #2 |
Registered User
Join Date: Oct 2012
Location: Italy
Age: 49
Posts: 2,942
|
Greetings from Italy
Welcome to the forum ! |
08 June 2020, 17:00 | #3 |
Registered User
Join Date: Nov 2004
Location: Germany
Posts: 629
|
Try adding
mount newcon: in the startup sequence. (you have to have the file newcon.handler in the L directory) |
08 June 2020, 17:09 | #4 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,303
|
That AmigaOS Wiki is target to OS 4 what has advanced features. At least up to OS 3.1 there is not command history. Edit: I was thinking of text scroll back buffer. I think VincEd that comes with OS 3.9 (optional package?) supports command history. Other Shell replacements do have it to like KingCON. So it depends on what Shell do you use.
Last edited by daxb; 08 June 2020 at 19:59. |
08 June 2020, 17:15 | #5 |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
|
08 June 2020, 17:33 | #6 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 6,987
|
That's not true. Command history is present since WB 1.3. In 1.3 you need to mount and use NEWCON as mentioned above, in 2.0 and above it's built in. Actually it's input history, not command history. Every input is remembered by the console window and lost if you close the window.
|
08 June 2020, 17:34 | #7 |
Registered User
Join Date: Mar 2018
Location: Austria
Posts: 617
|
AFAIK ClassicWB uses KingCon.
It's really much nicer to use. Also filename completion is a feature I don't want to miss anymore. http://aminet.net/package/util/shell/KingCON_1.3 |
08 June 2020, 19:55 | #8 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,303
|
Ups. I've confound command history with scroll back buffer (history). Sorry!
|
08 June 2020, 20:06 | #9 | |
Registered User
Join Date: Jun 2020
Location: Italy
Age: 46
Posts: 5
|
Quote:
What's the difference between CLI and Shell? I tried Classic WB Full and it doesn't work from Shell... EDIT: http://classicwb.abime.net/classicweb/multiboot.htm <- I have to try! Last edited by BigTool4U; 08 June 2020 at 20:36. |
|
08 June 2020, 20:46 | #10 | |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
They are the same really
Quote:
|
|
09 June 2020, 06:07 | #11 | |
Registered User
Join Date: Jun 2020
Location: Italy
Age: 46
Posts: 5
|
Nothing, it doesn't work for me, I tried with a clean installation of Lite and an updated installation to WB 3.1, same results.
Quote:
Exactly as I found here: https://en.wikipedia.org/wiki/AmigaDOS#Console https://wiki.amigaos.net/wiki/AmigaD....28Obsolete.29 So should it be enabled by default in WB2/3? |
|
09 June 2020, 09:15 | #12 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 6,987
|
|
09 June 2020, 09:36 | #13 |
Registered User
Join Date: Jan 2019
Location: Germany
Posts: 3,216
|
Well, for all practical purposes, yes. But if you want to be 100% correct, no. The resident list of the dos.library contains three entries: CLI, Shell, and BootShell. While they all point to the same shell segment by default, they need not to be the shell. The boot shell is the shell that executes the startup-system. The "shell" is the thing used by newshell and system() unless you say otherwise by a tag. CLI is probably only for backwards compatibility. |
09 June 2020, 09:50 | #14 | |
Registered User
Join Date: Jun 2020
Location: Italy
Age: 46
Posts: 5
|
Quote:
Oh my... Yes, in "Port B" I had "Keyboard Layout B", I set it to < none > and now it works... THIS is truly a newbie error, shame on me! Guys, I'm sorry if I wasted your time for a so stupid mistake but thanks a lot, I learnt so many things! |
|
09 June 2020, 10:01 | #15 | |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
|
Quote:
Ciao, in the Workbench 1.3 there are two similar commands that are not the same man or CLI and SHELL see screenshot, with SHELL you have the function of command history, while with CLI you don't have this function ! |
|
09 June 2020, 10:23 | #16 |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
...and besides thomas's post, here's an explanation from EAB's resident Hardware moderator Jope:
http://eab.abime.net/showpost.php?p=...postcount=2546 Don't worry, we've all made that mistake in the past |
09 June 2020, 16:41 | #17 |
Registered User
Join Date: Jun 2020
Location: Italy
Age: 46
Posts: 5
|
Really interesting, thanks again to all!
|
10 June 2020, 22:11 | #18 | |
Registered User
Join Date: Sep 2006
Location: New Sandusky
Posts: 942
|
Quote:
In Workbench 1.3, "Shell" opens a NEWCON: terminal, while "CLI" opens a CON: terminal. CON: is the terminal/shell built into the ROM, NEWCON: is a better terminal/shell that comes on disk in 1.3 On the Amiga, terminal emulators and shells usually came together in one monolithic console device ("CON:" being the default one in the ROM). There are also shell-only TTY-style handlers you can install that allow you to use whatever terminal emulator you want to connect to them, and if you want a different shell in a CON: window you can run a port of bash or something and divorce the shell from the terminal, but in general they come as inseparable monolithic hunks of code. KINGCON: being one of the more popular upgraded ones. The upgraded features of NEWCON: in 1.3 were rolled into the basic CON: in AmigaOS 2.0 and up, so NEWCON: becomes irrelevant after 1.3. but yeah tl;dr. on 1.3 . CLI command opens CON:, Shell command opens NEWCON: |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Clear background color for Shell window- Shell-StartUp | fc.studio | support.Apps | 13 | 25 March 2022 18:52 |
Auto-saving VincEd command-line history on OS3.9 | macce2 | support.Apps | 0 | 07 July 2019 16:40 |
CPU history (HH) not working? | jotd | support.WinUAE | 6 | 12 June 2016 17:25 |
Basic Newbie Q: Kickstart Issue | ennio | New to Emulation or Amiga scene | 7 | 12 July 2007 08:15 |
disk history issue | demoniac | support.WinUAE | 0 | 08 February 2006 02:15 |
|
|