Giter Club home page Giter Club logo

terminal-plus's Introduction

Author's Note

Terminal-Plus

Terminal-Plus is a terminal package for Atom, complete with themes and more.

demo

Nucleus Dark UI with Atom Material Syntax and our Homebrew theme.

Usage

Terminal-Plus stays in the bottom of your editor while you work.

Status Bar

status-bar
You can keep track of terminal instances via the status bar. Each terminal has a status icon ( status icon ) in the status bar. The ( plus-icon ) button creates a new terminal, while the ( red-x ) button closes all terminals.

Click on a status icon to toggle that terminal. Right click the status icon for a list of available commands. From the right-click menu you can color code the status icon as well as hide or close the terminal instance.

Terminal

You can open the last active terminal with the terminal-plus:toggle command (Default:ctrl-`). If no terminal instances are available, then a new one will be created. The same toggle command is used to hide the currently active terminal.

From there you can begin typing into the terminal. By default the terminal will change directory into the project folder if possible. The default working directory can be changed in the settings to the home directory or to the active file directory.

See available commands below.

Features

Full Terminal

Every terminal is loaded with your system’s default initialization files. This ensures that you have access to the same commands and aliases as you would in your standard terminal.

Themes

The terminal is preloaded with several themes that you can choose from. Not satisfied?
Use the following template in your stylesheet:

.terminal-plus .xterm {
  background-color: ;
  color: ;

  ::selection {
    background-color: ;
  }

  .terminal-cursor {
    background-color: ;
  }
}

Process Titles

By hovering over the terminal status icon, you can see which command process is currently running in the terminal.

Terminal Naming

Need a faster way to figure out which terminal is which? Name your status icons!

Available via the status icon context menu.

Color Coding

Color code your status icons!

The colors are customizable in the settings, however the color names remain the same in the context menu.

Sorting

Organize your open terminal instances by dragging and dropping them.

Resizable

You can resize the view vertically, or just maximize it with the maximize button.

Working Directory

You can set the default working directory for new terminals. By default this will be the project folder.

File Dropping

Dropping a file on the terminal will insert the file path into the input. This works with external files, tabs from the Atom tab-view, and entries from the Atom tree-view.

Insert Selected Text

Insert and run selected text from your text editor by running the terminal-plus:insert-selected-text command (ctrl-enter).

If you have text selected, it will insert your selected text into the active terminal and run it.
If you don't have text selected it, will run the text on the line where your cursor is then proceed to the next line.

Quick Command Insert

Quickly insert a command to your active terminal by executing the terminal-plus:insert-text command.

A dialog will pop up asking for the input to insert. If you have the Run Inserted Text option enabled in the settings (default is false), Terminal-Plus will automatically run the command for you.

Support for Special Keys

Support for IME, dead keys and other key combinations via the Insert Text dialog box. Just click the keyboard button in the top left of the terminal or set up a keymap to the terminal-plus:insert-text command.

Note: Make sure you have the Run Inserted Command toggle off otherwise it will run your inserted text.

Map Terminal To

Map your terminals to each file or folder you are working on for automatic terminal switching.

File

Folder

Toggling the Auto Open a New Terminal (For Terminal Mapping) option will have the mapping create a new terminal automatically for files and folders that don't have a terminal. The toggle is located right under the Map Terminals To option.

Install

Ready to install?

You can install via apm: apm install terminal-plus

Or navigate to the install tab in Atom’s settings view, and search for terminal-plus.

Commands

Command Action Default Keybind
terminal-plus:new Create a new terminal instance. ctrl-shift-t
or
cmd-shift-t
terminal-plus:toggle Toggle the last active terminal instance.
Note: This will create a new terminal if it needs to.
ctrl-`
(Control + Backtick)
terminal-plus:prev Switch to the terminal left of the last active terminal. ctrl-shift-j
or
cmd-shift-j
terminal-plus:next Switch to the terminal right of the last active terminal. ctrl-shift-k
or
cmd-shift-k
terminal-plus:insert-selected-text Run the selected text as a command in the active terminal. ctrl-enter
terminal-plus:insert-text Bring up an input box for using IME and special keys. ––––––––––––
terminal-plus:close Close the active terminal. ctrl-shift-x
or
cmd-shift-x
terminal-plus:close-all Close all terminals. ––––––––––––
terminal-plus:rename Rename the active terminal. ––––––––––––

To-Do List

  • Possibly merge dependencies into Terminal-Plus?
  • Add support for dead keys and IME input
  • Add support for terminal tabs
  • Add support for automatic directory switching
  • Fix Atom requesting a rebuild after every update
  • Update winpty in pty.js dependency
  • Add support for custom ANSI colors in terminal
  • Fix ctrl+c for bash prompts on OS X and Linux
  • Add support for status icon names

terminal-plus's People

Contributors

jeremyramin avatar jhanschoo avatar tonatiuh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

terminal-plus's Issues

decreased performance when running python script

Running a Python script in nativ terminal is super fast but if I run the same script from terminal-plus it takes much more time and also Atom is lagging and can not be used until the script is finished or aborted. So the whole package becomes useless for me :(

using atom 1.0.11 on osx 10.10.5 and terminal-plus 0.4.2

Terminal doesn't react

When I press <C-`> or click Packages -> Terminal-Plus -> Toggle (or New Terminal) nothing happens.

I am using fish shell (but tried bash too) on Ubuntu 15.4, I am launching atom from terminal.

I am not sure how to debug this (I am using Atom for few minutes now :))

What can I do to provide more info about this issue? :)

terminal task takes cursor focus

While executing rspec tests (with logging in console) terminal taking focus from editor to terminal window, so it's kinda hard to type with open terminal window.

Automatic directory switching

I would love an option for the terminal to automatically switch directory when switching to another file. Alternatively an option which makes the toggle command check if there is a terminal in the directory of the current file and if not open a new instace for that directory.

Create custom Theme

I'd like to build a Monokai theme for Terminal-Plus but I'm not sure where to start, could you point me in the right direction?

I've created a monokai.less under the themes folder, and imported it in themes.less, but I don't seem to get an option from the settings pane in atom.

Also, where do I define text colours? Do I just need to do that from the settings panel?

Thanks in advance, I love Terminal-Plus already, but would love to add a monokai theme to it!

UPDATE: I've modified red.less to match the correct background and foreground colours, and used the colour swatches in the settings menu to more or less match my terminal profile. the added monokai.less isn't showing up under the menu option though.

This will work for me for now, but of course I will likely lose my changes whenever I update your package

UPDATE AGAIN:

It helps if you read all of the readme, my apologies, followed your instructions and everything works like a charm, nice way of handling things!

(I'm pretty sure my atom instance is breaking when it comes to package settings at the moment, half my packages aren't reachable from within atom)

Terminal window is cut

See the screenshot:
2015-09-20-164841_604x349_scrot

Repro steps:

  1. Open terminal window
  2. Resize the atom window to smaller and smaller
  3. The terminal is not size responsible, the bottom of terminal window is cut

zsh: command not found

I'm trying to use this terminal in a Rails project and when I run any command like:

bundle exec rails server
bundle install

I get somethin like:
zsh: command not found: bundle

If I run rails server without bundler I get
/usr/bin/env: ruby: No such file or directory

As you can see I also use oh-my-zsh.

Any ideas?

Uncaught TypeError: path.dirname is not a function

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.0.19
System: Mac OS X 10.11
Thrown From: terminal-plus package, v0.6.1

Stack Trace

Uncaught TypeError: path.dirname is not a function

At /Users/darius/.atom/packages/terminal-plus/lib/view.coffee:81

TypeError: path.dirname is not a function
  at TerminalPlusView.module.exports.TerminalPlusView.forkPtyProcess (/Users/darius/.atom/packages/terminal-plus/lib/view.coffee:81:23)
  at TerminalPlusView.module.exports.TerminalPlusView.displayTerminal (/Users/darius/.atom/packages/terminal-plus/lib/view.coffee:96:20)
  at /Users/darius/.atom/packages/terminal-plus/lib/view.coffee:185:10
  at HTMLDivElement.<anonymous> (/Users/darius/.atom/packages/terminal-plus/lib/view.coffee:376:7)
  at HTMLDivElement.fn (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4855:19)
  at HTMLDivElement.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4435:9)
  at HTMLDivElement.elemData.handle (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4121:28)

Commands

     -5:44.5.0 core:move-down (atom-text-editor.editor.is-focused)
     -5:44.1.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
     -5:44.1.0 snippets:expand (atom-text-editor.editor.is-focused)
     -5:44.1.0 editor:indent (atom-text-editor.editor.is-focused)
     -5:43.9.0 core:move-down (atom-text-editor.editor.is-focused)
     -5:43.4.0 core:move-up (atom-text-editor.editor.is-focused)
     -5:43.2.0 core:move-down (atom-text-editor.editor.is-focused)
     -5:42.4.0 core:move-right (atom-text-editor.editor.is-focused)
     -5:41.9.0 core:move-left (atom-text-editor.editor.is-focused)
  2x -5:40.4.0 core:backspace (atom-text-editor.editor.is-focused)
  2x -5:39 core:save (atom-text-editor.editor.is-focused)
     -5:33.1.0 terminal-plus:new (atom-text-editor.editor.is-focused)
     -4:11 line-ending-selector:show (atom-text-editor.editor.is-focused)
     -4:09.5.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -4:09.5.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -0:02.8.0 terminal-plus:new (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "excludeVcsIgnoredPaths": false
  },
  "terminal-plus": {
    "core": {},
    "style": {},
    "toggles": {
      "autoClose": true,
      "cursorBlink": false
    }
  }
}

Installed Packages

# User
atom-beautify, v0.28.14
terminal-plus, v0.6.1

# Dev
No dev packages

Process Titles gets stuck

I was able to repeat this bug by doing the following:

  1. Add three new tabs
  2. While hovering on one of the terminal tabs wait for the title to show up.
  3. Right click on the terminal and close it.
  4. The title will remain and drive you mad... You will need to restart Atom.

Atom Version: 1.0.19
Plugin Version: 0.11.1
OS: Mac

Image of the annoying SSH tip

terminal automatically closing

When I try to open up the terminal the pane slides open, something is printed and then slides shut again. I can't see what exactly but I expect some kind of error.

Just a quick thanks!

This isn't an issue, I just wanted to let you know that I've been searching a long time for the right terminal integration for Atom and this one seems to be the one I've been waiting for! I've tried several before and there was always something that kept me from continuing to use them, so I thought I'd pop in here to quickly say thanks for finally making one that actual works like the regular Terminal app!

scroll up does not work

I can't scroll up to see previous commands and output.
I can scoll up while a command is running for example rake and when the command is finished it freezes where It was and can't go down.
Ubuntu 14.04
Atom: 1.0.11
Terminal-plus: 0.4.2

Name the terminals

Could it be possible to name the terminals so it will be possible to see what they are doing?

screenshot from 2015-09-16 11 41 53

Resizing Broken in 0,10,0

Hi.

The latest version 0,10,0 has broken the ability to resize the terminal window by dragging.

[OSX 10,9,5. Atom 1,0,190]

Can't clear sceen

Not really an issue, more of a feature request.

It would be great to add a shortcut to clear the screen, ie: cmd-k to clear the screen

For example, if I am in a rails console, I can't use clear, so the shortcut would be great in such a scenario

Thank you

Extended characters don't display correctly

There seem to be some problems with extended/accentuated characters in terminal-plus (latest version on latest Atom). I'm reporting all of them here as I assume they may all be somehow related.

  1. Prompts using Powerline characters don't display correctly. Here's what my prompt (using agnoster theme from oh my zsh looks like in iTerm 2 :

    capture d ecran 2015-10-06 a 14 42 44

    and in terminal-plus:

    capture d ecran 2015-10-06 a 14 42 11

    It seems that terminal-plus can't display the final > character (which is a special symbol, requiring a font patched for Powerline). Weird enough, I can run vim in terminal-plus and the same character displays almost perfectly :

    vim in terminal plus

  2. Some characters can't be entered at the prompt. On a simple Bash prompt (which doesn't show the zsh prompt bug explained above) :

    • é, è, | (pipe character, option-shift-l), can't be entered. They display nothing and the cursor remains at its current position. { and } have the same problem.
    • ê (which on my keyboard is composed with a dead key : ^+e) simply prints e.
    • ~ (option-n) clears the current line and prints : when typed for the first time at the current prompt, then ^[n the next times.

When not at a prompt, those of these characters which are composed with a single key (requiring neither a dead key, nor a combination including a modifier) usually display perfectly : é, and è display correctly when typed in cat called without parameters, or vim, but not in ex).

All of these characters display perfectly when printed (and not typed) by some program:

capture d ecran 2015-10-06 a 15 03 38

As this is likely to have to do with input methods (maybe related to #14 ?), here's a short summary of the characters I've been testing with and the key combinations required to enter them.

Character  Key combination Behavior at prompt Behavior in vim/cat
é, è, à  é, è, à Prints nothing Correctly prints é, è or à
ê  ^, e Incorrectly prints e Incorrectly prints e
option-shift-L clears line and prints ":", then prints ^[n
~ option-n Prints nothing Prints nothing
{, }  option-5, option-° Prints nothing Prints nothing

Also notice that with the buggy zsh prompt, é, à and the like (single-key accentuated characters) print hexadecimal combinations: Here I keep typing éèà:

capture d ecran 2015-10-06 a 15 18 40

I'm using OS X 10.11 (El Capitan) with a French Apple keyboard mapping.

Really sorry about the very long report, I've been trying to be exhaustive. And thanks a lot for terminal-plus — despite these problems, it's already an excellent package (I was impressed it can run vim!) which provides a really fundamental feature in a modern text editor.

Find in terminal

Would be awesome if you can enable a find method inside the terminal

the cmd-f is bound to finding in atom itself, rather than the terminal

Fail to install into ATOM

i'm attemping to install you packge but i got some error.... look the output below:

Installing “[email protected]” failed.Hide output…

[email protected] install /tmp/apm-install-dir-115810-7379-150zpvb/node_modules/terminal-plus/node_modules/pty.js
node-gyp rebuild

make: Entering directory /tmp/apm-install-dir-115810-7379-150zpvb/node_modules/terminal-plus/node_modules/pty.js/build' CXX(target) Release/obj.target/pty/src/unix/pty.o make: Leaving directory/tmp/apm-install-dir-115810-7379-150zpvb/node_modules/terminal-plus/node_modules/pty.js/build'

make: g++: Command not found
make: *** [Release/obj.target/pty/src/unix/pty.o] Error 127
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Linux 3.13.0-62-generic
gyp ERR! command "node" "/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-115810-7379-150zpvb/node_modules/terminal-plus/node_modules/pty.js
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
npm ERR! Linux 3.13.0-62-generic
npm ERR! argv "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/myuser/.atom/.apm/.apmrc" "--userconfig" "/home/myuser/.atom/.apmrc" "install" "/tmp/d-115810-7379-1idt3og/package.tgz" "--target=0.22.0" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm v2.13.3
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the pty.js package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls pty.js
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /tmp/apm-install-dir-115810-7379-150zpvb/npm-debug.log

Different command line and command prompt text colours?

Does terminal-plus provide the means to display different colours for the command prompt text e.g. host:path:user$ and the command line text e.g. emacs -q --no-splash -f doctor? I know the text colour can be changed outright, and perhaps I'm missing an option already there, but I'd like to be able to have both these text segments different colours to tone down things a little.

(Seriously though, it would be great to have command line text and command prompt text different colours!)

Search in for Terminal

I sometimes have to scroll through a lot in the terminal. It would be most helpful if we can do search in the terminal.

login : wrong option -- 'q'

After open the terminal the next message shows:

"
login: wrong option -- 'q'
Use: login [-p] [-h ] [-H ] [[-f] ]

Start a sesion in the system

cd ...
"

After that i'm not able to write if i click on it an error appear. I have default options

Uncaught TypeError: Cannot read property '0' of undefined

Atom Version: 1.0.11
System: Linux Mint
Thrown From: terminal-plus package, v0.1.3

Stack Trace

Uncaught TypeError: Cannot read property '0' of undefined

At /home/alex/.atom/packages/terminal-plus/node_modules/term.js/src/term.js:1307

TypeError: Cannot read property '0' of undefined
  at Terminal.refresh (/home/alex/.atom/packages/terminal-plus/node_modules/term.js/src/term.js:1307:18)
  at Terminal.showCursor (/home/alex/.atom/packages/terminal-plus/node_modules/term.js/src/term.js:1433:10)
  at Terminal.focus (/home/alex/.atom/packages/terminal-plus/node_modules/term.js/src/term.js:474:8)
  at TerminalPlusView.module.exports.TerminalPlusView.focusTerminal (/home/alex/.atom/packages/terminal-plus/lib/view.coffee:295:15)
  at /home/alex/.atom/packages/terminal-plus/lib/view.coffee:188:10
  at HTMLDivElement.<anonymous> (/home/alex/.atom/packages/terminal-plus/lib/view.coffee:325:7)
  at HTMLDivElement.fn (/usr/share/atom/resources/app.asar/node_modules/jquery/dist/jquery.js:4855:19)
  at HTMLDivElement.jQuery.event.dispatch (/usr/share/atom/resources/app.asar/node_modules/jquery/dist/jquery.js:4435:9)
  at HTMLDivElement.elemData.handle (/usr/share/atom/resources/app.asar/node_modules/jquery/dist/jquery.js:4121:28)

Commands

     -7:41.4.0 core:backspace (atom-text-editor.editor.is-focused)
     -7:35.3.0 core:save (atom-text-editor.editor.is-focused)
     -4:51.7.0 core:backspace (atom-text-editor.editor.is-focused)
     -2:59.4.0 core:save (atom-text-editor.editor.is-focused)
     -1:44.3.0 core:copy (atom-text-editor.editor.is-focused)
     -1:33.5.0 core:paste (atom-text-editor.editor.is-focused)
     -1:16.8.0 core:copy (atom-text-editor.editor.is-focused)
     -1:12.7.0 editor:newline (atom-text-editor.editor.is-focused)
     -1:12.4.0 core:paste (atom-text-editor.editor.is-focused)
  2x -0:57.5.0 core:save (atom-text-editor.editor.is-focused)

Config

{
  "core": {},
  "terminal-plus": {
    "core": {},
    "style": {}
  }
}

Installed Packages

# User
react, v0.12.6
react-snippets, v0.2.0
terminal-plus, v0.1.3

# Dev
No dev packages

Uncaught Error: channel closed

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.0.19
System: Microsoft Windows 10 Enterprise
Thrown From: terminal-plus package, v0.12.1

Stack Trace

Uncaught Error: channel closed

At events.js:141

Error: channel closed
    at ChildProcess.target.send (internal/child_process.js:483:26)
    at Task.module.exports.Task.send (C:\Users\johand\AppData\Local\atom\app-1.0.19\resources\app.asar\src\task.js:118:27)
    at TerminalPlusView.module.exports.TerminalPlusView.input (C:\Users\johand\.atom\packages\terminal-plus\lib\view.coffee:241:17)
    at Terminal.<anonymous> (C:\Users\johand\.atom\packages\terminal-plus\lib\view.coffee:143:8)
    at Terminal.EventEmitter.emit (C:\Users\johand\.atom\packages\terminal-plus\node_modules\term.js\src\term.js:109:12)
    at Terminal.handler (C:\Users\johand\.atom\packages\terminal-plus\node_modules\term.js\src\term.js:3202:8)
    at Terminal.keyPress (C:\Users\johand\.atom\packages\terminal-plus\node_modules\term.js\src\term.js:2955:8)
    at HTMLDocument.<anonymous> (C:\Users\johand\.atom\packages\terminal-plus\node_modules\term.js\src\term.js:604:29)

Commands

Config

{
  "core": {
    "themes": [
      "seti-ui-red",
      "one-dark-syntax"
    ],
    "autoHideMenuBar": true
  },
  "terminal-plus": {
    "core": {},
    "style": {}
  }
}

Installed Packages

# User
angularjs, v0.3.3
atom-jasmine, v0.6.0
autocomplete-angular-material, v0.4.0
emmet, v2.3.13
file-icons, v1.6.11
grunt-runner, v0.11.0
language-powershell, v2.1.0
language-SCSS, v0.4.0
minimap, v4.15.0
seti-ui-red, v0.13.0
terminal-plus, v0.12.1

# Dev
No dev packages

Could be nice to add direct calling to the REPLs

First of all, it's really nice to have a terminal running down on the screen. However, it would be really convenient if I can directly open the REPLs (python, ruby, etc.), like SublimeRepl, and not have to type the instruction into the terminal itself.

High scrolling speed in terminal window

Scrolling speed is very high. it's definitely higher than my terminal app speed.
both terminal app and terminal plus is using /bin/bash

Mac OS X 10.10.5
Atom 1.0.19
Terminal-plus 0.6.5

terminal toolbar leak

I use zsh as the terminal and it startups very slow, and sometimes maybe I double clicked those terminal icons without awareness, then create a new terminal, but some bugs happened... some terminal icon couldn't open but can be removed by contextmenu, but I find there are two toolbar in my terminal and sometimes there could be two terminal opened at the same time.

image

Applying themes?

How does one apply the themes that are in the repo? I can't seem to find the instructions anywhere - I've even tried dropping some less/css into my Atom Stylesheet - but that didn't change anything.

Thanks!

Output is cut

Well, hi again. I have a new issue, the output of the terminal it's out of terminal.

Edit: It happens with full screen too.

captura de pantalla de 2015-09-11 12-00-17

xcode error after osx update

I got this rebuild error after osx update (yosemite 10.10.5):

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

make: *** No rule to make target ../../../../../../../../Applications/Atom', needed byMakefile'. Stop.
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Applications/Atom 2.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "node" "/Applications/Atom 2.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/Joke/.atom/packages/terminal-plus/node_modules/pty.js
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok

npm ERR! Darwin 14.5.0
npm ERR! argv "/Applications/Atom 2.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom 2.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/Joke/.atom/.apm/.apmrc" "--userconfig" "/Users/Joke/.atom/.apmrc" "rebuild" "--target=0.30.7" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm v2.13.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the pty.js package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls pty.js
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/Joke/.atom/packages/terminal-plus/npm-debug.log

how can I change the default terminal?

I'm on a Windows machine, so terminal-plus defaults to using Windows Powershell. I have Git Bash installed on this machine and I'd like to use that as my terminal instead. How can I achieve this? There's no mention of this scenario in the docs.

Thanks!

Terminal does not work with IME

On Linux with IBus/Anthy, it isn't possible to type Japanese characters in the terminal. Presumably other languages that require an IME also don't work, and I would assume the same problem exists on Windows and OS X.

shortkey to send to terminal

Is there an option to select a line of code and then send it to the active terminal with a shortkey (eg. Ctrl-Enter) instead of copy-pasting all the time?
That would be great :)

Signaling (Ctrl+c) doesn't work for busy process

Hi, @jeremyramin.

when I exec a busy foreground process (e.g. cat /dev/zero) from terminal-plus,
then signaling with Ctrl+c becomes not working.

  • Ctrl+z works (but not good responce and sometimes it doesn't work).
  • Ctrl+c to not busy process (like less or top) works.

Atom Version: 1.1.0-beta.0-ad60d7b
Terminal-plus Version: 0.11.1
OS: Ubuntu

This might be most critical issue for me to use terminal-plus as my main console...
If you need further information to analize this, please require for me.
Thanks.

terminal does not honor color codes

Platform: Windows

When I run rspec the colorized output is not honored. Instead, the color codes are printed directly.
Despite this issue, this is a really great plugin. Thank you :)

Example

Finished in 0.95106 seconds (files took 4.29 seconds to load)
←[32m272 examples, 0 failures←[0m

Pty.js (actually is winpty) build fail on windows machine

I'm using Windows 10 64bit with Visual Studio 2015 Ent.

Terminal-plus doesn't work because it failed to build pty.js. When trying to build pty.js manually using node-gyp rebuild, it keeps fail on winpty. That winpty is really really old.

Can this be fixed?

Windows - Atom 1.0.11 OK - Atom 1.0.13 Not working

Hey,

Awesome Package :-)

Anyway, doesn't work on 1.0.13 as I am assuming that the native pty.js module would have to be rebuilt for IO.js 2.3.1 ... Ironically Atom says that it rebuilt it, but then it still doesn't work.

Thanks !!

Uncaught TypeError: Cannot read property 'focus' of null

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.0.11
System: Mac OS X 10.10.5
Thrown From: terminal-plus package, v0.1.2

Stack Trace

Uncaught TypeError: Cannot read property 'focus' of null

At /Users/yasaricli/.atom/packages/terminal-plus/lib/view.coffee:202

TypeError: Cannot read property 'focus' of null
  at /Users/yasaricli/.atom/packages/terminal-plus/lib/view.coffee:202:26
  at HTMLDivElement.<anonymous> (/Users/yasaricli/.atom/packages/terminal-plus/lib/view.coffee:324:7)
  at HTMLDivElement.fn (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4855:19)
  at HTMLDivElement.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4435:9)
  at HTMLDivElement.elemData.handle (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4121:28)

Commands

     -4:53 application:add-project-folder (atom-text-editor.editor.is-focused)

Config

{
  "core": {}
}

Installed Packages

# User
color-picker, v2.0.11
docs-snippets, v0.8.0
linter-jshint, v1.1.4
minimap, v4.13.3
pigments, v0.14.0
terminal-plus, v0.1.2

# Dev
No dev packages

Uncaught Error: Cannot send message to terminated process

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.0.19
System: Mac OS X 10.11
Thrown From: terminal-plus package, v0.7.0

Stack Trace

Uncaught Error: Cannot send message to terminated process

At /Applications/Atom.app/Contents/Resources/app.asar/src/task.js:120

Error: Cannot send message to terminated process
  at Task.module.exports.Task.send (/Applications/Atom.app/Contents/Resources/app.asar/src/task.js:120:15)
  at TerminalPlusView.module.exports.TerminalPlusView.resize (/Users/asensio/.atom/packages/terminal-plus/lib/view.coffee:226:17)
  at TerminalPlusView.module.exports.TerminalPlusView.resizeTerminalToView (/Users/asensio/.atom/packages/terminal-plus/lib/view.coffee:357:6)
  at TerminalPlusView.module.exports.TerminalPlusView.focus (/Users/asensio/.atom/packages/terminal-plus/lib/view.coffee:341:6)
  at HTMLDivElement.<anonymous> (/Users/asensio/.atom/packages/terminal-plus/lib/view.coffee:1:1)
  at HTMLDivElement.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4435:9)
  at HTMLDivElement.elemData.handle (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4121:28)

Commands

     -1:57.7.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.is-focused)
  4x -1:51.1.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -1:50 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -1:50 core:cancel (atom-text-editor.editor.mini.is-focused)
     -1:44.1.0 project-manager:list-projects (atom-text-editor.editor.is-focused)
     -1:42.7.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -1:42.4.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -1:27.3.0 terminal-plus:toggle (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -0:38.6.0 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-atom-dark-ui)
  2x -0:38.3.0 tree-view:reveal-active-file (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-atom-dark-ui)

Config

{
  "core": {
    "projectHome": "/Users/asensio/projects",
    "themes": [
      "atom-dark-ui",
      "one-dark-syntax"
    ]
  }
}

Installed Packages

# User
angularjs, v0.3.2
autoclose-html, v0.19.0
background-tips, v0.26.0
color-picker, v2.0.13
language-ansible, v0.1.3
language-java, v0.16.0
language-javascript, v0.96.0
language-php, v0.30.0
language-sql, v0.17.0
language-todo, v0.27.0
project-manager, v2.6.1
synced-sidebar, v0.4.2
terminal-plus, v0.7.0

# Dev
No dev packages

Crash on load after updating to latest version

Cannot read property 'scripts' of null in C:\Users\blubaj.atom\packages\terminal-plus\package.json
Hide Stack Trace
TypeError: Cannot read property 'scripts' of null
at normalize (C:\Users\blubaj\AppData\Local\atom\app-1.0.19\resources\app.asar\node_modules\normalize-package-data\lib\normalize.js:25:11)
at Function.module.exports.Package.normalizeMetadata (C:\Users\blubaj\AppData\Local\atom\app-1.0.19\resources\app.asar\src\package.js:50:9)
at Function.module.exports.Package.loadMetadata (C:\Users\blubaj\AppData\Local\atom\app-1.0.19\resources\app.asar\src\package.js:70:18)
at PackageManager.module.exports.PackageManager.loadPackage (C:\Users\blubaj\AppData\Local\atom\app-1.0.19\resources\app.asar\src\package-manager.js:388:39)
at PackageManager.module.exports.PackageManager.loadPackages (C:\Users\blubaj\AppData\Local\atom\app-1.0.19\resources\app.asar\src\package-manager.js:369:14)
at Atom.module.exports.Atom.startEditorWindow (C:\Users\blubaj\AppData\Local\atom\app-1.0.19\resources\app.asar\src\atom.js:667:21)
at Object. (C:\Users\blubaj\AppData\Local\atom\app-1.0.19\resources\app.asar\src\window-bootstrap.js:12:8)
at Object. (C:\Users\blubaj\AppData\Local\atom\app-1.0.19\resources\app.asar\src\window-bootstrap.js:23:4)
at Module._compile (module.js:428:26)
at Object.defineProperty.value as .js
at Module.load (module.js:353:32)
at Function.Module._load (module.js:308:12)
at Module.require (module.js:363:17)
at require (module.js:382:17)
at setupWindow (file:///C:/Users/blubaj/AppData/Local/atom/app-1.0.19/resources/app.asar/static/index.js:82:25)
at window.onload (file:///C:/Users/blubaj/AppData/Local/atom/app-1.0.19/resources/app.asar/static/index.js:35:9)
at C:\Users\blubaj.atom\packages\terminal-plus\package.json:1:1

Uncaught Error: Cannot send message to terminated process

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.0.19
System: Mac OS X 10.11
Thrown From: terminal-plus package, v0.8.2

Stack Trace

Uncaught Error: Cannot send message to terminated process

At /Applications/Atom.app/Contents/Resources/app.asar/src/task.js:120

Error: Cannot send message to terminated process
  at Task.module.exports.Task.send (/Applications/Atom.app/Contents/Resources/app.asar/src/task.js:120:15)
  at TerminalPlusView.module.exports.TerminalPlusView.resize (/Users/jibreel/.atom/packages/terminal-plus/lib/view.coffee:223:6)
  at TerminalPlusView.module.exports.TerminalPlusView.resizeTerminalToView (/Users/jibreel/.atom/packages/terminal-plus/lib/view.coffee:350:5)
  at TerminalPlusView.module.exports.TerminalPlusView.focus (/Users/jibreel/.atom/packages/terminal-plus/lib/view.coffee:329:20)
  at HTMLDivElement.<anonymous> (/Users/jibreel/.atom/packages/terminal-plus/lib/view.coffee:1:1)
  at HTMLDivElement.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4435:9)
  at HTMLDivElement.elemData.handle (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4121:28)

Commands

 10x -2:36.1.0 core:backspace (atom-text-editor.editor.is-focused)
     -2:32.5.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
     -2:26.6.0 core:save (atom-text-editor.editor.is-focused)
     -2:07.0 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)

Config

{
  "core": {}
}

Installed Packages

# User
color-picker, v2.0.13
file-icons, v1.6.10
latex, v0.26.0
tabs-to-spaces, v0.11.1
terminal-plus, v0.8.2

# Dev
No dev packages

Failed to activate the terminal-plus package

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.0.19
System: Mac OS X 10.11
Thrown From: terminal-plus package, v0.11.1

Stack Trace

Failed to activate the terminal-plus package

At Cannot find module 'space-pen'

Error: Cannot find module 'space-pen'
    at Module._resolveFilename (module.js:334:15)
    at Function.Module._resolveFilename (/Applications/Atom.app/Contents/Resources/app.asar/src/module-cache.js:383:52)
    at Function.Module._load (module.js:284:25)
    at Module.require (module.js:363:17)
    at require (module.js:382:17)
    at Object.<anonymous> (/Users/jheneknights/.atom/packages/terminal-plus/node_modules/atom-space-pen-views/lib/main.js:4:10)
    at Object.<anonymous> (/Users/jheneknights/.atom/packages/terminal-plus/node_modules/atom-space-pen-views/lib/main.js:22:4)
    at Module._compile (module.js:428:26)
    at Object.defineProperty.value [as .js] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:169:21)
    at Module.load (module.js:353:32)
    at Function.Module._load (module.js:308:12)
    at Module.require (module.js:363:17)
    at require (module.js:382:17)
    at Object.<anonymous> (/Users/jheneknights/.atom/packages/terminal-plus/lib/status-bar.coffee:2:13)
    at Object.<anonymous> (/Users/jheneknights/.atom/packages/terminal-plus/lib/status-bar.coffee:1:1)
    at Module._compile (module.js:428:26)

Commands

Config

{
  "core": {
    "disabledPackages": [
      "atom-terminal-panel",
      "wrap-guide",
      "markdown-format"
    ],
    "themes": [
      "one-dark-ui",
      "sepia-syntax"
    ]
  }
}

Installed Packages

# User
atom-beautify, vundefined
atom-jade, v0.3.0
autocomplete-php, v0.3.7
color-picker, v2.0.13
editorconfig, v1.2.0
file-icons, v1.6.10
file-type-icons, v0.7.3
go-plus, v3.5.1
go-runtime, v0.2.0
jsformat, v0.9.0
jshint, v1.8.1
language-docker, v1.1.3
language-mongodb, v0.2.0
language-protobuf, v0.5.0
linter, v1.8.1
linter-golinter, v1.0.0
linter-php, v1.0.5
minimap, v4.13.4
pigments, v0.18.0
pretty-json, v0.4.1
sepia-syntax, v1.0.5
terminal-panel, v1.14.1
terminal-plus, v0.11.1
travis-ci-status, v0.18.0
wakatime, v5.0.0

# Dev
No dev packages

Incompatible Node Dependency with Latest Atom

Latest version of Atom ships with Node 1.5.1 and Chrome 41.0.2272.76, quite a major increment. Unfortunately Terminal-Plus isn't compatible with this latest release.

Terminal Plus 0.6.0
Listed below are the incompatible native modules that this package depends on.

[email protected]
Error message: Module version mismatch. Expected 43, got 44.

Hidden prompt

on Mac prompt is hidden under "status bar" (not initially, but run any grunt/gulp task and stop it using CTRL-C). You do e.g "ls" see content of folder but prompt is not visible
zrzut ekranu 2015-09-25 o 09 34 10

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.