OESF Portables Forum
Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Linux Applications => Topic started by: andresgriego on February 15, 2006, 01:35:15 pm
-
2 questions if I may.
1. I just installed zgcc and would like to do a simple 'helloworld' test. Unfortunately, I cannot find how to produce a brace {} with the Zaurus keyboard. Help?
2. In Vi, I hit 'i' to insert a line. But once I have inserted my line, I cannot hit ESC ( no key ) to ':w!' and save my file. Once I have editted a line in Vi, how do I get back to the commands menu to issue a save command?
Thanks guys,
Andres
-
I'm not sure if this applies to all models, but on the 3100 fn+o and fn+p for cury braces. cancel is the same as escape on all models
-
The braces work, those weren't silkscreened onto the keyboard though.
As for Vi, I'll try that later.
Thank you very much for your help.
Andres
-
Use the cancel key in place of escape. HTH
-
ok, this is fun. I have 2 more Windowz questions :
1. I would like to concatenate, onto the end of the PATH variable, the path to my gcc executable, which is /mnt/cf/.zgcc/bin/. This way I can call GCC from any location.
2. The tutorial author says I should add to my .bashrc the line : "/home/zaurus/./zgcc.sh" to have it setup environment variables whenever I startup bash. Where is this .bashrc file?
Any takers?
Thanks, I really appreciate this and will help other users when I can.
Andres
-
PATH=$PATH:/mnt/cf/.zgcc/bin/
export PATH
.bashrc is not made by default. You can create it if it is not there. It is usually located in the home directory of the user (ie /home/zaurus/.bashrc or /home/root/.bashrc).
-
1. I would like to concatenate, onto the end of the PATH variable, the path to my gcc executable, which is /mnt/cf/.zgcc/bin/. This way I can call GCC from any location.
2. The tutorial author says I should add to my .bashrc the line : "/home/zaurus/./zgcc.sh" to have it setup environment variables whenever I startup bash. Where is this .bashrc file?[div align=\"right\"][a href=\"index.php?act=findpost&pid=114938\"][{POST_SNAPBACK}][/a][/div]
Firstly, are you sure you have bash? What rom are you using? If it _is_ bash, then yes, putting those lines in the .bashrc will work. But variables are more appropriately set in the .profile, which is sourced by (almost) any shell.
Secondly, is your zgcc.sh a shell script? If so, is the line to invoke it precisely
/home/zaurus/./zgcc.sh
or?
. /home/zaurus/./zgcc.sh
There's a big difference. Only the second form would properly set variables in your current environment.
-
this might help clarify things
https://www.oesf.org/forums/index.php?showtopic=11564 (https://www.oesf.org/forums/index.php?showtopic=11564)
and this
http://s91215199.onlinehome.us/zaurus/zgcc2install.html (http://s91215199.onlinehome.us/zaurus/zgcc2install.html)