GithubHelp home page GithubHelp logo

fusion809 / terminal-fusion Goto Github PK

View Code? Open in Web Editor NEW

This project forked from platformio/platformio-atom-ide-terminal

24.0 24.0 1.0 5.24 MB

[NO LONGER MAINTAINED] Former terminal-fusion package for LINUX

Home Page: https://atom.io/packages/terminal-fusion

License: Other

CoffeeScript 86.67% CSS 13.33%
atom atom-editor atom-packages linux terminal-emulators

terminal-fusion's People

Contributors

dmytrokyrychuk avatar fusion809 avatar ivankravets avatar jeremyramin avatar jhanschoo avatar markoradak 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

Watchers

 avatar  avatar

Forkers

babelchips

terminal-fusion's Issues

terminal in side pane

Hi, great package, I was trying to run R in Atom (in Linux) and this is the only package that finally worked out. I just wanted to ask whether is possible to set the terminal pane in a different tab or at least to the right instead of below.
Thanks,
jc

Broken AltGr keystrokes?

Description

It can't enter characters such as ~ or @ in the terminal. In fact, all characters obtained by a AltGr keystroke are broken.

Note that I have a french keyboard, so I installed the keyboard-localization plugin and configured it with a fr_FR layout. With that setup, I can perfectly enter those characters in the editor views.

Steps to Reproduce

Type AltGr + 0: nothing appear. A @ character should appear.

Versions

$ atom -version
Atom    : 1.10.2
Electron: 1.4.1
Chrome  : 53.0.2785.113
Node    : 6.5.0

$ apm -version
apm  1.12.7
npm  3.10.8
node 6.7.0
python 2.7.12
git 2.10.0

$ uname -r
4.7.5-1-ARCH

Executing Commands Via API

Prerequisites

Not a bug, but I've done all these.

Description

I'd like to add functionality for another package (d-struct) for executing a command in this terminal. I would also be interested to know if the way to do this would also work with the platformio terminal, so that the feature would be cross-platform.
Basically what I've got is an extension that runs a command that ends up opening a new system terminal. I'd like the output there to pop up in a new terminal-fusion (or platformio terminal) instead (or rather, if a config option was specified). Does anyone know how I would go about doing this?

Installing “[email protected]” failed...

MY CONFIG:

  • Atom : 1.12.5
  • Electron: 1.3.9
  • Chrome : 52.0.2743.82
  • Node : 6.5.0
  • apm 1.12.9
  • npm 3.10.5
  • node 4.4.5
  • python 2.7.12
  • git 2.7.4
  • OS Linux Mint 18 Cinnamon (4.4.0-47-generic)

INSTALLATION ERROR MESSAGE FROM ATOM:

Installing “[email protected]” failed...

> [email protected] install /tmp/apm-install-dir-1161022-14825-137mzne/node_modules/terminal-fusion/node_modules/pty.js
> node-gyp rebuild

make: Entering directory '/tmp/apm-install-dir-1161022-14825-137mzne/node_modules/terminal-fusion/node_modules/pty.js/build'
  CXX(target) Release/obj.target/pty/src/unix/pty.o
pty.target.mk:94: recipe for target 'Release/obj.target/pty/src/unix/pty.o' failed
make: Leaving directory '/tmp/apm-install-dir-1161022-14825-137mzne/node_modules/terminal-fusion/node_modules/pty.js/build'
/tmp/apm-install-dir-1161022-14825-137mzne
└── (empty)


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/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 4.4.0-47-generic
gyp ERR! command "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/.bin/node-gyp" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-1161022-14825-137mzne/node_modules/terminal-fusion/node_modules/pty.js
gyp ERR! node -v v4.4.5
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok 
npm WARN enoent ENOENT: no such file or directory, open '/tmp/apm-install-dir-1161022-14825-137mzne/package.json'
npm WARN apm-install-dir-1161022-14825-137mzne No description
npm WARN apm-install-dir-1161022-14825-137mzne No repository field.
npm WARN apm-install-dir-1161022-14825-137mzne No README data
npm WARN apm-install-dir-1161022-14825-137mzne No license field.
npm ERR! Linux 4.4.0-47-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/mvo/.atom/.apm/.apmrc" "--userconfig" "/home/mvo/.atom/.apmrc" "install" "/tmp/d-1161022-14825-5g2lpy/package.tgz" "--runtime=electron" "--target=1.3.9" "--arch=x64" "--global-style"
npm ERR! node v4.4.5
npm ERR! npm  v3.10.5
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! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, 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 information on how to open an issue for this project with:
npm ERR!     npm bugs pty.js
npm ERR! Or if that isn't available, 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-1161022-14825-137mzne/npm-debug.log
npm ERR! code 1

npm-debug.log was not created and, therefore not available to include in this support request.

Keybindings and focus by the terminal

I've just installed terminal-fusion, great project !

I'm customizing a bit and changing a few keybindings in my keymap.cson. Problem is, the bindings work until a terminal gets focus (eg. by a switch if I move from one pane to another). If the terminal has focus, I'm unable to make the bindings work.

Here's my keymap.cson

'body,
 atom-text-editor,
 atom-workspace,
 .workspace,
 .editor,
 .tree-view':
  'ctrl-`': 'terminal-fusion:toggle'
  'ctrl-shift-enter': 'terminal-fusion:fullscreen'
  'ctrl-shift-`': 'terminal-fusion:new'
  'ctrl-shift-x': 'terminal-fusion:close'
  'ctrl-alt-right': 'terminal-fusion:next'
  'ctrl-alt-left': 'terminal-fusion:prev'
  'ctrl-left': 'pane:show-previous-item'
  'ctrl-right': 'pane:show-next-item'

Actually some of them works inside the terminal like 'terminal-fusion:new' and 'terminal-fusion:close' but nothing else.

$ atom --version
Atom    : 1.18.0
Electron: 1.4.16
Chrome  : 53.0.2785.143
Node    : 6.5.0
$ apm --version
apm  1.18.3
npm  5.3.0
node 8.4.0 x64
python 2.7.13
git 2.14.1
$ uname -r
4.12.6-1-ARCH

Change the cursor between the text and the terminal

Thanks for developing this package for atom. It's really very useful.
I would like to suggest an improvement, if you allow me. Sometimes I need to change the cursor between the text (or script) and the terminal. I use the mouse to do this. There is a possibility of to create a keyboard shortcut for this task? Maybe using Ctrl + 1 or Ctrl + 2.

Terminal hangs when opened

Can you tell me how to provide debug information?

When I invoke the terminal, I just see a terminal cursor that never drops into a shell.

Error: Node-gyp rebuild!

[email protected] install C:\Users\lednh\AppData\Local\Temp\apm-install-dir-116818-5124-1sbvn4o\node_modules\terminal-fusion\node_modules\pty.js
node-gyp rebuild

C:\Users\lednh\AppData\Local\Temp\apm-install-dir-116818-5124-1sbvn4o\node_modules\terminal-fusion\node_modules\pty.js>if not defined npm_config_node_gyp (node "C:\Users\lednh\AppData\Local\atom\app-1.10.2\resources\app\apm\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\lednh\AppData\Local\atom\app-1.10.2\resources\app\apm\bin..\node_modules\node-gyp\bin\node-gyp.js" rebuild )
C:\Users\lednh\AppData\Local\Temp\apm-install-dir-116818-5124-1sbvn4o
`-- (empty)

gyp: deps\winpty\winpty.gyp not found (cwd: C:\Users\lednh\AppData\Local\Temp\apm-install-dir-116818-5124-1sbvn4o\node_modules\terminal-fusion\node_modules\pty.js) while loading dependencies of binding.gyp while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (C:\Users\lednh\AppData\Local\atom\app-1.10.2\resources\app\apm\node_modules\node-gyp\lib\configure.js:305:16)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command "C:\Users\lednh\AppData\Local\atom\app-1.10.2\resources\app\apm\bin\node.exe" "C:\Users\lednh\AppData\Local\atom\app-1.10.2\resources\app\apm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\lednh\AppData\Local\Temp\apm-install-dir-116818-5124-1sbvn4o\node_modules\terminal-fusion\node_modules\pty.js
gyp ERR! node -v v4.4.5
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\lednh\AppData\Local\Temp\apm-install-dir-116818-5124-1sbvn4o\package.json'
npm WARN apm-install-dir-116818-5124-1sbvn4o No description
npm WARN apm-install-dir-116818-5124-1sbvn4o No repository field.
npm WARN apm-install-dir-116818-5124-1sbvn4o No README data
npm WARN apm-install-dir-116818-5124-1sbvn4o No license field.
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\Users\lednh\AppData\Local\atom\app-1.10.2\resources\app\apm\bin\node.exe" "C:\Users\lednh\AppData\Local\atom\app-1.10.2\resources\app\apm\node_modules\npm\bin\npm-cli.js" "--globalconfig" "C:\Users\lednh.atom.apm.apmrc" "--userconfig" "C:\Users\lednh.atom.apmrc" "install" "C:\Users\lednh\AppData\Local\Temp\d-116818-5124-cganjg\package.tgz" "--runtime=electron" "--target=0.37.8" "--arch=ia32" "--global-style" "--msvs_version=2015"
npm ERR! node v4.4.5
npm ERR! npm v3.10.5
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! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, 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 information on how to open an issue for this project with:
npm ERR! npm bugs pty.js
npm ERR! Or if that isn't available, 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! C:\Users\lednh\AppData\Local\Temp\apm-install-dir-116818-5124-1sbvn4o\npm-debug.log
npm ERR! code 1

Failed to require the main module of 'terminal-fusion'

Description

terminal-fusion refuses to load for me. In "Packages" it shows up as installed, but without a settings-button. Also it can't be opened and the commands don't show up in Atoms command palette.

In Atom Dev Tools I get the following error:

/usr/lib/atom/src/package.js:739
Failed to require the main module of 'terminal-fusion' because it requires one or 
more incompatible native modules (build).
Run `apm rebuild` in the package directory and restart Atom to resolve.

I tried this rebuild and got only a minor warning. I restarted Atom, but it didn't change anything.

[holger@Cioran terminal-fusion]$ pwd
/home/holger/.atom/packages/terminal-fusion
[holger@Cioran terminal-fusion]$ apm rebuild
(node:2787) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
Rebuilding modules ✓
[holger@Cioran terminal-fusion]$

I also searched for similar errors, in this repo and in google, but I didn't find something.

Versions

Atom:

Atom    : 1.12.9
Electron: 1.4.13
Chrome  : 53.0.2785.143
Node    : 6.5.0

OS:

Up-to-date Arch Linux (Antergos Distribution)
With Kernel 4.8.0-mainline

EDIT: Don't know, if it's of interest: but before I found terminal-fusion, I also installed and removed the similar packages terminal-plus (loaded, but didn't work correctly) and platformio-ide-terminal (like terminal-fusion, it was not loaded, but I didn't investigate for error messages).

Can not use Ctrl-c for copying or Ctrl-v for pasting.

Prerequisites

  • Does this error occur on Linux? If you are using another operating system, please note that this package is only for Linux platforms! If you are using another operating system please use the upstream package, platformio-ide-terminal.

Yes. I am using Linux Mint 18.1, 64bit Cinammon.

Yes. Atom and all packages updated yesterday. (See version log below.)

  • Did you search through the previously reported issues reported for this repository?

There are just three issues for this repository. None relating to the issue described.

Description

I'd like to do copy/paste with the canonical 'Ctrl-c' and 'Ctrl-v' shortcuts. My Linux shell profile is actually adapted to allow those key combination instead of the default Ctrl-Alt-c or Ctrl-Alt-v. Yet, I can not do this with terminal-plus.

Steps to Reproduce

  1. Atom > Preferences > Packages > terminal-fusion > Under 'Keybindings' 'Enable' unchecked ()
  2. keymap.cson:
'.platform-linux .terminal-fusion .terminal':
  'ctrl-c': 'terminal-fusion:copy'
  'ctrl-v': 'terminal-fusion:paste'
  1. Restart Atom (May not hurt.)
  2. Open terminal
  3. Pressing Ctrl-c results in ^c displayed, while clipboard content unchanged.
  4. Pressing Ctr-v (with non-empty clipboard : ^v displayed, while nothing gets pasted.

Versions

atom --version
Atom : 1.16.0
Electron: 1.3.13
Chrome : 52.0.2743.82
Node : 6.5.0

apm --version
apm 1.16.1
npm 3.10.5
node 6.9.5 x64
python 2.7.12
git 2.7.4

Linux Mint 18.1, 64bit Cinammon

insert text does not working

Insert text shortcut does not working.

The cursor in file just jump to the next line after hit Ctrl + Enter. Even using the Insert Text after Ctrl + Shift + p does the same.

$ atom --version
Atom    : 1.12.7
Electron: 1.3.13
Chrome  : 52.0.2743.82
Node    : 6.5.0
$ apm --version
apm  1.12.9
npm  3.10.5
node 4.4.5
python 3.5.2
git 2.7.4
$ uname -r
4.4.0-53-generic
$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.1 LTS
Release:	16.04
Codename:	xenial

Object.dirname is deprecated.

Argument to path.dirname must be a string

Object.dirname (/usr/share/atom/resources/app.asar/src/electron-shims.js:9:10)
<unknown> (/home/waldy/.atom/packages/terminal-fusion/lib/status-bar.coffee:236:59)
Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
Emitter.emit (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:129:28)
<unknown> (/usr/share/atom/resources/app.asar/src/pane-container.js:348:27)
Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)

internal command "cd" wont work via bash script, launched by terminal-fusion

Prerequisites

  • Does this error occur on Linux? If you are using another operating system, please note that this package is only for Linux platforms! If you are using another operating system please use the upstream package, platformio-ide-terminal.
  • Are you running the latest version of Atom? If not, please upgrade and see if your bug still exists.
  • Did you search through the previously reported issues reported for this repository?

Description

[Description of the bug or feature]

I have simple bash script which has "cd" command
when I launched it via terminal-fusion.

all other commands recognized and executed but not "cd" command.

examples

#!/bin/bash
cd /home/mika/remotesite <---- won't work
pwd <--- works fine
cp file1 /home/mika <--- works fine
clear <--- works fine
echo "copied successfully" <--- works fine

Steps to Reproduce

Expected behaviour: [What you expected to happen]

move into folder
Actual behaviour: [What actually happened]

nothing happend

Versions

You can get this information from executing atom --version and apm --version at the command line. Also, please include the OS and what version of the OS you are running. For example, if you were using Arch Linux with the 4.7.5-ARCH kernel, you would report that your OS is Arch Linux and your kernel version is 4.7.5-ARCH. To determine your kernel version run uname -r.

bash version:
GNU bash, version 4.3.30(1)-release (x86_64-pc-linux-gnu)
Terminal-fusion version 2.4.4
Atom 1.12.2
3.19.0-32-generic

cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"

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.