This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
EveryOS's profile picture

Sometimes the CraftOS shell input acts weird, what should I do

Started by EveryOS, 19 March 2018 - 10:39 AM
EveryOS #1
Posted 19 March 2018 - 11:39 AM
This didn't happen in the past, but on CC1.8 lately the shell flashes when I'm typing and doesn't immediately recognize when I stop pressing backspace. I tried closing background processes and other advanced computers, didn't help. It only happens on my laptop, and not other computers. Other than defragmenting my disk, which I do often, what should I do to decrease the lag?
Lupus590 #2
Posted 19 March 2018 - 01:08 PM
What are your laptop specifications?

Is uninstalling mods an option?
EveryOS #3
Posted 19 March 2018 - 02:44 PM
That's the only mod on their I think, I'm running CC1.8 on IntelliJ + MCForge.
It's a Lenovo laptop with slow, connective internet, a screen that occasionally flickers (recently after a flicker a driver said it failed and restarted) (also, this is not the problem), and 800GB (MUCH more than I need)
It runs Windows 8.1, though it originally had Windows 8.0
I don't know the model and can't check right now

Edit: While I do not know when exactly this started happening, it was sometime after I deleted and then re-setup my CC dev environment. Though it is a dev environment, it has not been modified.
Edited on 19 March 2018 - 01:47 PM
SquidDev #4
Posted 19 March 2018 - 03:04 PM
I haven't got a clue, but there's a couple of things I can think of trying to help narrow it down:
  • Does this occur using a recent build in a fresh Minecraft install instead?
  • Does this occur on a non-advanced computer, or an advanced one with multishell disabled? It's possible that the window API is lagging things.
  • Does this occur when running with ./gradlew.bat runClient on the terminal, instead of through IntelliJ?
I'd be surprised if the answer is yes to all three: I've modded on some pretty awful computers and, whilst it's not fun, it's not quite as bad as that either.
Edited on 19 March 2018 - 02:05 PM
EveryOS #5
Posted 19 March 2018 - 04:03 PM
I can't check right now, but it only happens on the shell or during read() inputs
EveryOS #6
Posted 20 March 2018 - 12:06 AM
Apparently my computer hasn't been doing the daily defragmenting I scheduled it to do, that might be the problem (11% fragmented)
Sewbacca #7
Posted 20 March 2018 - 10:30 PM
I had a similar problem: My laptop (which I just use for vacations) sometimes didn't recognized, when a stopped pressing a key. It didn't happened just in CC, but also in all other programs. I didn't found a solution, but maybe you can check, if other programs are misinterpreting your inputs too or if your drivers are outdated.
Bomb Bloke #8
Posted 21 March 2018 - 09:01 AM
With every key you press, the shell is pulling a directory listing for the purpose of getting auto-complete information. If there are a large number of files in the current folder, this can cause some slowdown and flicker. You can turn off auto-complete with set to confirm whether it's related.

Browsing virtual paths built through filesystem wrappers such as BBPack or Netsharp may also slow down auto-complete.
EveryOS #9
Posted 21 March 2018 - 12:30 PM
I'll try turning off autocomplete.. Sounds easier than finding out my laptops specifications and stuff