Re: console command history
Carsten Gerlach ha scritto: Hi, Am Dienstag 14. Oktober 2008 3:13:14 am schrieb Joel Newkirk: On Mon, 13 Oct 2008 22:26:10 +0100, Stroller wrote Isn't it in .bashrc or .bash_profile? Stroller. it is for bash, but OM distros are using an sh/ash replacement builtin to busybox. ~/.bashrc is for bash. What is the corresponding file for sh/ash? ~/.ashrc? or ~/.shrc? Greetings, Carsten I use ~/.profile and it seems to work :) My 2 cents ;) ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: console command history
papa-piet a écrit : Fox Mulder schrieb: I didn't try it with 2008.9 because i only use debian I did. shh into your Neo workerd for me, but scp didn't, it looked like a timeout. Greetings Same behavior here, with bash I can ssh, but not scp. Here is the end of a scp -vvv with sh : http://pastebin.com/m475828a Here is the end of a scp -vvv with bash : http://pastebin.com/m5164a60e With bash I cannot : scp localfile [EMAIL PROTECTED]:/tmp nor scp [EMAIL PROTECTED]:/tmp/file localfile Xavier. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: console command history
On Thu, 16 Oct 2008 14:12:26 +0200, Xavier Cremaschi [EMAIL PROTECTED] wrote: papa-piet a écrit : Fox Mulder schrieb: I didn't try it with 2008.9 because i only use debian I did. shh into your Neo workerd for me, but scp didn't, it looked like a timeout. Greetings Same behavior here, with bash I can ssh, but not scp. Here is the end of a scp -vvv with sh : http://pastebin.com/m475828a Here is the end of a scp -vvv with bash : http://pastebin.com/m5164a60e With bash I cannot : scp localfile [EMAIL PROTECTED]:/tmp nor scp [EMAIL PROTECTED]:/tmp/file localfile Xavier. Interesting. I usually use SFTP instead of SCP, just a matter of habit. I tested (Raster's prior image + FSO, uname -a gives Linux iota.newkirk.us 2.6.24 #1 PREEMPT Fri Sep 26 14:13:25 EST 2008 armv4tl unknown) and both sftp and scp work for me as expected, with root:Kepdp5b2.52RA:0:0:root:/home/root:/bin/bash in /etc/passwd. Oh, and I have a root password set. I've not tested with ssh-key, since I don't have that handy here at work. My suspicions fall on either differing dropbear (Dropbear sshd v0.51) config or different bash packages. (GNU bash, version 3.2.39(1)-release (arm-angstrom-linux-gnueabi), installed from FSO repository) j ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: console command history
Hi, Am Donnerstag 16. Oktober 2008 9:41:33 am schrieb DJDAS: I use ~/.profile and it seems to work :) yes, this works good, thank you. Now I can use aliases :-) Greetings, Carsten -- Hier ist mein öffentlicher GPG-Schlüssel: http://daswaldhorn.funpic.de/gpg.html = www.stopptdievorratsdatenspeicherung.de signature.asc Description: This is a digitally signed message part. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: console command history
Joel Newkirk wrote: On Thu, 16 Oct 2008 14:12:26 +0200, Xavier Cremaschi [EMAIL PROTECTED] wrote: papa-piet a écrit : Fox Mulder schrieb: I didn't try it with 2008.9 because i only use debian I did. shh into your Neo workerd for me, but scp didn't, it looked like a timeout. Greetings Same behavior here, with bash I can ssh, but not scp. Here is the end of a scp -vvv with sh : http://pastebin.com/m475828a Here is the end of a scp -vvv with bash : http://pastebin.com/m5164a60e With bash I cannot : scp localfile [EMAIL PROTECTED]:/tmp nor scp [EMAIL PROTECTED]:/tmp/file localfile Xavier. Interesting. I usually use SFTP instead of SCP, just a matter of habit. I tested (Raster's prior image + FSO, uname -a gives Linux iota.newkirk.us 2.6.24 #1 PREEMPT Fri Sep 26 14:13:25 EST 2008 armv4tl unknown) and both sftp and scp work for me as expected, with root:Kepdp5b2.52RA:0:0:root:/home/root:/bin/bash in /etc/passwd. Oh, and I have a root password set. I've not tested with ssh-key, since I don't have that handy here at work. My suspicions fall on either differing dropbear (Dropbear sshd v0.51) config or different bash packages. (GNU bash, version 3.2.39(1)-release (arm-angstrom-linux-gnueabi), installed from FSO repository) The first thing i always did on my different distros was to replace bash-busybox with real bash and replace dropbear with openssh. Maybe you should try this combo to get scp to work again because i never got any problems with it. Ciao, Rainer ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: console command history
W.Kenworthy wrote: On Mon, 2008-10-13 at 22:21 -0400, Joel Newkirk wrote: On Tue, 14 Oct 2008 12:29:59 +1100, Sarton O'Brien [EMAIL PROTECTED] wrote: On Tuesday 14 October 2008 12:17:06 Joel Newkirk wrote: On Mon, 13 Oct 2008 23:21:18 +0200, Fox Mulder [EMAIL PROTECTED] wrote: If you use bash on OM than do it the same way how it is done in a normal linux pc. You must export HISTFILESIZE=1000 to set the number of lines saved to 1000. Just put this command in an adequate file to be executed at start like profile or bashrc. Ciao, Rainer Indeed, but how then do I tell it to use bash instead of ash for Terminal and ssh? vi /etc/passwd? Sarton (Ok, I'll go sit in the corner for five minutes wearing the stupid hat... I already knew that from desktop/server context but for some reason my brain just didn't make the connection...) Thanks. j be aware that doing this used to break X and other things during boot-up - not sure why but funny things happened ... Only work around I found was to log in as usual, and type bash at the command prompt. Be interesting to see if this is still the case ... The busybox-bash doesn't support all features the real bash does why i installed the bash from the repository. I only did this with 2007.2 and it works flawless. I didn't try it with 2008.9 because i only use debian on my neo at the monent. To use bash i only had to edit passwd and nothing else. Ciao, Rainer ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: console command history
Fox Mulder schrieb: I didn't try it with 2008.9 because i only use debian I did. shh into your Neo workerd for me, but scp didn't, it looked like a timeout. Greetings ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: console command history
El lun, 13-10-2008 a las 17:02 -0400, Joel Newkirk escribió: How can I enlarge the console command history? I'm used to being able to peruse hundreds of lines of previous commands in bash, the limit to ~16 lines is maddening. j I want to know how to do is too, I'm one os those lazy up arrow smashers :) ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: console command history
If you use bash on OM than do it the same way how it is done in a normal linux pc. You must export HISTFILESIZE=1000 to set the number of lines saved to 1000. Just put this command in an adequate file to be executed at start like profile or bashrc. Ciao, Rainer David Samblas wrote: El lun, 13-10-2008 a las 17:02 -0400, Joel Newkirk escribió: How can I enlarge the console command history? I'm used to being able to peruse hundreds of lines of previous commands in bash, the limit to ~16 lines is maddening. j I want to know how to do is too, I'm one os those lazy up arrow smashers :) ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: console command history
On 13 Oct 2008, at 22:02, Joel Newkirk wrote: How can I enlarge the console command history? I'm used to being able to peruse hundreds of lines of previous commands in bash, the limit to ~16 lines is maddening. Isn't it in .bashrc or .bash_profile? Stroller. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: console command history
On Mon, 13 Oct 2008 22:26:10 +0100, Stroller [EMAIL PROTECTED] wrote: On 13 Oct 2008, at 22:02, Joel Newkirk wrote: How can I enlarge the console command history? I'm used to being able to peruse hundreds of lines of previous commands in bash, the limit to ~16 lines is maddening. Isn't it in .bashrc or .bash_profile? Stroller. it is for bash, but OM distros are using an sh/ash replacement builtin to busybox. j ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: console command history
On Tuesday 14 October 2008 12:17:06 Joel Newkirk wrote: On Mon, 13 Oct 2008 23:21:18 +0200, Fox Mulder [EMAIL PROTECTED] wrote: If you use bash on OM than do it the same way how it is done in a normal linux pc. You must export HISTFILESIZE=1000 to set the number of lines saved to 1000. Just put this command in an adequate file to be executed at start like profile or bashrc. Ciao, Rainer Indeed, but how then do I tell it to use bash instead of ash for Terminal and ssh? vi /etc/passwd? Sarton ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: console command history
On Mon, 13 Oct 2008 23:21:18 +0200, Fox Mulder [EMAIL PROTECTED] wrote: If you use bash on OM than do it the same way how it is done in a normal linux pc. You must export HISTFILESIZE=1000 to set the number of lines saved to 1000. Just put this command in an adequate file to be executed at start like profile or bashrc. Ciao, Rainer Indeed, but how then do I tell it to use bash instead of ash for Terminal and ssh? j ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: console command history
On Tue, 14 Oct 2008 12:29:59 +1100, Sarton O'Brien [EMAIL PROTECTED] wrote: On Tuesday 14 October 2008 12:17:06 Joel Newkirk wrote: On Mon, 13 Oct 2008 23:21:18 +0200, Fox Mulder [EMAIL PROTECTED] wrote: If you use bash on OM than do it the same way how it is done in a normal linux pc. You must export HISTFILESIZE=1000 to set the number of lines saved to 1000. Just put this command in an adequate file to be executed at start like profile or bashrc. Ciao, Rainer Indeed, but how then do I tell it to use bash instead of ash for Terminal and ssh? vi /etc/passwd? Sarton (Ok, I'll go sit in the corner for five minutes wearing the stupid hat... I already knew that from desktop/server context but for some reason my brain just didn't make the connection...) Thanks. j ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: console command history
On Tuesday 14 October 2008 13:21:21 Joel Newkirk wrote: vi /etc/passwd? Sarton (Ok, I'll go sit in the corner for five minutes wearing the stupid hat... I already knew that from desktop/server context but for some reason my brain just didn't make the connection...) Thanks. Hehe, don't stress :) I grew up on BSD (94/95) which has always been pretty baron so for a good long while before most of the automation existed, I did everything by hand and then continued doing it even when I didn't have to :S chsh was the first thing I checked for though :) Everything is so abstract now it's easy to forget the bottom layer. Sarton ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: console command history
On Mon, 2008-10-13 at 22:21 -0400, Joel Newkirk wrote: On Tue, 14 Oct 2008 12:29:59 +1100, Sarton O'Brien [EMAIL PROTECTED] wrote: On Tuesday 14 October 2008 12:17:06 Joel Newkirk wrote: On Mon, 13 Oct 2008 23:21:18 +0200, Fox Mulder [EMAIL PROTECTED] wrote: If you use bash on OM than do it the same way how it is done in a normal linux pc. You must export HISTFILESIZE=1000 to set the number of lines saved to 1000. Just put this command in an adequate file to be executed at start like profile or bashrc. Ciao, Rainer Indeed, but how then do I tell it to use bash instead of ash for Terminal and ssh? vi /etc/passwd? Sarton (Ok, I'll go sit in the corner for five minutes wearing the stupid hat... I already knew that from desktop/server context but for some reason my brain just didn't make the connection...) Thanks. j be aware that doing this used to break X and other things during boot-up - not sure why but funny things happened ... Only work around I found was to log in as usual, and type bash at the command prompt. Be interesting to see if this is still the case ... BillK ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community