How do I get more colors in the console?
I'm wanting to experiment with using emacs in the console ($TERM = linux) but it only has 8 colors, all of them ugly. Is there a way to have it provide more than 8 colors? (This will be without X, obviously).
Which version did you install? According to their homepage fbterm provides 256 colors since version 1.4.
How did you try to install? Installing fbterm-1.7.0-2 from the AUR using yaourt went flawlessly here. Dependencies are pretty standard (gcc-libs, libx86, fontconfig) so there should be no problem, really.
(I didn't run it, though.)
Last edited by bernarcher (2010-11-27 21:53:21)
Similar Messages
-
Hola
There is any way that I can get more or make my own colors to distinguish the folders in Photoshop CC?
Please, let me know
ThanksDaniel Ulysses wrote:
Not good
Hope someone knows a hidden way to make more colors…
If you're very good at writing code and willing to hack your copy of Photoshop—but, then, if you were you wouldn't be asking here, I suppose. -
How can i get more info about the sent data in RTP?
Hello.
I'm working with the examples AVTransmitt2 and AV Receive2 and i want to get more information about the data that it is being sent to de receiver side. In AVTrasmitt2 i only see a calling to processor.start();. How could i know each packet that AvTransmit2 sends to the other side. I want info like the size of the data, the quality, format, etc..Hi!
As I mentioned above. RTPSocketAdapter has two inner classes, SockOutputStream and SockInputStream.
SockOutputStream have a write method which is called when RTP data is sent over the NET. SockInputStream have a read method which is called when RTP data is received.
If you for instance want to know exactly what is sent you can parse the byte array that comes into write.
Like this:
* An inner class to implement an OutputDataStream based on UDP sockets.
class SockOutputStream implements OutputDataStream {
DatagramSocket sock;
InetAddress addr;
int port;
boolean isRTCP;
public SockOutputStream(DatagramSocket sock, InetAddress addr, int port, boolean isRTCP) {
this.sock = sock;
this.addr = addr;
this.port = port;
public int write(byte data[], int offset, int len) {
if(isRTCP){
parseAndPrintRTCPData(data);
}else{
parseAndPrintRTPData(data);
try {
sock.send(new DatagramPacket(data, offset, len, addr, port));
} catch (Exception e) {
return -1;
if(debug){
System.out.println(debugName+": written "+len+" bytes to address:port: "+addr+":"+port);
return len;
private void parseAndPrintRTPData(byte[] data) {
// part of header, there still left SSRC and CSRC:s
byte[] rtpHeader = new byte[8];
System.arraycopy(data, 0, rtpHeader, 0, rtpHeader.length);
ByteBuffer buffer = ByteBuffer.wrap(rtpHeader);
int word = buffer.getInt();
// version
int v = word >>> 30;
System.out.println("version: "+v);
// padding
int p = (word & 0x20000000) >>> 29;
System.out.println("padding: "+p);
// extension
int x = (word & 0x10000000) >>> 28;
System.out.println("extension: "+x);
// CSRC count
int cc = (word & 0x0F000000) >>> 24;
System.out.println("CSRC: "+cc);
// marker
int m = (word & 0x00800000) >>> 23;
System.out.println("marker: "+m);
// payload type
int pt = (word & 0x00700000) >>> 16;
System.out.println("payload type: "+pt);
// sequence number
int seqNbr = (word & 0x0000FFFF);
System.out.println("sequence number: "+seqNbr);
// timestamp
int timestamp = buffer.getInt();
System.out.println("timestamp: "+timestamp);
private void parseAndPrintRTCPData(byte[] data) {
// this only works when the RTCP packet is a Sender report (SR).
// All RTCP packets are compound packets with a SR or Receiver report (RR) packet first.
// part of header, there is still the report blocks (see RFC 3550).
byte[] rtcpHeader = new byte[28];
System.arraycopy(data, 0, rtcpHeader, 0, rtcpHeader.length);
ByteBuffer buffer = ByteBuffer.wrap(rtcpHeader);
int word = buffer.getInt();
// version
int v = word >>> 30;
System.out.println("version: "+v);
// padding
int p = (word & 0x20000000) >>> 29;
System.out.println("padding: "+p);
// reception report count
int rc = (word & 0x0F000000) >>> 24;
System.out.println("reception report count: "+rc);
// payload type, which is 200 in this case (SR=200)
int pt = (0x00FF0000 & word) >>> 16;
System.out.println("payload type: "+pt);
// length
int length = (word & 0x0000FFFF);
System.out.println("length: "+length);
// SSRC of sender
int ssrc = buffer.getInt();
System.out.println("SSRC: "+ssrc);
// NTP timestamp
long ntp_timestamp = buffer.getLong();
System.out.println("NTP timestamp: "+ntp_timestamp);
// RTP timestamp
int rtp_timestamp = buffer.getInt();
System.out.println("RTP timestamp: "+rtp_timestamp);
// sender's packet count
int nbrOfSentPackets = buffer.getInt();
System.out.println("sender's packet count: "+nbrOfSentPackets);
// sender's octet count
int nbrOfSentBytes = buffer.getInt();
System.out.println("sender's octet count: "+nbrOfSentBytes);
}I added a boolean isRTCP to the constructor so to know what sort of data is sent.
Hope this clarifies things. -
RFE - Bring more color to the console
Hi,
first posting it here so people can discuss it.
What i would like to propose is bringing a little more color in the default archlinux console:
* [user@host ~] $ colors
* grep --color=auto colors
And to give an idea how that looks:
Grep colors
Console colors
And this is how i did that (in .bashrc):
# Check for an interactive session
[ -z "$PS1" ] && return
alias ls='ls --color=auto'
alias grep='grep --color=auto'
PS1='\033[01m[\033[0m \u\033[01;37m @ \033[0m\h \033[36m\W \033[01;37m]\033[0;32m \$\033[0m '
Now i would propose that this gets included in archlinux itself so every new arch user can enjoy these fancy colors ^_^
This can probably done by editing the global bashrc or the user .bashrc but i leave that up to the people that know what's best.
Let me know what you think of this idea.
Btw. for the grep color. That adjustment is already in bashrc for ls.. but not for grep, so it makes sense to me to include grep..
Regards,
Mark
Last edited by markg85 (2010-02-14 16:47:19)While I can see that it is exciting for you to discover these possibilities, I firmly recommend not enabling them by default.
1. It is not the Arch way:
http://wiki.archlinux.org/index.php/The_Arch_Way wrote:The Arch Linux system places precedence upon elegance of design as well as clean, simple code, rather than unnecessary patching, automation, eye candy or "newbie-friendliness"
2. It is easy enough for anyone to do. I assume most Arch users already do similar configuration and/or customization to their console behaviour. See #1.
3. It can break functionality for people that use retarded terminals.
4. It is a matter of taste. A lot of people prefer gray on black terminals, and that's the traditional style too. If the user wants it different, (s)he may change it according to her wishes (see #1).
Last edited by hw-tph (2010-02-20 14:31:07) -
The new version of Preview on Mountain Lion has limited the colors available when using the annotate tool (highlighter), how can I access more options?
Preview used to allow the user to select highlight colors from the color picker. This is no longer the case.
I have requested that Apple add it back at http://www.apple.com/feedback/macosx.html.
See also https://discussions.apple.com/message/19307157. -
How can I get more freedom from the drum sounds?
I am looking for a more free, less repetative sound. Before I venture to purchase an external kit or drum software I wanted to first see if there was a way to maximize my freedom within garage band itself. is there any way I can program the built-in keyboard to play drum sounds automatically as hit the key or does it have to be a tiresome process of recording each individual drum sound and then somehow making them all work together in a loop? The latter sounds like a no option option.
To add to the above question. What I am asking is if there is a way, through the built in keyboard, to make many drum sounds coalesce together in sort of the same way as you could on a drum machine. And then I would record this coalescing of sounds and use them as the drum sound for the song.
-
How can i get more disk space on my i phone
i purchased music from i tunes but i can't sync my i ohone it's telling me i need more room how can i get more space on the phone i have an i phone 4s.
Transfer photos & videos from your iOS device to your computer, and then delete them off of the device.
-
How do I get more the features?
How do I get more features for my iMovie?
You can't restore changes that are caused by removing support for features like happened with the status bar. Such changes can only be restored via an extension (Status-4-Evar). Other changes can be undone by toggling prefs or via code in userChrome.css that doesn't require an extension, but do require editing the userChrome.css file and adding specific CSS code.
See this mozillaZine forum thread about "Fx4 .css tweaks":
* http://forums.mozillazine.org/viewtopic.php?f=23&t=2057009
You can right click the orange Firefox button to open the toolbar menu.
* Click the Menu Bar entry to make the Menu Bar visible.
* Click "Tabs on Top" to remove the check mark and place the Tab Bar at its original position just above the browser window. -
How do I get more effects in my action box? I am only showing a few, like "Bottom Borders, Losing Weight, Resize and Crop, and Special Effects. And they do not list but a few effects. When I have watched the tutorials, they are showing a long list of effects in the action box. (with a side space bar) I do not. When I have clicked on the little arrow at top, and clicked "Load Actions", a box comes up, but it is blank,saying "no items match your search". I'm lost! If someone could help, it would be much appreciated! I would like to start using this.
Thank you.Apple Computer Customer Relations:
1-512-674-2500 -
When I open an event, including flagged items, the photos appear one by one, not as thumbnails, so I can't export more than one phot at a time. How do I get iPhoto to show the thumbnails?
I've tried rebuilding the thumbnail database, but that hasn't helped.What version of iPhoto and system are you running?
Try moving the Zoom slider at the bottom of the iPhoto window all the way to the left. Does that let more than one photo display in the window?
OT -
When I first turned on iMovie all videos from iPhoto automatically were found. Now I have more videos on iphoto, how do I get iMovie to find the new ones?
jtcollins wrote:
if iMovie is open, connect your iPhone to comp. iMovie '11 will now find your phone and look for videos as it would if camera was connected
(Underline is my emphasis)
Hi jt - Alex was actually referring to video clips in iPhoto not appearing in the item "iPhoto Videos" in the Events Library in iMovie - thanks for your post though (the 2 words are very similar).
John -
How can i get more than 100 email in Mail? I can only see the latest 100. I have an hotmail account and it worked at my other mac.
How can i get more than 100 email in Mail? I can only see the latest 100. I have an hotmail account and it worked at my other mac.
-
Trying to upgrade to Lion on my 20" iMac that I bought in Nov. 2007. Currently I'm running on MAC OS X version 10.6.8. When I tried to buy the upgrade I got a response that Lion requires 2 GB of memory and I only have 1 GB. How can I get more memory and will my computer be compatible with Lion when I do get more memory?
Yes you can install more RAM. Up to 6 GBs. Two - 200-pin PC2-5300 (667MHz) DDR2 SO-DIMMs. For the maximum use one 4 GB and one 2 GB. Otherwise install a pair of 2 GB modules for a total of 4 GBs.
You can purchase suitable RAM at DataMem or OWC. OWC also has video tutorials on installation. -
How to get more downloads at the same time
On my old computer I could download 20 files at the same time (or more, depending on the size). I've got a new computer now but Safari only downloads 4 files at a time: the other files are put on hold and start only when anotehr file has finished downloading.
How can I enable more downloads at the same time?I'm not using any enhancings apps, so... that can't be it. I did go from 10.3.x to 10.4.x, but I guess that's not the point either. Maybe some internetsettings is keeping things from going full throttle...?
I download from Usenet a lot and downloading multiple files with Safari was very nice: I'd get 20 50 Mb files within a few minutes on my computer. Now I can only get 4 files in that same time (I guess it's a bit faster but not much: I have a VERY fast connection!). Okay, all in all it still only takes half an hour (probably less) to download 3 Gb this way, but I just wonder what's holding Safari back...
(BTW Downloading big files spread into rars is VERY nice! If I had to download a 3 Gb file as ONE file, it would take a LOT more time...! Makes you wonder why not all companies offer their software (specially larger files) in smaller parts... They used to do that in the early internet days because otherwise you would never ever get that file downloaded on that 56k6 line, but nowadays it still would be great if they offered everything in small parts! -
I used to have eight genius mixes and now I have four...I changed the genres around and nothing happened...I've added many more songs since it changed from 8 to 4 mixes...how can I get more again and why did it go from 8 to 4? I had the Hardcore mix and a rap mix and classic rock and grunge mixes...now I don't...I kinda want those back...the mixes I have now make no sense as most the songs on each do not correlate AT ALL to the genre mix they have been placed in. If someone could give me an answer that'd be great.
1. Don't confuse "Apple ID" with iTunes Account ID. You can have many Apple IDs but only one iTunes account active at a time.
2. If you "changed" your iTunes account ID, you actually have 2 accounts - one under the old name plus the new name.
3. You can't merge the accounts - they remain separate. Apps purcahsed under the old account name will update ONLY WHEN THE PHONE IS SIGNED IN TO THE OLD ACCOUNT NAME and visa versa.
4. Likewise, you can sync only the apps, music, media purchased under the account the phone AND iTunes are signed in to.
Maybe you are looking for
-
HP Officejet Pro 8500 A909a Series - Not printing Cyan ink
Hi, I am having an issue with my HP Officejet Pro 8500 A909a Series (about 4-5 years old) where it has stopped printing Cyan completely. I have had this issue about 2-3 months ago which was solved by cleaning the cyan and magenta print head. After cl
-
File Adapter FTPS: Error - iaik.security.ssl.SSLException
I'm trying to use FTPS to communicate from XI ( SP 15 ) . FTPS system Admin provided CA Certificate and we installed same in key Storage as trusted CAs. However when I try to send file It was throwing message " Error: Message processing failed: iaik
-
I have installed snow leopard and now can't watch BBC or ITV iplayers. Any help?
Can anyone tell me how I can watch BBC/ITV iplayers now that I have installed Snow Leopard? Thanks Lucia
-
Folks, I get the following error message continuously - System Update never starts up, even after clicking "OK"; the only thing that happens is this error message goes away for about ten or fifteen seconds and then comes back. The only way I can get
-
Hi, we are facing this dump , past one month, any one can please suggest us.. please find error details.. we checked communication between solman and CRP is seems tobe fine.. Runtime Errors CALL_FUNCTION_NOT_FOUND Date and Time 15.0