<p>Start the <code>cgminer</code> script with the <code>-T</code> flag. That worked for me. It disables ncurses and uses text-only output.</p>

CC BY-SA 3.0
2013-12-19T19:53:49.977Z
2013-12-19T19:53:49.977Z
ashgromnies
<p>I had the same problem and for me it worked to set the TERM variable to nothing directly before you execute cgminer. Like this in the cmd shell:</p>

<p>set TERM=<br>
cgminer-nogpu.exe ........</p>

<p>If you set it to "" (meaning nothing) in the system settings it will use the default value "c:\windows\system32\cmd.exe". You can check the the variable in the shell with:</p>

<p>echo %TERM%</p>

<p>I hope this will help you :)</p>

CC BY-SA 3.0
2013-10-24T07:48:15.980Z
Wow, thanks! I'd tried setting TERM to just about everything but the empty string!
Robert
CC BY-SA 3.0
2013-12-03T14:24:55.433Z
Sure, forget about that sorry.
Robert
CC BY-SA 3.0
2013-12-19T19:52:36.017Z
This seems kinda coincidental and doesn't get at the root of WHY that error message is being produced. It also doesn't work for me: `$ TERM='' ./cgminer --scrypt -o stratum+tcp://dogehouse.org:3333 -u zbuc.zbuc -p p4ssw0rd --worksize 256 --lookup-gap 2 --thread-concurrency 2047 -g 1 --intensity 11
Error opening terminal: unknown.`
ashgromnies
CC BY-SA 3.0
2013-10-23T09:07:36.733Z
2013-10-23T09:07:36.733Z
Phrazer
<p>I'm using Windows 8 x64. I've downloaded the latest cgminer (3.4 at this time), but when ever I try and start it I get the error message:</p>

<pre><code>Error opening terminal: dumb
</code></pre>

<p>I've seen various post that suggest this relates to the TERM env var and setting this does change the message to end with what ever is in TERM, but nothing I've tried fixes it. Anyone know what I need to do to get this working?</p>

<windows><cgminer>
cgminer fails to start with error "error opening terminal: dumb"
Robert
# cgminer fails to start with error "error opening terminal: dumb"

(Asked by: username_0 on 2013-09-28)

I'm using Windows 8 x64. I've downloaded the latest cgminer (3.4 at this time), but when ever I try and start it I get the error message:

```
Error opening terminal: dumb

```

I've seen various post that suggest this relates to the TERM env var and setting this does change the message to end with what ever is in TERM, but nothing I've tried fixes it. Anyone know what I need to do to get this working?

**Tags:** windows, cgminer


---

## 2 answers

### Answer by username_2 on 2013-10-23. Score: 7 | Accepted answer

I had the same problem and for me it worked to set the TERM variable to nothing directly before you execute cgminer. Like this in the cmd shell:

set TERM=  
cgminer-nogpu.exe ........

If you set it to "" (meaning nothing) in the system settings it will use the default value "c:\windows\system32\cmd.exe". You can check the the variable in the shell with:

echo %TERM%

I hope this will help you :)

> **Comments:**
> **username_0**: Wow, thanks! I'd tried setting TERM to just about everything but the empty string!  
> **username_0**: Sure, forget about that sorry.  
> **username_1**: This seems kinda coincidental and doesn't get at the root of WHY that error message is being produced. It also doesn't work for me: `$ TERM='' ./cgminer --scrypt -o stratum+tcp://dogehouse.org:3333 -u zbuc.zbuc -p p4ssw0rd --worksize 256 --lookup-gap 2 --thread-concurrency 2047 -g 1 --intensity 11 Error opening terminal: unknown.`  

---

### Answer by username_1 on 2013-12-19. Score: 2

Start the `cgminer` script with the `-T` flag. That worked for me. It disables ncurses and uses text-only output.


---

