OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Debian => Topic started by: jpmatrix on November 22, 2007, 06:09:21 pm

Title: Debian Eabi Console Mode Powered :)
Post by: jpmatrix on November 22, 2007, 06:09:21 pm
Installed today:

-calcurse : calendar, todos & tasks

-irssi : irc

-ncftp : ftp, but i prefer to use mc

-moc : music player
 start it with mocp
 then run alsamixer and set "jack function" to headphone to have sound working (at last!) in headphones !

-raggle : rss reader

-iptraf : network monitor

- - crash on launch...i've to try another one (finch?)
Title: Debian Eabi Console Mode Powered :)
Post by: Vitel on November 22, 2007, 06:28:26 pm
In addition to the utils mentioned above, that's what I use:
browser: elinks
e-mail client: mutt
multiprotocol IM client: finch
dictionary: sdcv
console image viewer: fbi

BTW, has anyone tried to write console cpu overclocker?
Title: Debian Eabi Console Mode Powered :)
Post by: flux on November 22, 2007, 11:35:43 pm
hello
that's a topic for me, who work about only in console...
so resume :

screen of course... for "all"

abook  -> adresse book
mutt    -> mail client
irssi     -> irc (may do multi - IM)
snownews   -> rss reader
slrn     -> nntp reader
lftp     ->  ftp (of course...)
w3m-img   ->   w3m with image !!!
imagemagick    ->  to display, conveert, composite (...) image.... the gimp in console.
cmus    -> musique
mplayer -> musique and film
tmsnc  -> msn client
weather  ->  to get the weather
cron / at   ->  you know what it does, right ?
conky  --> to replace gkrellm
and... vim , and TeX
bc  -> calculator
for, while, case, until, grep, sed, awk (...) -> some bash-scripting that permit me not to launch some heavy programs and to print information i need only with a tail -f of the file i'm creating with the info.



@vitel : i wrote the   cpuoverclock.sh  .... you want it ? come on   #debian-zaurus  @irc.freenode.net
i'm sorry, i prefer not to put here for the moment the url because of the google bots... and my "site" isn't "finished" yet... so i'll give the url to anyone wants on the irc channel i just told before. sorry. (maybe i'll put it in topic).
Title: Debian Eabi Console Mode Powered :)
Post by: flux on November 22, 2007, 11:51:55 pm
well, i forgot to tell

my cpuoverclock is mostly inspire by cpuoverclock.py  , that we have with install of yonggun kernel
it seems that not all of you will be able to launch this script, because you wouldn't have correct directory, correct program to change the cpu-freq...
for the moment, you normally would'nt have any problem if you're using a PXA-270 with debian with 2.6.23.1-yonggun  (it's my config, i wrote it originally for this one).
let me know, please, your config, and where would be the files/directory in your system, that i adapt the script for support most config.
the script test if you have the directory/prog ... it'll tell you if you don't. so please, again, tell me how it fails on your box, and your config, in order it would begin "portable", for the fit of everyone.

note : frequencies : 416  and  624  ->  woks perfect
          frequencies : 104, 208 and 520  -> some screen flickering sometimes. annoying.  but is it dangerous ? (i mean, if the screen is turn off, and we run this mode (104, 208) in order to save cpu ... would it do a problem ? to dig...)
          frequency : 312 -> bug  freezing (very discretly) the zaurus... all seems to work at the beginning, but the more you try something, it just freeze, then another, freeze too... then you try  to  "sudo /sbin/reboot" ... and you just have to pull off battery and power cable.  will it do the same at your home ?

if someone has   cpuoverclock.py on a yonggun kernel, could he try, before trying my script, to see if same problems as the ones describe above happens (it should, because the shell command is the same on  cpuoverclock.{py,sh} .
Title: Debian Eabi Console Mode Powered :)
Post by: jpmatrix on November 23, 2007, 01:25:10 am
Quote from: flux
hello
that's a topic for me, who work about only in console...
so resume :

yeah i thought about you when i created this topic

i've just tried centericq and it segfaults on launch (quickly)....
i'll try finch later
Title: Debian Eabi Console Mode Powered :)
Post by: ZDevil on November 23, 2007, 04:44:47 am
To me, Emacs is the virtual OS when it comes to console mode.  
(I will compile and package the latest Emacs23 very soon.   )
Title: Debian Eabi Console Mode Powered :)
Post by: jpmatrix on November 23, 2007, 09:55:56 am
Quote from: jpmatrix
-moc : music player
 start it with mocp
 then run alsamixer and set "jack function" to headphone to have sound working (at last!) in headphones !

oh i've just discovered that moc put some information in the "screen" (the console mode window manager) toolbar !
cool!
Title: Debian Eabi Console Mode Powered :)
Post by: jpmatrix on November 23, 2007, 01:18:20 pm
Quote from: flux
weather  ->  to get the weather

little howto so far:

1) apt-get install weather-util

2) nano ~/.weatherrc

[default]
City = Paris Le Bourget
ID = LFPB            : find it on http://www.weather.gov/tg/siteloc.shtml (http://www.weather.gov/tg/siteloc.shtml)

3) then type "weather" to have a weather report
Title: Debian Eabi Console Mode Powered :)
Post by: Moad-Dib on January 03, 2008, 07:39:49 pm
Hello, i would like to had the battery status in the hardstatus of screen ; i've a slc-3100 with OABI titchy installed. Could help me please. Thanks
Title: Debian Eabi Console Mode Powered :)
Post by: scottlfa on January 03, 2008, 09:21:17 pm
I did an simple file for it;

Called it BAT made it executable;
Code: [Select]
#!/bin/sh
cat /proc/apm

Outputs the present battery % in the console
Title: Debian Eabi Console Mode Powered :)
Post by: Vitel on January 04, 2008, 02:09:36 am
Quote from: scottlfa
I did an simple file for it;

Called it BAT made it executable;
Code: [Select]
#!/bin/sh
cat /proc/apm

Outputs the present battery % in the console
You can simply run 'apm' command with no arguments, it does exactly the same thing.
Title: Debian Eabi Console Mode Powered :)
Post by: jpmatrix on January 04, 2008, 04:05:28 am
Quote from: Vitel
Quote from: scottlfa
I did an simple file for it;

Called it BAT made it executable;
Code: [Select]
#!/bin/sh
cat /proc/apm

Outputs the present battery % in the console
You can simply run 'apm' command with no arguments, it does exactly the same thing.

it would be great to have it in the "screen" bottom status bar. anyone have find a way to have it next to the time for example?
Title: Debian Eabi Console Mode Powered :)
Post by: scottlfa on January 04, 2008, 07:05:08 pm
Did not know that, thanks Vitel
Title: Debian Eabi Console Mode Powered :)
Post by: laan on January 07, 2008, 06:52:45 am
xbatt
Title: Debian Eabi Console Mode Powered :)
Post by: jpmatrix on January 07, 2008, 07:13:59 am
Quote from: laan
xbatt

we're talking in this thread about console mode solutions  so outside of X
Title: Debian Eabi Console Mode Powered :)
Post by: LinuxGadget on January 07, 2008, 03:52:25 pm
/rumours on

I saw somewhere some screenshots, that conky was able to do that in the bar of screen, but haven't tried it for myself.

/rumours off


Quote from: jpmatrix
Quote from: laan
xbatt

we're talking in this thread about console mode solutions  so outside of X
Title: Debian Eabi Console Mode Powered :)
Post by: LinuxGadget on January 08, 2008, 02:36:03 pm
Sorry guys,

i have to correct myself. Have been googling yesterday all evening for conky+apm+gnu screen, but didn't find anything usefull.
Conclusion: maybe impossible?    

But a little script in your shell-prompt could do the trick? You could export a variable including the script, and read this variable in your prompt.

Little example, shameless stolen from http://blog.pimpmyshell.de/ (http://blog.pimpmyshell.de/), great website for console lovers, but it's in german.

Code: [Select]
PWDTEST=’if [ ${#PWD} -gt 40 ];then echo -e “\n>”;else echo -e “>”;fi’
export PS1=”$RED\u$NC@$YELLOW\h$NC:$GREEN\w$NC\$($PWDTEST) ”

Link to the article:

http://blog.pimpmyshell.de/2007/12/10/pimp-your-prompt/ (http://blog.pimpmyshell.de/2007/12/10/pimp-your-prompt/)
Title: Debian Eabi Console Mode Powered :)
Post by: 2or0 on January 08, 2008, 07:40:05 pm
Here is a simple screenrc file and the script to show some useful informations on console. After installing 'screen', extract attached file on home directory. That's all.

Because the attached file has .bashrc file, you will lose your setting if you are not careful.

 [ You are not allowed to view attachments ]  


 [ You are not allowed to view attachments ]
Title: Debian Eabi Console Mode Powered :)
Post by: jpmatrix on January 09, 2008, 07:40:50 am
Quote from: 2or0
Here is a simple screenrc file and the script to show some useful informations on console. After installing 'screen', extract attached file on home directory. That's all.

Because the attached file has .bashrc file, you will lose your setting if you are not careful.

 [ You are not allowed to view attachments ]  


 [ You are not allowed to view attachments ]

whow thank you, that looks terrible! i'll let you know about it !
Title: Debian Eabi Console Mode Powered :)
Post by: jpmatrix on January 10, 2008, 05:25:57 pm
Quote from: jpmatrix
Quote from: 2or0
Here is a simple screenrc file and the script to show some useful informations on console. After installing 'screen', extract attached file on home directory. That's all.

Because the attached file has .bashrc file, you will lose your setting if you are not careful.

 [ You are not allowed to view attachments ]  


 [ You are not allowed to view attachments ]

whow thank you, that looks terrible! i'll let you know about it !

you rock! it works! thank you again!
Title: Debian Eabi Console Mode Powered :)
Post by: Moad-Dib on January 10, 2008, 06:38:54 pm
Exactly what i was searching for thanks i'll try it
Title: Debian Eabi Console Mode Powered :)
Post by: Moad-Dib on January 10, 2008, 06:40:22 pm
Exactly what i was searching for thanks i'll try it.
Title: Debian Eabi Console Mode Powered :)
Post by: qaz on January 12, 2008, 07:19:03 pm
I just discovered aniword - the fastest and easiest way to read msword documents on such small screen.
Title: Debian Eabi Console Mode Powered :)
Post by: flux on January 12, 2008, 07:27:44 pm
about screenrc.tar.gz :

i'm really unhappy with it, because i "tar zxvf" it in my   " ~ " directory, and it erase my  ".bashrc" to put a new one... i lost all my bash config, and that sucks a lot.

Be careful guys.
Title: Debian Eabi Console Mode Powered :)
Post by: jpmatrix on January 12, 2008, 08:17:36 pm
Quote from: flux
about screenrc.tar.gz :

i'm really unhappy with it, because i "tar zxvf" it in my   " ~ " directory, and it erase my  ".bashrc" to put a new one... i lost all my bash config, and that sucks a lot.

Be careful guys.

flux!
if you read 2orO post, it says :
"Because the attached file has .bashrc file, you will lose your setting if you are not careful."

 
Title: Debian Eabi Console Mode Powered :)
Post by: flux on January 13, 2008, 12:28:23 am
right, i'm ashamed about my post,while you pointed it to meu
i  followed jpmatrix post on irc without looking to 20r0 said, it's all my fault.
i fucked up, that's my fault
Title: Debian Eabi Console Mode Powered :)
Post by: 2or0 on January 13, 2008, 05:59:01 am
Quote from: flux
about screenrc.tar.gz :

i'm really unhappy with it, because i "tar zxvf" it in my   " ~ " directory, and it erase my  ".bashrc" to put a new one... i lost all my bash config, and that sucks a lot.

Be careful guys.

Sorry to hear that.