News for hackers. Stuff that matters.
Re:TerminalView – A terminal inside Sublime Text 3 by hs86 on Thursday July 12, 2018 @05:56PM (#17518957)
There is also the relatively young https://github.com/randy3k/Terminus

Unlike TerminalView it also supports Windows and its various shells (cmd.exe, powershell.exe, wsl.exe).

Re:TerminalView – A terminal inside Sublime Text 3 by randy3k on Thursday July 12, 2018 @11:45PM (#17520393)
Hi all, I am the author of Terminus. The biggest reason I started this project is because TerminalView doesn't support continuous scroll history.
Re:TerminalView – A terminal inside Sublime Text 3 by fezz on Friday July 13, 2018 @03:28PM (#17525941)
Is this related? https://www.termius.com/
Re:TerminalView – A terminal inside Sublime Text 3 by randy3k on Friday July 13, 2018 @04:24PM (#17526377)
No. Note the missing `n`.
Re:TerminalView – A terminal inside Sublime Text 3 by hit8run on Friday July 13, 2018 @03:22AM (#17521084)
I’m using terminus since it was announced over at the sublime forums. It’s definitely the best terminal experience inside sublime. TerminaView was lagging and was hard to style from my experience. Also it had some lagging terminus doesn’t have.
Re:TerminalView – A terminal inside Sublime Text 3 by tenryuu on Thursday July 12, 2018 @07:06PM (#17519351)
>21MB of gifs on the readme

Why?

Re:TerminalView – A terminal inside Sublime Text 3 by notheguyouthink on Thursday July 12, 2018 @08:39PM (#17519743)
I would imagine because the author wants to show moving pictures of the project.
Re:TerminalView – A terminal inside Sublime Text 3 by tenryuu on Friday July 13, 2018 @12:33PM (#17524400)
yes, but a 15 fps gif, where a majority of frames are just duplicates of the previous image? AND 265 colours? (Photoshop crashed my GPU trying to even display the this) I could cut this shit down to less than 1MB if I tried, retaining the horrible gif format.

There's no excuse for the file sizes to be this dramatic, apart from outright laziness

Re:TerminalView – A terminal inside Sublime Text 3 by randy3k on Friday July 13, 2018 @04:30PM (#17526419)
I was using a software to capture the screen as GIF. The original file size for a single file was around 2x mb. I am by no mean an image expert, so I only used ImageOptim and some online services. And they are what I got. I will be glad to know if you know how I could downsize improperly a GIF.
Re:TerminalView – A terminal inside Sublime Text 3 by tenryuu on Friday July 13, 2018 @11:05PM (#17528574)
Depending on how the desktop is encoded (sometimes it's a video encoded to a gif), you may get artifacts etc. that make every frame different. But if that's not the case, and the snapshot of each frame is pretty much 1:1 on what's on the desktop, you can use Imagemagick to remove duplicate frames

https://www.imagemagick.org/Usage/anim_opt/#removedups

And right above this paragraph is a dope technique to use overlays and a non-dispose of frames to make the gif only change which pixels are being updated (like a video format I guess).

This might sound pretty complex, and sure, That's fair, we are coming up on 30 years since an update to the format. People just generally use videos these days for desktop recording since they're more suited for the job, at a even lower filesize

Re:TerminalView – A terminal inside Sublime Text 3 by notheguyouthink on Monday July 16, 2018 @08:22AM (#17540697)
> This might sound pretty complex, and sure, That's fair, we are coming up on 30 years since an update to the format. People just generally use videos these days for desktop recording since they're more suited for the job, at a even lower filesize

Out of curiosity, any idea what formats you'd choose to embed in a Github readme? Videos or otherwise, I'm not sure which play well when embedded, and are GitHub allowed, etc.

Re:TerminalView – A terminal inside Sublime Text 3 by Sephr on Thursday July 12, 2018 @08:23PM (#17519686)
A good solution would be termtosvg[1] styled to look like Sublime Text 3.

[1] https://github.com/nbedos/termtosvg

Re:TerminalView – A terminal inside Sublime Text 3 by yoavm on Friday July 13, 2018 @08:23AM (#17522278)
Or just an mp4 video. I converted (with ffmpeg) one GIF and it turned from 6MB to 1.5MB without any parameters settings, and still looking perfect.
Re:TerminalView – A terminal inside Sublime Text 3 by nkristoffersen on Friday July 13, 2018 @02:13AM (#17520857)
Not supported in all browsers I thought? I recall a browser couldn’t do SVG animations
Re:TerminalView – A terminal inside Sublime Text 3 by coldtea on Friday July 13, 2018 @03:37AM (#17521142)
Would the users of that browser be of interest when considering that this is for developer documentation?
Re:TerminalView – A terminal inside Sublime Text 3 by FreeFull on Friday July 13, 2018 @05:45AM (#17521630)
Microsoft Edge doesn't support them.
Re:TerminalView – A terminal inside Sublime Text 3 by solidr53 on Thursday July 12, 2018 @10:23PM (#17520086)
Nice one!