Command buffer

If you have feature requests, this is the place to post them. Please note your idea may already be something we have already discussed and decided against, or something we are working on privately, and we cannot be held responsible for any similarities in such instance. Whilst we cannot respond to every suggestion, your idea will be read and responded to where possible. Thank you for your input!
Post Reply
DocCaliban
Posts: 5
Joined: Wed Feb 24, 2021 10:02 pm

Command buffer

Post by DocCaliban »


I just started playing around with the emulator about an hour ago.  On feature it lacks IMHO is a command buffer.

It would be nice to be able to hit tab or something similar to bring up the last command issued.  You can see what I mean by looking at the following image where I press UP to get the last command.

Tab or Shift Tab  or Shift Up.   This would be amazing

 

20210224140823.thumb.gif.0bf914f1af38387bcdf2fbac70ef4b55.gif

User avatar
desertfish
Posts: 1088
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

Command buffer

Post by desertfish »


Well, it's using a full-screen editor. You can move the cursor up a few lines and press return again to run the command on that line again.

It's not as convenient perhaps but it sort of works.

SlithyMatt
Posts: 913
Joined: Tue Apr 28, 2020 2:45 am

Command buffer

Post by SlithyMatt »


Well, it sort of does. If the command is still on screen, you can just cursor up to it and hit return again. You can even overwrite part of it, if necessary. This behavior goes back at least to the C64.

calcmandan
Posts: 38
Joined: Tue Jan 26, 2021 9:57 am

Command buffer

Post by calcmandan »


like in linux command line or dos? up arrow gives command history.

x16tial
Posts: 177
Joined: Sun Feb 07, 2021 8:23 pm

Command buffer

Post by x16tial »


Welcome to 1982 ?  In best old man voice:  "In MY day, we didn't have command buffers!  We retyped or we cursored back and hit enter on it again!  We didn't care there was other stuff on the screen!  And we liked it!

kelli217
Posts: 528
Joined: Sun Jul 05, 2020 11:27 pm

Command buffer

Post by kelli217 »


It isn't a shell-style interface, though.

rje
Posts: 1263
Joined: Mon Apr 27, 2020 10:00 pm
Location: Dallas Area

Command buffer

Post by rje »



On 2/24/2021 at 5:51 PM, x16tial said:




Welcome to 1982 ?  In best old man voice:  "In MY day, we didn't have command buffers!  We retyped or we cursored back and hit enter on it again!  We didn't care there was other stuff on the screen!  And we liked it!



This.  QFT.

 

But I'll think about it if I ever get back to my 8SH code... a history function.  I'd probably use one RAM buffer for it... that's EIGHT THOUSAND BYTES of history!!  WOW!

 

DocCaliban
Posts: 5
Joined: Wed Feb 24, 2021 10:02 pm

Command buffer

Post by DocCaliban »



On 2/24/2021 at 3:51 PM, x16tial said:




Welcome to 1982 ?  In best old man voice:  "In MY day, we didn't have command buffers!  We retyped or we cursored back and hit enter on it again!  We didn't care there was other stuff on the screen!  And we liked it!



I was using a C=64 back in 1982 (I was 12), I am and old man also.  But seriously something like this would be an awesome feature.   But if not, I can live with that too.

TomXP411
Posts: 1776
Joined: Tue May 19, 2020 8:49 pm

Command buffer

Post by TomXP411 »


I'm going to go with my usual answer: 

Write one.

If it's super useful, it might be worth including in the ROM, but you'd have talk the team into accepting it, then you'd have to do the work and submit a pull request for that. 

Even if it doesn't get put in the ROM, you could load it into the $400 block and run it as a memory resident routine, and some other people might also find it useful. 

Personally, the more I look at the Commander's design, the more I wish it was built like a CP/M or DOS machine, with nothing in ROM but a BIOS, so we could design our own interpreters and command shells. But since 16K of address space is permanently ROM, we are losing a pretty big chunk of memory that could house a custom operating system and tools like yours. 

In his last video, talking about the motherboard upgrades, Kevin did mention that space could have RAM alongside the ROM, so I'm crossing my fingers that we might get some room for RAM next to the KERNAL banks. Even if that's left empty, users could install their own RAM and use that for custom operating system code. 

 

 

Post Reply