Terminal replacement


#1

Hi there,

first of all, thanks for this, this editor looks damn good and is something really neat!

However, I wish we had a Terminal tab, I know in the node world there are several terminal emulators some of them even able to render perfectly a full fat vim.

I something planned by the @team and if so, will be a js extension or something native (like iterm) ?

Thanks!


Display Browser in a tab
#2

I’d like a terminal in the editor to Sublime & Brackets both have these as plugins


#3

Check out the experimental Terminal Package https://github.com/atom/terminal. It is buggy and needs love, but it is a start at what you are looking for.


#7

I’m gonna date with you @ProbablyCorey. Thanks a lot!


#8

I blew off some of the dust and made the terminal package repo public, but we’re not going to publish it until it’s more solid. For now, you can clone the repository and use apm link in the directory to create a symlink to it in ~/.atom/packages. Edit: You’ll also need to run apm install in the terminal directory to install its dependencies.

Happy hacking!


Quick access to console terminal
Integration of Terminal Filer Editor WebBrowser in a single window
#11

Woo hoo! It’s working handsomely now. Thanks @nathansobo.


#12

This is incredible @nathansobo


#13

Sorry to ask this, but my apm install is failing? While I am used to brew, I have not had to troubleshoot this issue.

426 error fetch failed https://registry.npmjs.org/fs-plus/-/fs-plus-2.0.1.tgz
427 info retry will retry, error on last attempt: Error: SELF_SIGNED_CERT_IN_CHAIN


#14

@chrishough Update Atom and give it another try. There was an update to the npm server and we pushed a fix this morning for it.


#15

@nathansobo I am currently using 0.61 and it’s still blowing up :frowning:


#16

@chrishough you’ll need to use 0.6.2


#17

I’m trying to find an option inside of Atom to check for updates, but I don’t see one. Anyone want to help me get past my stupidity?


#18

It will autoupdate, you can however force the issue by re-downloading and installing again.


#19

Thank you. Sure enough, that’s what I did.


#21

@fusion94 @nathansobo yep - I had to re-download and reinstall the application.

This is one of the best features! Thank you so much.


#22

This is brilliant!

For those of you that like your Terminal window dark, just drop something like this into your styles.less file:

/* Terminal Styles */
.terminal{
  background:#040404;
}
  .terminal .character{
    color:#FFF;
  }
  .terminal .cursor{
    background:#3C75DD;
    opacity:1;
  }

#23

That is awesome. Thanks man. I just added my fonts too:

.terminal .character{
color:#FFF;
font-size: 9pt;
font-family: “Source Code Pro for Powerline”
}

I tried re-mapping the shortcut to:

‘.editor’:
‘cmd-e’: ‘terminal:open’

with no luck? thoughts?


Quoting code as code?
#24

In terms of terminal styling, how do you prevent word wrap? @cliftonite


#25

If you want your terminal to look like base-16 ocean:

.terminal {
  background: #2b303b;

  .color-0 { color: #c0c5ce; }
  .color-1 { color: #bf616a; }
  .color-2 { color: #a3be8c; }
  .color-3 { color: #ebcb8b; }
  .color-4 { color: #8fa1b3; }
  .color-5 { color: #b48ead; }
  .color-6 { color: #96b5b4; }

  .background-0 { background: #2b303b; }
  .background-1 { background: #bf616a; }
  .background-2 { background: #343d46; }
  .background-4 { background: #8fa1b3; }
}

in your styles.less file, like @cliftonite said.


#26

I had this error (Atom version 0.85.0):

npm ERR! pty.js@0.2.4 install: `node-gyp rebuild`

followed by :

npm ERR! Exit status 127
npm ERR! 
npm ERR! Failed at the pty.js@0.2.4 install script.
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! System Darwin 13.1.0
npm ERR! command "/Applications/Developpement/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/bin/node_darwin_x64" "/Applications/Developpement/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--userconfig" "/Applications/Developpement/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/.apmrc" "install" "--target=0.11.10" "--arch=x64"
npm ERR! cwd /Users/puiseux/Downloads/terminal-master
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/puiseux/Downloads/terminal-master/npm-debug.log
npm ERR! not ok code 0