Fbpdf, fbpad, and fbff - A Minimal Framebuffer Software Suite

I discovered Ali Gholami Rudi's framebuffer programs back in February, reading a post on K Mandla's blog, and wanted to share them with the Arch community, because I don't imagine I'm the only one who likes light software written in C . PKGBUILDs for all of them are in the AUR. 
My favorite, and the first program of the bunch I packaged, is fbpdf, which is uses the MuPDF library to render PDFs, and I believe it's the only high-quality PDF viewer for the console. (Before, I had to use fbgs, which simply does not compare.) It uses vim-like keyboard shortcuts, like many of our favorite PDF viewers, and I've written a man page for it that's included in the installation. (There's also a README, by the author, but I wrote the man page when the software had no documentation.)
fbff is a video player, which is preferable to mplayer as it only depends on ffmpeg (for sound, you can use the OSS emulation modules, if you're using ALSA, like me). It also uses vim-like keyboard shortcuts (all of his software do), and I like calling it from w3m to watch videos within w3m. I use the following script:
#!/bin/sh
# depends: yturl, fbff
video=$(yturl $1)
fbff -f $video > /dev/null 2>&1
Finally, fbpad is another framebuffer virtual terminal, like fbterm, and supports bold fonts, 256 colors, and ttf fonts through its ft2tf conversion tool.  Like dwm, it's managed through tags and configured with a config.h file. Each tag can hold up to two terminals, and shell programs can also be launched directly via keybindings (e.g. mailx, vim).
The author has also written minmad, a minimal mp3 player using the libmad library, and tdq, a commandline dictionary, both of which I've packaged in the AUR. 
I hope this helps anyone who is looking for such software, and if you see room for improvement in my PKGBUILDs, please let me know.
If this was too long for you to read, the short message is that I've packaged fbpdf-git, fbff-git, fbpad-git, minmad-git, and tdq in the AUR, and if you like commandline applications and the framebuffer, please check them out .
Also, the software is being actively developed (I've made several feature requests that have been accepted), so don't hesitate to report bugs or request features.  Thanks to anyone who takes a look. Also thanks to Army who suggested the initial improvements to my PKGBUILDs and helped a lot with the fbpdf package.
Edit: Since everyone likes a screenshot, here's one of dvtm running in fbpad:
I could have inline images in w3m, but rather not to, as I prefer pure text.
Last edited by Sara (2011-11-26 22:49:33)

MarianCJC wrote:
Hi thanks for the wiki page,
I've tried fbpad, but I'm having problems with getting 256 colors to work (with VIM)
My setup:
VirtualBox installation of: 2011.08.19 iso (x86_64)
-no updates applied, no user created (only root)
What I have done:
-created a .tf font, so fbpad starts
-modified config.h:
  -SHELL "bash"
  -FGCOLOR 15
  -BGCOLOR 0
  -typedef unsigned char fbval_t
-after recompilation, i set the TERM env var to fbpad-256
-start fbtab -> {alt}+{c} -> start vim
I expected colors on a custom colorscheme, but not event the default ones (which work on less then 256 colors) do not work.. I only have shades of gray where the colors should have been
Also when i do: tic -c fbpad-256.info, i get:
"fbpad-256.info", line 2, col 24, terminal 'fbpad-256': unknown compatibility 'U8'
screenshot
Any ideas?
Thanks
You shouldn't have to create a terminfo file with the tic command because my PKGBUILD already installs one. If you used the PKGBUILD to install fbpad, which uses the 256-color branch, all should work after setting the TERM to fbpad-256.  If it isn't a manual install, let me know and I'll get my laptop out to do more testing. You might want to add
set t_Co=256
to your vimrc file, though it shouldn't be necessary with the TERM set.
What's wierd though is that none of your colors work. The master branch of fbpad supports 16 colors, so even if you had used that instead, you should have still had color.
Last edited by Sara (2012-02-11 03:45:58)

Similar Messages

  • I do not know my apple administrator username and password? How do I find out what it is? I am trying to download IBM Notes and Domino onto my MacBook Pro and I cannot download the software without verifying my apple administrator username/password

    I do not know my apple administrator username and password. How do I find out what it is? I am trying to download IBM Notes and Domino onto my MacBook Pro and I cannot download the software without verifying my apple administrator username and password.

    iOS is only for mobile devices, so:
    Resetting or changing a password:
    For Snow Leopard or earlier:  http://support.apple.com/kb/HT1274
    For Lion or later:  http://support.apple.com/kb/HT6022
    For Mavericks users:
    http://www.macworld.co.uk/how-to/mac-software/how-change-admin-password-mac-3535 328/
    This is also useful:
    http://www.macworld.co.uk/ipad-iphone/news/?newsid=3463233&olo=email
    If it's running Mac OS X 10.6.8 or earlier, insert a Mac OS X install DVD, restart with the Option key held down, click on it, and use the Reset Password utility.
    If it's running Mac OS X 10.7 or newer, restart with the Command and R keys held down, open the Terminal, and use the resetpassword command:
    https://discussions.apple.com/docs/DOC-4101

  • Taking too much time and not connecting to ipad software server

    taking too much time and not connecting to ipad software server and not updating.. why

    because everyone is doing the same thing you are... be patient, and you will get the update... I had to grab the update over 3G (it won't let you download or install, but it got me in the door) and then switch back to wifi and download and install.

  • My Mac was updated to Ÿosemite OS and since then the PS5 software doesn't open. I need help on this subject please.

    My Mac was updated to Ÿosemite OS and since then the PS5 software doesn't open. I need help on this subject please.
    They error message I get is "An unexpected and unrecoverable problem has occurred. Photoshop will now exit."
    This only started after I upgraded my OS to Yosemite.

    The upgrade has been know to break Photoshop CS5 installs. An Uninstall/Reinstall may be necessary.

  • I have the iPhone 4. and when I updated the software to iOS6 My notifications don't make a sound anymore, the only sound that I get are text messages, or Email. I checked to see if the other apps were muted and they weren't. How do I fix this??

    I have the iPhone 4. and when I updated the software to iOS6 My notifications don't make a sound anymore, the only sound that I get are text messages, or Email. I checked to see if the other apps were muted and they weren't. How do I fix this

    You cannot update iPhone 4 to IOS 8.1.2, the highest you can update is IOS 7.1.2.
    Unless you've iPhone 4S (looks similar to iPhone 4)

  • How can I start anew with Photos and clear the (minimal) stuff it has uploaded

    I've about had it up to here with this new Photos scheme. I reorganised my Aperture libraries on both my iMac and MBA in preparation for this, delayed turning Photos on for a couple of days until I thought everything was ready based upon the limited advice that was out there, and then got stuck in an endless loop of "uploading" and "preparing" every time I opened Photos. There are 19,975 images in my Aperture library on the iMac. I was stuck at Uploading at anywhere between that number and 19,000 with no progress after hours of waiting. I tried all the tricks mentioned here including re booting, restarting the app, repairing/rebuilding the database, killing the "cloudd" process, etc.today Today when I restarted Photos, it now said I had 23,775 images to upload- 4000
    more than I have-and of course it got stuck there, like it has for the last week.
    I copied the previous Aperture library (pre Photos migration)back to my iMac and opened it in Aperture. Thankfully, all the photos I had taken on my iPhone this week during this Photos clusterphuck transition were in the Aperture Stream so I didn't lose any of those. I'm willing to give this whole thing one more shot. So  i need some advice. How can I start anew with Photos and clear the (minimal) stuff it has uploaded (about 6000 of 19,000 images in the last 7 days) ? If I simply delete the Photos.photolibrary file will that do the trick and lt me start a new fresh library using?
    <Re-Titled By Host>

    How can I start anew with Photos and clear the (minimal) stuff it has uploaded (about 6000 of 19,000 images in the last 7 days) ? If I simply delete the Photos.photolibrary file will that do the trick and lt me start a new fresh library using?
    It is hard to say from your post, why the migration did not succeed in your case.
    by "stuck on upload" do you mean, you opened the Aperture library in Photos, and Photos converted it to a Photo Library, and then the upload to iCloud Photo Library did hang?  Or did already the upgrade to the Photo Library fail?
    If you want the Aperture library to upload to iCloud Photo Library, it needs to be on a disk formatted MacOS Extended (Journaled) and the original image files must not be referenced. Referenced originals will not upload.
    Also, the upload may hang, if you do not have enough free iCloud storage, orr if one of the videos or photos in your library is in an unsupported format or corrupted.
    To start over, try to repair and rebuild the Aperture library before opening it in Photos. Try all Aperture Library First Aid options - starting with repairing the permissions.  (Repairing and Rebuilding Your Aperture Library: Aperture 3 User Manual)
    If I simply delete the Photos.photolibrary file will that do the trick and lt me start a new fresh library using?
    You will have to delete the photos that are already in icloud too; otherwise you are risking duplicates.
    Can you launch Photos at all?  If yes, delete all photos in Photos and empty the Recently Deleted album. Wait for the deletion to sync to iCloud. Then delete the Photos.photolibrary.

  • I cant seem to download and install the latest iphone software update. I have tried since the release and have been unsuccessful on more than 7 occasions and lost all the data on the process. Anyone have that problem an how do I fix this problem?

    I cant seem to download and install the latest iphone software update. I have tried since the release and have been unsuccessful on more than 7 occasions and lost all the data on the process. Anyone have that problem an how do I fix this problem?

    Hi
    Thanks but I have tried doing the above - when I said 7 times I was modest, its more like 15 times.
    And I am referring to the 5.1 software update. I dont have wifi so I guess I will have to try that seeing that my husband also has the same problem - he has also tried downloading several times. It always times out en says that the connection is lost but yet there are always an internet connection and a decent signal once it stopped. Think it said error 32052 or something!
    I am disappointed because the update includes inprovement on the battery life - did you guys notice any difference?

  • How to change number of retries and delay before retrying after software install failure

    I deploy a software to client, but the installation is fail, so it will retry. but How to change the number of retries and delay before retrying after software install failure?
    I find "Retry Settings" in "Software Distribution Component Properties". But I think it work for Distribution, not the installation. am I right?

    First, are you referring to packages or applications because the behavior is different.
    Also, why do you want it to retry a failure? It failed for a reason so you need to fix the cause of the failure first. If it failed the first, it will likely fail the next time for the same reason. In general, ConfigMgr will only retry on transient type
    errors.
    Jason | http://blog.configmgrftw.com

  • I am trying to update to iTunes 10.5 and am getting a Apple Software update error. "There is a problem with this Windows Installer Package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. ??

    I am trying to update to iTunes 10.5 and am getting a Apple Software update error. "There is a problem with this Windows Installer Package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. ?? I can't uninstall the Apple Software Update from my Control Panel. It states "Fatal error during installation" Please HELP!!!

    I am experiencing the exact same issue during the installtion process for iTunes 10.5.
    I uninstalled all Apple components but when I attempted to uninstall the Apple Software Update I received the same message: "Fatal error during installtion." I was able to repair the Apple Software Update but still could not install iTunes 10.5 afterwards.
    I have tried everything that I could find on these discussions pages as well as other suggestions on third party sites. I continue to receive the error message: "There is a problem with this Windows Installer Package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.
    I was able to uninstall and reinstall QuickTime 7.7.1. During the reinstalltion process I received the same message (There is a problem with this Windows Installer Package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.) But after clicking "OK" the installtion process was succesful. PLEASE HELP!

  • My computer running Windows 8.1 no longer recognizes my 7th Generation Ipod Nano.  I have removed and reinstalled the latest ITunes software and it still doesn't recognize my Ipod.

    I previously installed my Ipod Nano 7th generation in Itunes, Windows 8.1.  When I have recently connected, Itunes does not recognize it.  I removed and reinstalled the latest Itunes software, but no success.  Message says that Itunes sees an Ipod is connected, but does not recognize it.  The USB connection is working fine, as I recharged the Ipod without problem.

    Hello Lynn,
    The article linked below details a number of troubleshooting steps that can help get iTunes to properly recognize your iPhone.
    iPod nano: Error message saying that iPod could not be identified properly
    https://support.apple.com/en-us/HT203350
    Regards,
    Allen

  • I have an I phone 3g and I downloaded the newest software and I can't get any music to play.  I can't change my playlists and the songs I have on the phone just get skipped over.  What can I do to correct this?

    I have an I phone 3g and I downloaded the newest software and I can't get any music to play.  I can't change my playlists and the songs I have on the phone just get skipped over.  What can I do to correct this?

    it recognizes the iPOD but I can't get any of the new songs to import to the iPOD
    are you getting an error message, Odessa? if so, what does it say? include error message numbers if you're getting any.
    if you're not getting an error message, describe what happens when you try to transfer songs to the ipod as best you can.

  • HT1483 I get a message "The Itunes server could not be contacted, check your internet connection" when trying to check for Ipod Nano software updates. I have a 1st generation Nano and haven't updated the software for a while. My internet connection is wor

    I get a message "The Itunes server could not be contacted, check your internet connection" when trying to check for Ipod Nano software updates. I have a 1st generation Nano and haven't updated the software for a while. My internet connection is working. Was thre a change in the internet address for NANO software updates? Do I have to reconfigure something in Itunes to point to the correct address?

    What version of iTunes are you using?  The latest is 10.6.3. In iTunes, choose Help -> About iTunes to check the version number. If it's lower than 10.6.3, download the latest version from here.
    B-rock

  • HT4972 i have version 4.3.3 and am updating my iphone software. I am updating it on a computer that is not mine, as i only have an iPad. Can I do this without loosing my music, apps, photos, etc?

    i have version 4.3.3 and am updating my iphone software. I am updating it on a computer that is not mine, as i only have an iPad. Can I do this without loosing my music, apps, photos, etc?

    You do see the devices heading on the left sidebar? If you don't see the sidebar, go to View>Show sidebar in the iTunes menu and then check to see if the device appears.
    If that isn't the problem, go through the troubleshooting steps. It could be the Apple Mobile Device Service issue.
    iOS: Device not recognized in iTunes for Windows - Support - Apple

  • My HP computer's hard drive crashed.  I have replaced the hard drive and reinstalled all of the software.  I have copied my I tunes library from my backup hard drive to the new one.  How do I restore the permissions?  This is the 3 rd time I have had to d

    My HP computer's hard drive crashed.  I have replaced the hard drive and reinstalled all of the software.  I have copied my I tunes library from my backup hard drive to the new one.  How do I restore the permissions?  This is the 3 rd time I have had to do this.  THe share screen says you are limited to 5 ??

    No backup is not good.
    You can transfer itunes purchases from an ipod.  File>Transfer Purchases

  • ITunes.  After installing new software, what does "restore iPod" mean?  Does it mean to restore all games and data to the new software or does it mean to "undo" the software update?

    iTunes.  After backing iPod to computer and installing new software, what does "restore iPod" mean?  Does it mean to restore all games and data to the new software or does it mean to "undo" the software update?

    You can restore your iPod to "New" which will erase every thing and install fresh iOS software or you can restore to a particular backup that you have previously created. In this case, your iPod Apps & data will appear as per the backup. Note that some content is not in a backup and will need to be synced back to the iPad from the iTunes music library or from, for example, the iPhoto photo library.

Maybe you are looking for

  • My iPhone Experience :)

    The Purchase Tonight, i walked into the Glendale Galleria (in CA) and purchased an 8gig iPhone. I would have bet my first born that they would have been sold out by 8pm or 10pm. So i gave them a call and the very nice gentlemen who answered told me t

  • Accessing a file without the .xpj

    A former coworker created a project in RoboHelp 8. She is no longer with the company so the project passed to me. For the life of me, I cannot find the .xpj file for this project. Is there a way for me to access this without the xpj? I'm coming up em

  • Combo built-in power outlet with USB charging ports...

    Are iPhones only fully functional while charging on an OEM plug?  We just installed a combination USB charger into our wall and now the touch screen will not work while it is charging?  Anyone else have this particular situation?  We are using a Legr

  • Fontconfig-2.4.2 package incompatibility w/Solaris 10 5/08 x86

    FYI, I found that after installing this package via pkgadd from http://www.sunfreeware.com/indexintel10.html the startup of the window manager would hang indefinitely when attempting a desktop login. A perusal of pkginfo also shows that there is alre

  • Error While Installing AddOns From OfficeStation

    Hi, There is an error that happened while trying to install any AddOn from OfficeStation. OfficeStation is a device that is just similar as if you are using the server, its like sitting on the server machine from a remote desktop, it has all the feat