GTK+ TTY Port 277
An anonymous reader writes: "FootNotes is reporting about what might be the coolest thing since textmode Quake: a curses-based GTK-2.0 port called Cursed GTK. This not only makes it possible to give Gnome the look and feel of Contiki, but also brings many real opportunities, such as remote logins where X forwarding is not possible, or remote logins over very slow modem lines. Screenshots here, here, here and here! Patches for bugs are welcomed by the authors."
But? (Score:5, Funny)
Re:But? (Score:5, Interesting)
Re:But? (Score:5, Informative)
run gimp-console! (Score:2, Interesting)
april fools? (Score:5, Interesting)
Re:april fools? (Score:5, Funny)
Re:april fools? (Score:3, Insightful)
Re:april fools? (Score:2)
Forgot (Score:5, Insightful)
Re:Forgot (Score:2)
Wow. (Score:5, Funny)
Here I was thinking that it was utterly impossible to make the GTK file dialogue worse than it already was.
Zemljanka, I bow before you in humility!
Re:Wow. (Score:4, Funny)
well, (Score:2)
Here I was thinking that it was utterly impossible to make the GTK file dialogue worse than it already was.
I have to ask what you think is wrong with it. It's got a nice little tree, tab completion, multiple M$ style shift key first to last list and CTRL key for individual inclusion, tab completion and three obvious, text labled buttons for rational tasks, rename delete and directory creation. It's fast and does what it should, what more can you ask for? I kicks M$ ass, and works on devices sm
Re:well, (Score:3, Insightful)
Number one, shortcut navigation buttons do not exist. Typing ~/ only might take me to my home directory, it also might select the current directory (this seems to vary). A button would go a long way. An extra button for
A related problem is that the "location" pulldown does not allow typing. I must type full paths rather than modifying existing ones. Yes I could use relative paths in the input box, but this is hardly intuitive for the
Re:well, (Score:2)
Fair enough. It's too basic.
I pretty much only use it for Gimp. Here's the biggest beef:
It has no method to quickly navigate directories. Depending on what I'm editing (print-quality photos, web graphics, the family album, etc) I'd like to quickly switch between directories. Now, what happens:
I load Gimp, open the file dialog, navigate to my images directory (slow, even with command-completion), then load the image. After editing, I want to save the re
Perspective and help. (Score:4, Interesting)
It has no method to quickly navigate directories. Depending on what I'm editing (print-quality photos, web graphics, the family album, etc) I'd like to quickly switch between directories. Now, what happens: I load Gimp, open the file dialog, navigate to my images directory (slow, even with command-completion), then load the image. After editing, I want to save the resulting image to another folder, so I then go back to the file dialoge, and do the same damn thing again.
First, use multiple instances of your programs and real file browsers to drag and drop. This is the easiest step of all. Run multiple coppies of GIMP, each from a shell in the directory you want to work. This way, the dialog box will be defaulted to where you want to be. Next, use the drag and drop capabilities of GMC, Nautulis or KDE's file browser. If you try to use bookmarks, you will quickly be overwhelmed by too many of them. Depending on what window manager you are using, one or more of these should work. SSH X11 forwarding currenly works to move clipboard contents accross different computers on a network, I'll bet it can or will soon be able to drag and drop files the same way. How's that for spanning directories fast? Use multiple file viewers, of course, for place keeping as well as multiple versions spawns of GIMP.
Next, try more appropriate programs for viewing and batch manipulation. Eye of Gnome and Gqview are excellent programs for viewing and moving multiple files. For batch manipulation, use Image Magic's convert utility. It's a front end to lower level utilities that resample, rotate, convert file types and more. "man convert" is informative and contains examples of usefull stuff. Use igal to make quicky web pages. Between that and a simple shell script to feed multiple directories, your days of waiting for dialogs are over. You won't get around the time your computer takes to manipulate the images, but you will save loads of clicky clicky GIMP time.
Right rotates are a typical example. I use gqview to select and move all picutes that need to be rotated right and left to seperate directories. The CTRL key selections also work in gqview's thumbnail screen. Selecting them is as easy as looking hoding the ctrl key and a mouse button. Moving them is as eay as right clicking the mouse, selecting "move" from the pulldown menu and creating the new directory withing the directory you are in. You did remember to start gqview from a shell in the directory with pictures to manipulate? That way the right directory will always be the default. Next I run the following script to rotate all those pictures:
count=1
while [ -n "$*" ]
do
convert -rotate 90 $1 $1
shift
count=`expr $count + 1`
done
I named it "rr" issuing ~/home/me/bin/rr dir_1 dir_2 dir_3 does the directories. Other common convert commands can be substituted for each and every batch job you may have.
A similar script can be used to call igal for many directories and thus generate thumbnails, an index and an html page for eveery photo in every directory listed.
Happy editing and don't try the above in windoze!
Re:well, (Score:2)
A system library which contained the standard file requester, most system-friendly apps used the library, there were different versions of the library depending on wether you wanted speed, flexibility, low memory usage, pretty graphics etc, and your apps used whichever version you had installed... If you didnt like the default, you could always go and install a third party version.
And thus we have a modular system, which promotes freedom of choice, while
Re:well, (Score:2)
I was going to ask what dialogue you were talking about, because the GTK FileOpen box I know of is nothing like what you describe.
However now I see that the latest GTK has a halfway decent box, nothing like the piece of trash installed with Redhat 9 for example.
Re:Wow. (Score:2)
Re:Wow. (Score:5, Insightful)
It's a pain in the ass to navigate between frequently used folders.
It supports tab completion. I don't know about you, but I like that I can traverse long directory with just a few keystrokes a few more , etc.
Yes, but for long directories that I use frequently, even "a few keystrokes" is too much. Try KDE3's file dialog - ONE mouse click takes me to my any of my most-used directories.
Tab completion is OK, but it assumes that I already have both hands on the keyboard - which (after using something like Gimp is a very, very bad assumption) Try editing 100+ photos, from a read-only folder, and save the resulting images in a different folder, nested 8 or 9 levels deep. It's needlessly time consuming with GTK.
The Windows file selector looks pretty, but that's about it
Who said anything about Windows?
Try KDE's file dialog. Get used to it - add some quicklinks. Then try to use GTK+, and you'll see how clunky it is.
Okay but (Score:5, Interesting)
- Widget alignments when whatever widgets you align don't fall exactly on their equivalent ascii places?
- GDK pixmaps : do they use AAlib to render them?
Alright, I'm off to recompile X-Chat. If it actually turns out good in ascii, nobody will be able to give me crap on IRC because I don't use 1337 BitchX
Re:Okay but (Score:4, Informative)
Judging from the screenshots, those just don't get rendered at all. Generally, the mapping algorithm to character cells seems to be quite smart though...
Re:Okay but (Score:2)
I'm not sure how this is an advance... it looks crapper than X but you have to configure the notoriously buggy svgalib first...
Re:Okay but (Score:2, Informative)
Re:Okay but (Score:5, Informative)
Re:Okay but (Score:3, Informative)
Finally! (Score:5, Funny)
Re:Finally! (Score:5, Funny)
Even better : use a TTS with that and you've got gimp for the blind
Tool-Eraser-Star-Transparency-Minus-Minus-Minus
You only think that's a joke. (Score:5, Insightful)
Considering the fact that the interface is all text, TTS would be nice for blind people. On X start up, depending on what XDM is used, you would get something like, "My box, login, name, password, Using every normal program, email client (Balsa), web browser (Galleon) would all be much easier, especially with tool tips enabled. Compare that to Microsoft's Accesability options! Rock on GNOME!
Gnome Foot (Score:5, Funny)
OOO( )
O ---,
(
\ L/)
---
or maybe something a little simpler, like:
G
curious (Score:2)
Turbo Pascal (Score:3, Interesting)
Re:Turbo Pascal (Score:3, Funny)
Well now we can text-ize many!
Cheers, kudos and karma to those who did it!
Huzzah!
Sam
Re:Turbo Pascal (Score:2)
Re:Turbo Pascal (Score:2)
The screenshots look awful like the good old Turbo Pascal (circa 1990 or so) text-mode GUI library.
It uses ncurses, which originated in 1982 [his.com].
Re:Mesh Networking (Score:2)
Re:Turbo Pascal (Score:2)
cool! (Score:2, Interesting)
Shameless Plug (Score:4, Interesting)
Even better, I wrote [nanosoft.ca] aavga2 to run Quake2 on aalib!
Now that Gtk+ is moving to TTY as well, maybe I can get rid of X entirely? *grin*
A similar technology: 1986 WordPerfect on VAX/VMS (Score:5, Informative)
Mind you, this was in the days of DOS WordPerfect dominance, WPWin was relatively new.
But the coolest thing was graphics mode for non-graphics terminals. They abused the font download capabilities of the VT220-series terminals that were the standard for the day to create 'mosaics'. Decent pictures of bitmaps could be created. I could recognize B&W bitmaps pretty well. Lousy for pr0n, but good enough that a letter-writing system we set up had recognizable signatures.
Re:A similar technology: 1986 WordPerfect on VAX/V (Score:2)
Charva does the same for Java (Score:5, Informative)
see charva: http://www.pitman.co.za/projects/charva/ [pitman.co.za]
screenshot: http://www.pitman.co.za/projects/charva/images/ch
Textmode GUIs not all that new (Score:3, Interesting)
Very cool for the time, supported dragging, resizing, iconifying windows, even pseudo 3-D buttons and "shadows" underneath windows.
Re:Textmode GUIs not all that new (Score:5, Insightful)
NOT as the original developers intended, but works none-the-less.
THAT is cool.
Sam
TurboVision (Score:4, Interesting)
Its key difference from the text-based GTK+ is that it was a text-based library only. There was no graphical implementation of the same API.
Re:TurboVision (Score:2)
Rhide [rhide.com], my favorite console IDE, uses TurboVision.
Re:Textmode GUIs not all that new (Score:2)
April Fools! (Score:2, Interesting)
This was actually an April Fools [slashdot.org] some time ago, but with QT.
Hello! (Score:5, Funny)
VNC merged with screen (Score:2, Informative)
With GTK++ TTY mode, you could have a virtual text-based desktop capable of controlling (via mouse) any thing you'd want without opening many virtual screens.
Re:VNC merged with screen (Score:2)
Plus you can logout and come back later.
And yes, being able to switch to another screen while a load of output whizzes by (as you said) is also cool.
Sam
Re:VNC merged with screen (Score:2)
Xtree (Score:2)
Rus
Wonderful (Score:5, Funny)
Re:Wonderful (Score:2)
for all the non-believers (Score:3, Insightful)
hell, even I'd use it
Eye Candy (Score:5, Insightful)
It's interesting that once the flashy grapics is stripped away, today's user interface looks (and functions?) basically the same as yesterdays. Perhaps much of what we call 'advances in user interface' is just eye candy, or am I being deceived by appearances?
Re:Eye Candy (Score:2)
I think the problem with most people is that "advances in user interface" means o
Re:Eye Candy (Score:5, Insightful)
Or, maybe not all of the advances to UI tech is visual? There's much more to interfaces than what you see. The rules behind where you put things amd being able to exploit the objectiveness of widgets to create new ones are two of the most advanced ideas of ui technology in my opinion.
Google for TurboVision, the UI toolset Borland created in the process of building their text-based IDEs. One of the nicest, most object-oriented UI toolkits I've used... and a very nice tool for creating applications quickly. I think Borland released it as public domain, or under a permissive license, so you can find the source code on the net in quite a few places.
The complete C++ toolkit source is around 250KB, zipped.
Also, i18n, l10n, and section 508 concepts are making their way into interface design more and more, that's not necessarily a visual upgrade.
TurboVision had great support for internationalization as well. Granted, it was really only workable for languages that used a latin character set, but that was more of a platform limitation.
So, I'd say the other poster had it right: Most of the changes have been eye candy. Not that there's anything wrong with eye candy, I like my nice proportional, anti-aliased fonts and my pretty icons and rounded "lickable" controls, but, at bottom, the desktop metaphor hasn't changed much in the last 30 years.
Re:Eye Candy (Score:5, Informative)
http://tvision.sourceforge.net/
Re:Eye Candy (Score:2)
Re:Eye Candy (Score:2, Insightful)
No, that's more or less right. Back in the 80s there were more advanced user interfaces than today. It's quite a pity Microsoft and Macintosh had to win out.
Re:Eye Candy (Score:2)
That's what drove people away from the text based interfaces
very cool (Score:5, Interesting)
this could also be very useful as a standalone X-less toolkit (a la Qt Embedded). RedHat (and some other distros) could really use a cleaner console widget toolkit... The one they use now (for system tools, etc) works like crap.
OTOH, I wonder what kind of resources it uses.
hmmm might have to try this out.
Not useful without developers testing it (Score:3, Insightful)
bug reports? (Score:2, Interesting)
What's the deal with that? If you find a bug, and you can't write code, they don't even want to know the bug exists?
Re:bug reports? (Score:3, Insightful)
This is not expected to be used in a production environment yet, so they don't need a couple hundred people reporting to them that right clicking on the [V] indicator closes the window when the user expects it to bring up a menu.
One
XFree UI == UI free from XFree (Score:3, Funny)
On a serious note, is it GPM sensitive?
Re:XFree UI == UI free from XFree (Score:2, Informative)
wxWindows (Score:2)
Just a sec, I have a text terminal that I was working on a few days back... I suddenly have an urge to redouble my efforts on that. Heh.
And for those who are complaining about how this is a total waste of time, and this person could have been more productive elsewise: You didn't pay them to do
The key question (Score:2, Funny)
Does it support themes? :)
wxWindows? (Score:2)
in particular with wxPythonGTK which I'm into
these days. If so it would be pretty cool to
have the same application work on MS Windows, regular GTK and TTY GTK.
Bring back the BBS! (Score:2)
Semi-Off-topic question (Score:2, Insightful)
Is there any players for win32 that will play using the aalib codec?? I would love to see this in action, but don't have linux installed on my laptop!
Help??
Re:Semi-Off-topic question (Score:2)
Cut and paste in the command line (Score:2, Interesting)
Anyway - the problem I have with the framebuffer is a la
Remote logins over very slow modem lines: use NX (Score:2, Informative)
1019 B/s average, 1966 B/s 5s, 1050 B/s 30s, 2954 B/s maximum.
NX Compression Summary
link: MODEM with protocol compression enabled.
images:
Re:Remote logins over very slow modem lines: use N (Score:3, Informative)
Just to clarify, do everything on the command line using the GPLed stuff, running a remote GUI session over a modem. It's only the GUI interface to this functionality which is non-free.
Font AA? (Score:3, Funny)
Re:Font AA? (Score:2)
What people are saying about Cursed Gtk (Score:2)
"people are starving to death in this world... and somebody had time for this....."
"This is the greatest *sniff* I'm too broken up...I can't believe how wonderful this is. I can't stop the tears streaming down my face. Oh the humanity!!"
"This is seriously, extremely perverse. I'm impressed."
"This is quite possibly the most inherently wrong thing in the world today."
"I can now die. This totally, totally, totally rules."
"I would need
Dog (Score:2)
It's not that it's done well,
It's that it's done at all.
Except far less entertaining...
Re:Why go back to the CLI (Score:3, Insightful)
Perhaps for bandwidth preservation? Of course, then why use text-GUI if you've got CLI?
Re:Why go back to the CLI (Score:2)
Perhaps for bandwidth preservation? Of course, then why use text-GUI if you've got CLI?
Here's a scenario: you've been asked to develop a new stock management system for a retail chain. They have TTYs in their warehouses left over from previous systems, they have Windows boxes on their execs desks and in stores, and they're interested in saving money by deploying Linux boxes in the
Re:Why go back to the CLI (Score:3, Insightful)
I think you miss the point (Score:2, Informative)
But... (Score:2)
The CLI is generally designed around scripting and system administration for professionals. The GUI tends to focus around general productivity and interactivity.
This still had limited power for many things, but it still has many uses and may help make administrating a Linux system easier for the beginner.
Re:Why go back to the CLI (Score:2)
Re:Why go back to the CLI (Score:2)
>maximized xterms?
There are qualities to the native console that I prefer. The keyboard map is the same but the behavior is slightly different.
Actually the FrameBuffer is a compromise. On systems that svgatextmode support, I prefer that.
What's really annoying is that I can't get the equivalent console under Windows2000. And I really want it.
Re:Why go back to the CLI (Score:3)
make it easier to write text based terminals.
Try to think laterally. Not everyone uses computers on the desktop like you.
There still need for text based terminals (embedded devices for example) and this will
BTW, java has a has a text based swing (search for Charva).
Re:Why go back to the CLI (Score:2)
Here it is again:
There is still a need for text based terminals (in embedded devices for example) and this will make it easier to write the interfaces for those terminals.
Router manufacturers, for example, could support a text based gtk+ interface in addition to the standard command line interface.
I can imagine plenty of other uses...
Re:Why go back to the CLI (Score:2)
"Try to think outside your box."
Or perhaps you mean vertically?
"Try to think below your box. Waaaaay below."
Because non CLI text interfaces are useful. (Score:5, Informative)
However, the utility of non-command oriented text interfaces is pretty well established. There is, of course, the venerable curses; pretty sophisticated non command text interfaces were the norm on MS-DOS in the pre-windows days. These often featured mouse input, which combined with text display is enough for a wide variety of applications. Don't know if this GTK supports mouse inputs. From the screenshots I'd guess not which somewhat limits its utility.
As an example of a non-command oriented text interface in common use today, look no farther than your BIOS setup program.
Re:Why go back to the CLI (Score:4, Interesting)
If you are stuck with 56k, I can see this being very handy, very very handy! While yes we have faster then dialup connections, they are not all available from everywhere. Also, if you are with an ISP that bills based on byte use, I can see this as being most excelent.
Also... if you are stuck in the Windows world, Xservers can be damn costly. Starnet for example charges $245 for their X-server. I assume since it can operate via TTY that it can also operate via ssh/telnet.
Lastly, the more complex you make the plumbing, the easier it is to stuff up the drain. One thing nice about pathetic obsolete terminals is the fact that they work, they always work. The server may go down, but you know full well that ye' old terminal isn't very likely to fail. They don't need upgrades, patches, and in them selves can't get a worm/virus.
My experience with that... (Score:2)
It's nice, I guess. But what Exceed and Reflection and Starnet let you do which I can't figure out in cygwin is nice is use Win32 window decorations by running it rootless, which really helps since that's how I tend to run most of my session on unix boxes too (remote X windows, not XDMCP). I don't want it taking over my screen, or relying on any local cygwin binaries to provid
Re:My experience with that... (Score:2)
I'll have to give Cygwin and Xfree86 a try again. One thing that I enjoy about Starnet is the fact that you can run Gnome and have it totaly incorperated into your windows desktop 100% transparently. And Starnet was lightning fast over my lan.
I haven't tried the Hummingbird or WRQ solutions to be honest, I was pretty happy with starnet. However, if there was a reasonable TTY solution I probally wouldn't have
File Selector (Score:2, Interesting)
Re:And (Score:3, Informative)
It has the same miserable file selector dialog as the X11 version! Won't those monkeys ever realize what a barrier to adoption that thing is? It was behind the times they moment they wrote it.
Indeed. A new file selector is in the works [gtk.org]. In the meantime, discover the nice tab-completion feature. While I certainly agree there is room for improvement and definitely wouldn't suggest the file selector to my grandmother, I save/open files faster with the GTK dialog than any other I've used.
Re:contiki for windows (Score:2, Informative)
Re:GNOME Armageddon (Score:2, Insightful)
-uso.
Or, if you don't want to do anything but gripe, Fork You!