![]() |
How to repeat your last entry/command/typing?
a) is there a command similar to DOS/F3, where it repeats your last typing/entry?
b) is there a program/function key where one can customize common typings so to minimize key strokes, e.g. sudo gainroot, exit, cat /proc/partitions, free, /media/mmc1....etc c) if NO to the above, will osso-statusbar-cpu which has a command feature, be customized for the above purpose? If all NO to the above, how does one enter repetitive entries either during tablet use or xterm use? TIA, bun |
Re: How to repeat your last entry/command/typing?
Press d-pad up to cycle through the history.
Code:
alias <shortcut>="<command>" Code:
alias cdl="cd $1;ls -al" |
Re: How to repeat your last entry/command/typing?
Install bash, then you will be able to do the "bang bang" ( http://www.csee.umbc.edu/courses/und...lec06/01.shtml )
|
Re: How to repeat your last entry/command/typing?
Quote:
http://www.makikiweb.com/n800/downlo...1.17.armel.deb Download to your n800, then after becoming root (with sudo gainroot) type: dpkg -i bash_alone-3.1.17.armel.deb After the install, just type bash on the prompt, and you are ready to go with bangs and aliases! Craig... |
Re: How to repeat your last entry/command/typing?
Quote:
Code:
BusyBox v1.6.1 (2007-09-27 18:08:59 EEST) Built-in shell (ash) |
Re: How to repeat your last entry/command/typing?
Yup, aliases work here under ash just fine, including the pile I normally use on the desktop box :-).
|
Re: How to repeat your last entry/command/typing?
Quote:
Where does one place one's aliases in ash, so they are read in automagically? Craig... |
Re: How to repeat your last entry/command/typing?
I'm guessing, but did you try ~/.ashrc?
|
Re: How to repeat your last entry/command/typing?
~/.ashrc doesn't seem to work (for aliases) :(
|
Re: How to repeat your last entry/command/typing?
Add your aliases to your .profile as user (located at /home/user/.profile).
Once you're done: $ sudo gainroot # source /home/user/.profile # exit Your aliases should work now as user. |
Re: How to repeat your last entry/command/typing?
You've got a 4 button thingy, right? Up gets you the previous command, even in ash (busybox), at least in os2008 on the n800. The other arrow buttons let you move around, and you can type in the middle and edit. Hit return, and it flies.
I had bash installed on my 770, and as a Unix guru, didn't even try the buttons. Do they work in OS2006? When my 770 is fixed (if it gets fixed), i'll want to know. |
All times are GMT. The time now is 18:42. |
vBulletin® Version 3.8.8