Feb 15 2006, 10:35 AM
Post
#1
|
|
|
Group: Members Posts: 48 Joined: 22-January 06 Member No.: 8,972 |
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 |
|
|
|
![]() |
Feb 15 2006, 02:24 PM
Post
#2
|
|
|
Group: Members Posts: 48 Joined: 22-January 06 Member No.: 8,972 |
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 |
|
|
|
Feb 15 2006, 07:00 PM
Post
#3
|
|
![]() Group: Members Posts: 692 Joined: 27-January 04 From: Canada Member No.: 1,564 |
QUOTE(andresgriego @ Feb 15 2006, 04:24 PM) 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? 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 CODE /home/zaurus/./zgcc.sh or? CODE . /home/zaurus/./zgcc.sh There's a big difference. Only the second form would properly set variables in your current environment. |
|
|
|
andresgriego Another Beginner Question ... Feb 15 2006, 10:35 AM
bluedevils I'm not sure if this applies to all models, bu... Feb 15 2006, 11:16 AM
andresgriego The braces work, those weren't silkscreened on... Feb 15 2006, 11:26 AM
grog Use the cancel key in place of escape. HTH Feb 15 2006, 01:09 PM
bluedevils PATH=$PATH:/mnt/cf/.zgcc/bin/
export PATH
.b... Feb 15 2006, 04:33 PM
bluedevils this might help clarify things
http://www.oesf.or... Feb 15 2006, 08:09 PM![]() ![]() |
|
Lo-Fi Version | Time is now: 23rd May 2013 - 10:59 PM |