Slashdot Mirror


The Latest And Greatest Console Applications?

An anonymous reader writes "While the 'Linux on the desktop' battle has yet to be won, KDE and Gnome are making great progress. There are too many apps to list on the cutting edge of software development for the X environment. But what about those of us stuck with old machines? Or who just want to work with the console? What console-based apps, that are undergoing just as much development as their X counterparts, do you use? Things like instant messengers and bittorrent clients, for example..."

36 of 618 comments (clear)

  1. mp3blaster. by Slayk · · Score: 5, Interesting

    It's a slick little console mp3 player with playlist support. It is quite nice to have when I do something to b0rk X.

    1. Re:mp3blaster. by keesh · · Score: 4, Interesting

      orpheus is also good, and has a less confusicating interface.

  2. Screen.... by deadmongrel · · Score: 5, Interesting

    One of the most under used console app is Screen. http://www.gnu.org/software/screen/ I am not a sys admin but Screen is still pretty handy.

    1. Re:Screen.... by FullyIonized · · Score: 5, Interesting
      And one of the most underutilized features of screen is multi-user sessions. I have used this to do XP-style programming with a colleague who was working 900 miles away

      The way I did it:
      Start up screen with a temporary screenrc file that contains:
      multiuser on
      addacl other_username
      detach

      Note that I have the screen session detach. Type "screen -ls" to get the screen session name (for the other person), then type "screen -r" to reattach. The other person ssh'd into my machine and typed "screen -x session_name". It is possible to script all of this to make it easier.

      We then talked over the phone (headphones highly recommended) while we could simultaneously edit in a vi session. It was hilarious because we'd start yelling at each other "No,no, let ME type." Still, these sessions are always among my most productive programming sessions because we catch each others mistakes and program the parts of the program that we have expertise in.

      --
      Sigs are bad for you.
    2. Re:Screen.... by rk87 · · Score: 2, Interesting

      for those of you who didn't get the joke...
      in german, when you "bell", you are "barking".

      --
      I'M NOT ANGRY!
  3. Why? by Anonymous Coward · · Score: 4, Interesting

    I asked this on the Gentoo forum a while ago and never got a straight answer, so I'll ask it again here: why? Why, except in a few rare cases, would you regularly use a command line IM client in favor of a graphical one? It seems terribly inconvenient.

    1. Re:Why? by Zardus · · Score: 3, Interesting

      Combined with screen, Naim is really nice for idling on AIM (to avoid missing IMs from people who are only awake when you sleep and such), and for switching computers without having to disconnect. The same convenience can be achieved using screen with an IRC client for IRC (I use Irssi).

      Its much more convenient than GUI stuff when you switch computers a lot during the day. I can leave naim and irssi running in screen while I drive home from work and people can still IM me if they need to for those 30 minutes.

      --
      You can mod your friends, you can mod your nose, but you can't mod your friend's nose.
    2. Re:Why? by _xeno_ · · Score: 5, Interesting
      Anyone else think this isn't so much a strength with the command-line app but a weakness with X?

      I really would like to see that feature added to X. You can (sorta) do it with VNC or Remote Desktop in Windows (sorta means "entire desktop only, not a single app") - it would be really nice if you could take a GUI-based program running on some other computer and "forward" it to your own computer, without restarting the application.

      IMO, that's a weakness of X - something that X should do, and not a strength of the console. They both should do it. As I'm sure everyone knows, screen is incredibly useful. Something like it for X would be really nice, too.

      --
      You are in a maze of twisty little relative jumps, all alike.
    3. Re:Why? by Anonymous Coward · · Score: 1, Interesting

      It does exist. Just use ERC as an IRC client and connect to a BitlBee server.

    4. Re:Why? by kfg · · Score: 2, Interesting

      Well, others have given good answers, so let me take the Socratic approach:

      Why, except in a few rare cases, would you use a graphical enviroment for text based applications on a text cell based machine?

      It seems terribly inconvenient.

      Similarly, as a console user, I jumped into this thread expecting to be able to contribute, but have hit a snag. It seems that most console apps (if we except abandonware) are either under development or are considered done and are merely in maintenence mode.

      Most of the work that goes into developing graphical enviroments is because they are graphical enviroments and must anticipate every possible use, and until they have provided a means for dealing with every possible use they are not "done."

      A console application need only provide a means for the user to define his own use and the shell provides a means for combining those uses in an infinite number of ways.

      "Convenience" is a relative term and can only be defined by your own needs and desires. If your WP has a button on it to make text bold you may well find that more convenient than typing a couple of tags (I, as it happens, do not. I can type tags while touch typing and not removing my fingers from "home". I consider that the very definition of convenience while dealing with text, which finally provides a direct answer to your actual question. If I rambled long enough it was bound to happen I guess).

      If your WP does not provide such a button it may well be very inconvenient to wait for your application's publisher to provide you with one.

      If you are working at the console it may then be convenient to have to write your own script to do what you desire, and the shell, Perl, C, etc. are provided for you at shell level so you can do that. This often applies even if the app is propriatary because ASCII is not. This is the benefit of open standards as opposed to open source.

      Thus most console apps could be considered to be in heavy development all the time, not at the application level, but at the extension level, because people are free to extend them at will, and do. See CPAN.

      Just as ideas of developing and distributing propriatary code may be logically absurd when applied to open source, ideas of graphical applications may be logically absurd when applied to a console application.

      KFG

    5. Re:Why? by OneSeven · · Score: 2, Interesting

      I know that UltraVNC (Win32) can do single windows, This can be extremly handy over slow WAN links. I would imagine that one of the many flavours of VNC available for *nix can do this too.

    6. Re:Why? by generationxyu · · Score: 2, Interesting

      naim and btdownloadcurses.py are probably my favorites, especially when used with screen. Because when I'm home from school, I can leech my parents' lack of bandwidth caps to up my share ratio on bittorrent trackers.

      --
      I mod down pyramid schemes in sigs.
  4. A small SQL analysis app... by tcopeland · · Score: 3, Interesting

    ... that I wrote - PQA - runs only from the console. I could write a Ruby/Tk or a WxWidgits GUI for it... but why bother? As it is, I can feed in all the necessary parameters at the command line and not have to click around a GUI.

    At the same time, it's best to write the code in such a way that a GUI could be put on top of it... but for me, a console interface is good enough for now.

  5. Naim by primal39 · · Score: 5, Interesting

    naim is a great, free, GPL'd instant messaging client. Very featureful, intuitive, and in my opinion one of the best examples of ncurses programming out there.

    --
    Eschew Obfuscation
  6. naim + mp3blaster + links by bhaputi · · Score: 2, Interesting

    Well, I do not quite use console, but since switching to ION (http://modeemi.cs.tut.fi/~tuomov/ion/ ) I have been much more productive in my dual display environment. I run unclutter to hide my mouse, and use naim for instant messaging, links for some browsing, and mp3blaster for music. Oh, and of course xdaliclock to tell me the time.

  7. Nmap by sharp-bang · · Score: 5, Interesting

    This continues to be my port scanner of choice; although it has a pretty front end, it really doesn't need one.

    --
    #!
  8. favorite console programs... by theJerk242 · · Score: 1, Interesting

    NAIM = (AIM for the console and it uses 128bit encrytion too) and of course...the one that EVERYONE knows.....emacs emacs rocks! I do all my coding in emacs.

    --
    Red Bull gave me wings and I flew into the ceiling fan.
  9. Somme little utilities I can't live without... by Taurim · · Score: 3, Interesting

    cd, ls, cp, rm, mv, ln, head, tail, tee, grep, find, awk, sed, cat, more, vi, ps, kill

    Gnome is fine to watch pictures or lauch some useful apps like FireFox, Thunderbird and the like but my most useful graphical app is XTerm... lots of XTerm :-)

  10. Hey, JOE by robslimo · · Score: 5, Interesting

    Pardon me, I'm a WordStar cripple from way back in the early '80s. Got my start coding asm in WordStar on a CP/M machine for a while, then cut my teeth on Turbo Pascal and Turbo C.

    The main draw of the WordStar keystrokes? Your hands never have to stray far from home row. It's incredibly sane.

    Joe's Own Editor (JOE) perpetuates the sanity in the 'nix world.

  11. giFTcurs by mkro · · Score: 3, Interesting

    For P2P, the giFT frontend giFTcurs does the job well. Look, pretty screenshot. All-in-one package for OpenFT, FastTrack, Gnutella and OpenNap.

    --
    I shall go and tell the indestructible man that someone plans to murder him.
  12. Because.... by Anonymous Coward · · Score: 5, Interesting

    I'm a linux newbie really, but even I can answer this...

    1. I might not have a 256M+ of RAM on my system needed to make the current linux GUIs run well.

    2. I might have 256+MB, but since my linux box runs as a webserver, I might not want to bog it down with a GUI.

    3. I might just PREFER CLIs.

    4. And finally, I am a 1337 h4x0r and don't want to use anything that you n00bs might be able to understand.

    I'm being serious so if you were going to mod me funny, don't mod me at all!

  13. Grep and wget by philipx · · Score: 4, Interesting

    I always keep a shell window open and no matter how good the editor/IDE I work with, I could not live without grep. Especially as I can pipe output from one grep to the next and refine (-v) the results till I locate some specific result.

    And for all my downloading needs I use wget. Besides being way out useful for downloading movies (annoying pages that embed movies and controls that don't allow you to save those movies for later enjoyment), flash animations, PDFs, being able to see the dialog with the server (-S) helped me more than once to figure out what was I doing wrong with my web apps.

    --
    __________
    Don't belong. Never join. Think for yourself. Peace!
  14. Re:BitchX by mkro · · Score: 3, Interesting
    irssi is where it's at ;)
    Agreed :) And if you haven't tried it, I recommend the beautiful trackbar.pl for easier overview over your multiple queries. Harder for me to explain how it works than for you to try it, so please, give it a go :)
    --
    I shall go and tell the indestructible man that someone plans to murder him.
  15. Here are my picks... by darketernal · · Score: 3, Interesting

    In no particular order.

    1. irssi - really great, Perl-scriptable, user-friendly curses-based IRC client. HIGHLY RECOMMENDED.

    2. vim - The best editor on Earth, hands down.

    3. w3m - The best console web browser ever. Firstly, it has advanced capabilities for rendering tables. It doesn't do frames as well but those are really hard to do anyway.

    4. pork - An ircII themed AIM client. Great for when you're on the road and only have PuTTY...

    And, who can forget (although many may contend that this does not count...)

    5. apt and dpkg! Dependency-resolving, self-upgrading, cow-mooing, ass-kicking package management system tag team! This is why I swear by Debian.

  16. Great console app I stumbled across... by hackhound · · Score: 2, Interesting

    is called 'tdl'. Short for to do list. You can get it here

  17. Re:For when you're not playing games... by jandrese · · Score: 3, Interesting

    For web browsing, I find that I really like w3m, it handles most basic formatting and does a pretty good job of displaying the page correctly (although a _large_ text terminal is reccomended for some sites). My only complaint is that it does not support Javascript, which makes it unusable on many sites.

    For text editing, how can you forget vim? It's the ultimate text editor. :)

    Because I switch between console and raster modes, I like LICQ as my ICQ client. You can use the qt_gui plugin when you're in raster mode, and the console plugin on the console. This way your contact lists (and more importantly, your history) are saved in the same place. My only complaint is that you have to hack the console plugin because it assumes you have terminals with a black background.

    --

    I read the internet for the articles.
  18. I'd say mc... by Yaa+101 · · Score: 2, Interesting

    mc gives you eyes in the deep dark console caves...

  19. Re:Bittorrent clients by jandrese · · Score: 2, Interesting

    I use the btlaunchmanycurses.py script. It's wonderful. I log into the console on my server (using watch -W /dev/ttyv0), then twiddle the resolution up to 80x50, then start btlaunchmanycurses.py torrents. Now it will automatically download any torrents I drop in the "torrents" directory. If I'm curious how far along a download is, all I have to do is log into the box, watch the v0 terminal, and hit ^L. Once a torrent is done and I've uploaded at least as much as I downloaded, I can stop the torrent by just rming the .torrent file.

    The only minor problem is that if you try to download more torrents than you have screen space for, btlaunchmanycurses will flip out and die. This has generally not been a problem for me.

    --

    I read the internet for the articles.
  20. This article is a troll! by Anonymous Coward · · Score: 1, Interesting

    feh! The article is clearly slated as to imply that console is something old and stagnant. Just because console apps don't bloat like sponges doesn't mean they couldn't kick ass. They do, and severely. I've even converted some windows-admins to linuxhood by constantly demonstrating how to do things they can only dream of with few lines of shell code or perl. :-P

    The example apps, IM and torrents are well taken care of. Bittorrent/bittornado comes with curses clients, which the article submitter must be blind not to notice. Bitlbee handles multi-IM-integration nicely.

    Lynx still remains the fastest web browser to the date, albeit Dillo is making a good challenge. SSH and Screen make remote operations easy and secure and even my favorite editor joe had a facelift recently.

  21. F'ing GStreamer! by DeltaSigma · · Score: 2, Interesting

    It was covered on slashdot back in 2001, but it's so cool for streamable media.

    I guess there's guis for it, but who cares! If it's streamable media (audio/video) then you can take it from anywhere (internet, hard disk, line input, cd player) do anything to it (volume normalization, decoding, encoding, anything you have a plug-in for) and put it anywhere (internet, hard disk, line out).

    I can't believe people don't rave about this!

  22. Re:playlists, sounds over complicated by kfg · · Score: 2, Interesting

    You've been modded as "Funny." I would have modded you as "Insightful," because yes, that is exactly what stdin is for.

    In fact, if you look at the code and it's doing anything more than running stdin I'd say the programer didn't understand the console enviroment.

    One of the possible negative results of more people raised in a graphical enviroment finding the joys and power of the console shell is that they'll expect to use the console shell in the same manner that they used the graphical shell and we'll see more "feeping creaturitus" in console apps.

    KFG

  23. Damn it, what are you guys smoking! by Hackeron · · Score: 2, Interesting

    How on earth could you forget bitlbee, cplay and mplay!?

    That allows you to use your irc console of choise, be it bitchX/irssi to connect to msn/aim/yim/icq/jabber -- I use irssi in a detacheable screen session connected to bitlbee to talk to those few people still on msn, and all my pals on jabber.

    Also, what about the nicest console audio player? -- my choice is cplay at the moment, but mplay is getting close.

    The advantage of mplay over cplay is that it uses mplayer instead of splay. I did a test, and found out splay takes nearly twice the CPU load as mplayer, so a console player based on mplayer is a clear winner, but it needs some more polish first.

    Anyway, shame on you!

  24. Framebuffer Console by fishbowl · · Score: 4, Interesting

    I think a lot of people who use console apps don't realize that you can get high resolution text consoles using the framebuffer support, and that it is even possible to get high resolution, accelerated graphics modes without using X.

    I find the framebuffer console to be the ultimate interface, period. I am especially fond of the 160x64 character mode, and sometimes use higher resolutions than that. However, in recent kernels, that is, since 2.5 and all through 2.6, the framebuffer support has been very broken for all three video devices where I need it, Radeon 8500LE, Trident Cyberblade/A1, and NForce2.

    On some of these, I can compromise and still use vesafb, but not on the NForce. The kernel developers do not seem concerned at all with this problem, and 2.6.x kernels continue to be released with broken framebuffer console drives marked as stable.

    I think too many people think of 80 column screens when they think of the console, and that I am very much in the minority in that I greatly prefer the native console in linux, together with fbconsole for wider screens, to ANY X terminal solution.
    Nevertheless, I don't understand how such a significant feature makes it into a stable kernel without being marked as experimental, when it is clearly broken.

    In particular, the device for the Radeon really bothers me, because it worked perfectly in 2.4, and then broke for 2.6, and remains broken despite my persistent reports.

    --
    -fb Everything not expressly forbidden is now mandatory.
  25. console advantage? by joNDoty · · Score: 4, Interesting

    OK, here's a very serious question. I swear, this is not flamebait. My question is, what really is attractive about the console over using a mouse and a GUI? I mean, I understand there's repeatablility in scripting and such, and in some cases typing a command is faster than clicking an icon, but isn't almost everything else more tedious and difficult? I'm talking things like looking at the contents of multiple windows at once. Drag n Drop. The ability to move the cursor anywhere in a document with a click rather than a series of keystrokes. I mean, even the super-popular editors like emacs and such just imitate a window using ASCII art. So for serious. Why do so many of us insist on using console apps wherever possible?

  26. Re:For when you're not playing games... by mamba-mamba · · Score: 2, Interesting
    It takes me back to wasting hours in the various UC Santa Cruz computer labs.

    Heh. I remember people waiting in login queues to get onto UCSCB to play tetris. And there was an addict flag, IIRC, which would cause the game to log you off when it terminated.

    I never got that into it, for some reason. Too busy "talk"-ing and "finger"-ing people, maybe.

    Did you ever play mtrek? I remember the chalkboard slogans: "Mtrek is better than sex." And people would have raucous, epic battles. Sometimes large groups of people would be together in the same computer room, and the other players wouldn't necessarily know they were collaborating with each other.

    Thanks for reminding me about all that stuff.

    MM
    --

    --
    By including this sig, the copyright holders of this work or collection unreservedly place it in the public domain.
  27. Ecasound by fucksl4shd0t · · Score: 2, Interesting

    Ecasound is the best recording application you can get, and it's all console, baby. Wow. ;)

    --
    Like what I said? You might like my music