News for hackers. Stuff that matters.
Re:Learning from Terminals to Design the Future of User Inte... by GlenTheMachine on Friday August 03, 2018 @03:25PM (#17682841)
<Slow clap>

I'm switching away from macOS to Linux with the i3 window manager for precisely this reason. But all of his criticisms of terminals are spot on: no multimedia, no support for anything other than monospaced fonts, etc. Lord, somebody give me a terminal program that produces laid-out text and can show inline video.

Re:Learning from Terminals to Design the Future of User Inte... by SomeHacker44 on Friday August 03, 2018 @04:30PM (#17683371)
The old Symbolics Genera had a "terminal" which was extremely interactive and object based, yet still worked much like a modern text only terminal. I still love working in that operating system. Pictures, fonts, diagrams, etc., were all supported well. I have not tried video nor seen examples of it but those computers were responsible for some CGI in movies in their time, so may have been supported.
Re:Learning from Terminals to Design the Future of User Inte... by astrobe_ on Friday August 03, 2018 @05:40PM (#17683861)
I suggest Chrome or Firefox.

I find the conclusion of the article totally off the mark. The author seems to not understand that problems begins with multimedia support and other "gimmicky" stuff (as he puts it). You want video? Then use your terminal to launch a video player. A tiling manager is precisely perfect for this (I wonder why you switched to i3 if you don't know that, btw).

Re:Learning from Terminals to Design the Future of User Inte... by GlenTheMachine on Friday August 03, 2018 @07:42PM (#17684464)
Oh, I know that. But what I'd really like is something akin to Jupyter, only for the shell. I think I'd like that, anyway.

For example, right now I can issue a shell command that lists cpu utilization by process (top). I can even have that command autorefresh, showing me changes in real time. But to do that it takes over the shell. It'd be neat to think about a shell where I could issue a top command, then command displays and exits, giving me a shell prompt again. But I have the option of asking the shell to update the old output every N seconds.

Yes, I could in i3 spawn a new shell and just keep top running in it. And maybe in the long run that's the better interface. But doing that screws up my carefully constructed window layout.

I guess what I'm saying is that we have two interface paradigms: the gui, and the command line. But interfaces like Jupyter and Mathematica show that there are middle grounds between those two extremes, and that middle ground is interesting.

Re:Learning from Terminals to Design the Future of User Inte... by astrobe_ on Saturday August 04, 2018 @04:32AM (#17685955)
Personally I use GNUScreen in addition to dwm, but mainly because I use a 15 years-old Celeron PC as a network console, which for some reason puts a one-two seconds tax on window creations. This setup is quite flexible, but you can get lost easily, in particular if in addition you use ctrl+Z carelessly.

An alternative is Emacs, which will give you shells and windows and splits and somewhat-interactive documents (org-mode) and has some support for images. If you're ready to sacrifice an hour per day to Emacs configuration for the next twelve years, it will do your biddings eventually...

Re:Learning from Terminals to Design the Future of User Inte... by sdx23 on Saturday August 04, 2018 @04:29AM (#17685944)
> screws up my carefully constructed window layout.

To me this is off. With a tiling window manager I don't have to "carefully construct" a window layout. That's the window managers job!

Re:Learning from Terminals to Design the Future of User Inte... by GlenTheMachine on Saturday August 04, 2018 @12:28PM (#17687448)
There's nontrivial mental burden incurred every time the window manager changes where the windows are, at least for me.
Re:Learning from Terminals to Design the Future of User Inte... by omaranto on Saturday August 04, 2018 @01:39AM (#17685542)
How about instead of something merely like Jupyter you just use precisely Jupyter? I'm sure someone wrote a shell kernel, and if not, use ipython's shell magic.
Re:Learning from Terminals to Design the Future of User Inte... by GlenTheMachine on Saturday August 04, 2018 @09:49AM (#17686827)
That... could actually work. In fact there is a bash kernel for Jupyter. Not a lot of info about it on the github page, but it's there.

Then the issue becomes how well bash output takes advantage of Jupyter. Research forthcoming.

Re:Learning from Terminals to Design the Future of User Inte... by swiley on Friday August 03, 2018 @03:40PM (#17682962)
If you use mlterm (and supposedly xterm with the right compile flags) you can have inline pixelmaps via DEC -regis- sixel escapes.
Re:Learning from Terminals to Design the Future of User Inte... by digi_owl on Friday August 03, 2018 @03:48PM (#17683022)
Actually i think REGIS is for vector graphics, SIXEL (six pixels pr character) is the pixel graphics.

I seem to recall that at least one terminal browser can pull some tricks to insert images into the window in X as well.

Re:Learning from Terminals to Design the Future of User Inte... by swiley on Friday August 03, 2018 @03:57PM (#17683098)
Oops, you're right.

The browser you're thinking of is w3m.

Re:Learning from Terminals to Design the Future of User Inte... by stevefolta on Friday August 03, 2018 @04:44PM (#17683464)
mlterm also works great with non-monospaced fonts (but doesn't, to my knowledge, have a way to switch between fonts within terminal output, which seems to be what the OP wants).
Re:Learning from Terminals to Design the Future of User Inte... by tjr225 on Friday August 03, 2018 @03:40PM (#17682963)
I've always wondered what a tiling window manager provides over tmux. This isn't a rhetorical question, I've never used a tiling window manager.

Anyway, a separate space with full-screened iterm2 + tmux on macos is my preferred way to work. I can swipe left to check slack, browser and then swipe right to go back to my terminal.

Re:Learning from Terminals to Design the Future of User Inte... by slrz on Friday August 03, 2018 @04:15PM (#17683248)
A window manager manages windows. All of them. Tmux can't manage your PDF viewer or Firefox windows.
Re:Learning from Terminals to Design the Future of User Inte... by certifiedloud on Friday August 03, 2018 @04:14PM (#17683243)
With i3, all windows benefit from the splitting/tiling behavior. Not just terminal windows.
Re:Learning from Terminals to Design the Future of User Inte... by t1amat on Friday August 03, 2018 @03:58PM (#17683108)
You can get all of that with Electron-based terminals. Perhaps take a look at Hyper.
Re:Learning from Terminals to Design the Future of User Inte... by binomialxenon on Friday August 03, 2018 @10:13PM (#17685012)
Ugh, I can't see any advantage that would justify my terminal emulator running on Electron.
Re:Learning from Terminals to Design the Future of User Inte... by GlenTheMachine on Friday August 03, 2018 @07:22PM (#17684365)
I downloaded Hyper on your recommendation. I can't see how it supports inline multimedia. What am I missing?
Re:Learning from Terminals to Design the Future of User Inte... by sanketdasgupta on Saturday August 04, 2018 @04:21PM (#17688293)
It doesn't.
Re:Learning from Terminals to Design the Future of User Inte... by kdma on Saturday August 04, 2018 @06:48AM (#17686308)
looks like you are ready for templeOS
Re:Learning from Terminals to Design the Future of User Inte... by GlenTheMachine on Saturday August 04, 2018 @12:29PM (#17687454)
Huh. Just went and read a review.

Not for everyday use, of course. Network connectivity (and application support) are nonstarters. But that shell interface does look <ahem> inspired.