maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   what is this app runing on terminal? (https://talk.maemo.org/showthread.php?t=34654)

asidana 2009-11-17 19:06

what is this app runing on terminal?
 
http://www.linuxjournal.com/ufiles/screenshot01.png

http://www.linuxjournal.com/ufiles/screenshot01.png

Relativistic 2009-11-17 19:12

Re: what is this app runing on terminal?
 
http://irssi.org/

asidana 2009-11-17 19:19

Re: what is this app runing on terminal?
 
that is coolest irc client i've ever seen.

asidana 2009-11-17 19:20

Re: what is this app runing on terminal?
 
i am quite new to linux world. is there any arm build of it?

mikkov 2009-11-17 19:29

Re: what is this app runing on terminal?
 
Quote:

Originally Posted by asidana (Post 379680)
that is coolest irc client i've ever seen.

Irssi is de facto standard terminal based irc client. Out of curiosity what makes it so cool?

asidana 2009-11-17 19:35

Re: what is this app runing on terminal?
 
as i said i am very new to linux and life on the command line and looks cool to me. has it got arm build?

asidana 2009-11-17 19:37

Re: what is this app runing on terminal?
 
found it http://maemo.org/downloads/product/OS2006/irssi/

timoph 2009-11-17 19:50

Re: what is this app runing on terminal?
 
That is actually ssh connection to server running irssi in screen :) I've been doing this with N810 and continue to do so with N900.

Ssh client is available for Maemo 5 but irssi isn't yet. At least I coudn't find it. I hope that someone make irssi available for Maemo 5 too. It's the irc client for me.

chemist 2009-11-17 20:10

Re: what is this app runing on terminal?
 
Quote:

Originally Posted by mikkov (Post 379698)
Irssi is de facto standard terminal based irc client. Out of curiosity what makes it so cool?

you can just do anything you like with it! its to IRC what mutt is to email, what centerIM is for IM. perl scripting, multiple windows, bouncing, colours and text style and so on. if you like to work in text-only mode this is your choice for IRC.
the settings you see in the pic are quiet easy!
from top to bottom
channel topic
statusbar with [current channel][nick][activity][dontknow maybe channels]
channel
textinput

the last line is not a typical irssi statusline, as far as I see its a screen statusbar (could be part of irssi but I doubt it)
means: irssi is actualy not running at the n900!
he ssh'ed to another machine were he uses "screen" (another powerfull console tool) to have multiple shells and in one of those is irssi running

joppu 2009-11-17 20:14

Re: what is this app runing on terminal?
 
You are supposed to keep your GNU/Linux equipped server (or desktop) on 24/7 and have it running a SSH server and Irssi in a program called screen. Forward port 22 on your router to the correct IP and they you can simply type
Quote:

ssh ip_address_here
on any Linux terminal to continue your IRC session. For windows you'll need a client called PuTTY.

More info here

ossipena 2009-11-17 20:18

Re: what is this app runing on terminal?
 
Quote:

Originally Posted by mikkov (Post 379698)
Irssi is de facto standard terminal based irc client. Out of curiosity what makes it so cool?

it can't be cool because it is so easy to use that kids can learn it in couple of hours.

ircII is much better :D

http://upload.wikimedia.org/wikipedi...5141!Ircii.png

chemist 2009-11-17 20:35

Re: what is this app runing on terminal?
 
Quote:

Originally Posted by ossipena (Post 379785)
ircII is much better :D

ah ok ircII looks pretty unsupported, last release with lastyears code, that the current build shows todays date could be due to auto building... to be cool you telnet your irc msgs!

joppu 2009-11-18 13:35

Re: what is this app runing on terminal?
 
The incredible power of SSH, screen and irssi lets me continue my IRC sessions even on my S60 phone.

http://imgkk.com/i/jzev1z.jpg

greenfly 2009-11-18 20:23

Re: what is this app runing on terminal?
 
That was my screenshot. I was sshed from the n900 into my 24x7 server that has a screen session with the irssi IRC client in it. The status bar along the bottom is a custom thing set up for screen that has little text widgets to tell me, things like whether I have new email and, when someone talks to me in IRC.

I think even if irssi were ported to the n900 I'd still connect to the same remote session like I do with all of my other computers.

chemist 2009-11-18 20:39

Re: what is this app runing on terminal?
 
Quote:

Originally Posted by greenfly (Post 381285)
That was my screenshot. I was sshed from the n900 into my 24x7 server that has a screen session with the irssi IRC client in it. The status bar along the bottom is a custom thing set up for screen that has little text widgets to tell me, things like whether I have new email and, when someone talks to me in IRC.

I think even if irssi were ported to the n900 I'd still connect to the same remote session like I do with all of my other computers.

how do you do the widgetting for email and IRC? I didn't get that working ever....
btw my statuslines all look something like this but colours are different on each server
Code:

hardstatus alwayslastline "%{ck}%?%-w%?[%n*%f %t]%?%+Lw%?%=| %{..W}[%l] %{..G}%2`@%H %{..Y} %D %d/%m/%Y %c"
Code:

$bash  | $load $user@$host  $DOW $date $time

greenfly 2009-11-18 21:01

Re: what is this app runing on terminal?
 
Quote:

Originally Posted by chemist (Post 381301)
how do you do the widgetting for email and IRC? I didn't get that working ever....
btw my statuslines all look something like this but colours are different on each server
Code:

hardstatus alwayslastline "%{ck}%?%-w%?[%n*%f %t]%?%+Lw%?%=| %{..W}[%l] %{..G}%2`@%H %{..Y} %D %d/%m/%Y %c"
Code:

$bash  | $load $user@$host  $DOW $date $time


Here's my hardstatus string:

Code:

hardstatus string '%{= w}%Y-%m-%d %c:%s%{= w}|%= |%{+b r}%101`%{-}|%{+b g}%103`%{-}|%{+b b}%105`%{-}|%{= y}%107`%{= w}'
The %101`, %102`, etc. correspond to the "backtick" parameter in the screenrc. You can basically plug in a script that executes and its output will be put in place of those operators. For instance, the mail script is referenced in screenrc like so:

Code:

backtick 105 60 60 /path/to/custom/fetchmail.pl
That fetchmail.pl is a short script I wrote that runs fetchmail -c, parses it, and outputs folders with new mail. It's short enough I'll paste it here:

Code:

#!/usr/bin/perl

open FETCHMAIL, "/usr/bin/fetchmail -t 10 -c 2>/dev/null |" or die "Can't run fetchmail: $!\n";

while(<FETCHMAIL>){
  if(/^(\d+) messages \((\d+) seen.*?folder (.*?)\)/){
      $m+=$1; $s+=$2; $f=$3;
      $f =~ s/INBOX\.//;  #my IMAP server adds INBOX in front of each folder
  }
  if($1 > $2){
      $fs{$f} = $1 - $2;
  }
}
close FETCHMAIL;
$t = $m - $s;

if($t > 0){
  foreach $folder (sort { $fs{$a}<=>$fs{$b} } keys %fs){
      push @folders, "$folder:$fs{$folder}";
  }
}
print join " ", @folders;


chemist 2009-11-18 21:09

Re: what is this app runing on terminal?
 
thanks, I am not into perl that much but this does download the folders local and looks up if the count of msgs changed to a higher number as it been before?

greenfly 2009-11-18 21:11

Re: what is this app runing on terminal?
 
Quote:

Originally Posted by chemist (Post 381342)
thanks, I am not into perl that much but this does download the folders local and looks up if the count of msgs changed to a higher number as it been before?

The -c argument to fetchmail tells it to just show you your folder status but it doesn't download anything. You, of course, need to have fetchmail already configured to connect to your remote IMAP server.

chemist 2009-11-18 21:35

Re: what is this app runing on terminal?
 
never used fetchmail, was just looking into man pages ;) how does the irssi highlight light up your statusbar (thats even more interesting, would write plugins if I learn perl some time...)

Quote:

Originally Posted by qole (Post 381357)
X-Chat has a reasonable port for the N900, too. But it isn't nearly as hardcore geeky as what greenfly, joppu, timoph, and chemist are doing... :)

You can probably run a local version of irssi on your N900 with Easy Debian. I'm not going to bother trying, however...

shouldnt be a problem to port irssi to maemo5 as there is a earlier port and also debian is available for arm...
http://www.debian.org/ports/arm/


All times are GMT. The time now is 10:18.

vBulletin® Version 3.8.8