Active Topics

 


Reply
Thread Tools
Posts: 7 | Thanked: 0 times | Joined on May 2008 @ Australia
#1
Hello Everyone!

I've been contemplating on getting the N810 for a while now, and finally took the jump today. I've been using Linux since I learned how to type, and the fact N810 uses Linux was decisive for me.

I have a bunch of questions regarding the Linux setup on the device, but I will probably be able to figure it out myself when I have some spare time.

For now, I just have to get up and running with N810 as quickly as possible since I have a lot of other work to do at the moment. I am planning on using a BT keyboard (any suggestions for which one?) with my N810, mostly for coding. My plan is to SSH from the N810 into my home server and do coding on the server from anywhere I might be. However, I can't figure out how to configure xterm properly. I would like to invert the colors, to have a black background and white foreground, and have my custom colorful prompt (defined in .bashrc).

So basically, I would be eternally grateful if someone could give me a quick hint on how to get a black BG and white FG in xterm, whether custom prompt which uses colors (defined in .bashrc on standard linux systems) will work and where I have to stick the .bashrc on the N810. Also, is it possible to get syntax colors in VIM running on N810 under xterm?

Thanks a lot, if I can figure this out, I can start seriously using this wonderful tablet.

-Igs
 
ericdkirk's Avatar
Posts: 232 | Thanked: 45 times | Joined on Jul 2007 @ Tennessee, US
#2
I don't know the answer to your question but it seems that they said something similar the other day here.

Hope that helps.


Edit:
Found this too.

Not exactly on topic but close.

Last edited by ericdkirk; 2008-05-15 at 14:29.
 
Posts: 6 | Thanked: 1 time | Joined on May 2008
#3
Background color and font color can be set in the osso-xterm preferences dialog. I don't recall whether or not vim syntax hilighting works. I know it does in my vim, because I compiled it on the N800. I have a deb that I threw together in the scratchbox environment, but I don't know how well it works. You can try it out here.

The tablets use busybox ash, not bash, as the shell. It works, but it doesn't include the plethora of features that bash provides. If you search around the forum, there is a thread that talks about bash, complete with a binary and instructions for installation.
 
Posts: 120 | Thanked: 69 times | Joined on Nov 2007 @ NL
#4
Syntax highlighting works in the Vim version on maemo.org.

Is this vim in your link a newer version than the one in maemo.org or is it compiled with specific features?

Just curious: where did you get the tools to compile on your N800?
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#5
I would download a newer osso-xterm; see here, or maybe get the Diablo one if you can.

The way of setting foreground color in the stock OS2008 one is... strange. You set the background color from its own button, but you set the foreground color from the fonts dialog.

I believe both the old and the new ones in that link have separated color and font settings.

For .bashrc, obviously, you need bash; what might not have been obvious is that the N800 comes with busybox's ash as a Bourne shell. Bash is available, though, in repository.maemo.org; get it. For the .bashrc, toss it in your home directory, just as you would on a desktop system.
 
Posts: 6 | Thanked: 1 time | Joined on May 2008
#6
Originally Posted by bousch View Post
Syntax highlighting works in the Vim version on maemo.org.
Ah, okay.

Originally Posted by bousch View Post
Is this vim in your link a newer version than the one in maemo.org or is it compiled with specific features?

Just curious: where did you get the tools to compile on your N800?
Mine is vim 7.1, compiled from sources with a normal configuration.

As for tools for compiling on the N800.. I'm not sure if doing this is recommended, but it hasn't hurt me yet. I just copied the repositories from scratchbox to my N800. An apt-get update later, and I can install gcc and make and autohell. Most things compile just fine as long as you've got the right libraries. Granted, my 3GHz C2D desktop could have compiled the entire project in the time it took the N800 to compile a single file, but it was pretty neat to see. Perhaps I can set up the desktop as a distcc cross-compilation host. That would be pretty cool.
 

The Following User Says Thank You to Grackle For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 07:57.