News for hackers. Stuff that matters.
Re:50 Shades of System Calls by panic on Wednesday July 20, 2016 @01:58AM (#12127156)
This is really cool, though it seems a bit silly to present such high-resolution data using a command-line interface. I guess it's easier to use over SSH?
Re:50 Shades of System Calls by marklgr on Wednesday July 20, 2016 @03:49AM (#12127457)
I find it brilliant, personally. Users of sysdig tend to be sysadmin or devops with a strong *nix background, so the CLI sounds like 'from the comfort of your command line" to them.
Re:50 Shades of System Calls by microcolonel on Wednesday July 20, 2016 @05:03AM (#12127684)
I second the "From the comfort of your command line" feeling. I feel like many tools today are unnecessarily tied to a web browser, which makes for harsh context switching; and often worse usability. Sysdig is a killer product, and (crucial to me) is open source. I'm sure the cloud service is excellent as well.
Re:50 Shades of System Calls by panic on Wednesday July 20, 2016 @05:26AM (#12127751)
Yeah, that's a good point. It would be neat to have a way to draw full GUIs in the terminal without having to context-switch.
Re:50 Shades of System Calls by adrianratnapala on Wednesday July 20, 2016 @06:21AM (#12127948)
I think the world missed an opportunity around about the '90s. Instead of evolving, command lines stagnated and got sidelined by terrible GUIs that are only now evolving to get out of people's way.

We should have developed command lines with graphics and hypertext. Thus you could do `ls` and double-click on one of the resulting files to open it. Browse the web with wget.

Of course users don't want to learn lots of commands. But notice how Windows 7 onwards and most linux desktops have a "fuzzy search" that really is a kind of command line.

Re:50 Shades of System Calls by vidarh on Wednesday July 20, 2016 @07:45AM (#12128259)
There has been many attempts, but they've universally not gotten things "right enough" to gain much traction. E.g. Mozilla's XMLTerm [1] was one such experiment.

[1] http://www.xml.com/pub/a/2000/06/07/xmlterm/index.html

Re:50 Shades of System Calls by digi_owl on Wednesday July 20, 2016 @10:11AM (#12129108)
https://en.wikipedia.org/wiki/Archy

Anyways, if i am to speculate then GUI took over because of discoverability and ease of translation. A CLI is damn hard to translate. With a GUI you change the labels, and thats it. And finding something in a menu or similar was, before programs grew into massive behemoths, simpler than trying to guess what command, for most outside the english speaking world, named in a foreign language, to give to get something done.

Re:50 Shades of System Calls by shermanyo on Wednesday July 20, 2016 @05:56AM (#12127851)
There are several options here, ncurses being a popular choice.

I found an example that creates a subwindow and moves it based on keyboard input:

http://www.paulgriffiths.net/program/c/srcs/curwin1src.html

Re:50 Shades of System Calls by panic on Wednesday July 20, 2016 @06:04AM (#12127887)
By full GUIs I mean something with a full-resolution, full-color framebuffer, not just character-mode stuff.
Re:50 Shades of System Calls by vidarh on Wednesday July 20, 2016 @07:41AM (#12128244)
Most people would just use X or VNC today, but I agree having more graphic integration reliably available in the shell is interesting.

Apart from various experimental support for new mechanisms in various terminal apps, there are two old formats that is supported reasonably widely: ReGIS [1] and Sixel [2]

[1] https://en.wikipedia.org/wiki/ReGIS

[2] https://en.wikipedia.org/wiki/Sixel

Re:50 Shades of System Calls by digi_owl on Wednesday July 20, 2016 @10:20AM (#12129187)
The issue there is standards. How do your program talk to the kernel and hardware such that all this gets drawn? Especially in a modern multitasking environment, where no single binary, outside of the kernel, has complete control of the hardware.
Re:50 Shades of System Calls by fnord123 on Wednesday July 20, 2016 @11:38AM (#12129855)
We have full resolution full colour frame buffers. But instead of typing into them, we end up with grunt and poke interfaces.

FWIW, Bloomberg Terminals might be something in line with what you want.

Re:50 Shades of System Calls by infinite8s on Wednesday July 20, 2016 @06:26AM (#12127961)
And that works remotely? So the X protocol?
Re:50 Shades of System Calls by panic on Wednesday July 20, 2016 @06:34AM (#12127986)
Sure, that's one option. You could also implement something like NeWS where the graphics code runs locally.