Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Terminal console cursor disappeared after apt upgrade

Featured Replies

My cursor in console (not desktop environment) disappeared after apt upgrade from a clean install.

Device : orange pi pc

Version: ARMBIAN Debian GNU/Linux 8 (jessie) 3.4.112-sun8i
 

I also changed led triggers red one to mmc0 and green to timer. I run apt list>aptlist.txt and attach result to post. it changed a lot i install further packages. 

aptlist.txt

I have this same issue. It is only on the hdmi console not ssh. I am trying to figure out what is causing it. I have been digging in the code all day. No luck so far. 

I found this fix, credit to youka

 

http://forum.odroid.com/viewtopic.php?f=117&t=11758

 

Re: fbcon cursor

icon_post_target_unread.gifby youka Â» Fri Mar 27, 2015 10:57 pm

Anyway, all that aside...There's a nice work-around in the link Holzhaus provided...
CODE: SELECT ALL infocmp >> terminfo.txt
sed -i.bak -e 's/?0c/?112c/g' -e 's/?8c/?48;0;64c/g' terminfo.txt
tic terminfo.txt
tput cnorm
Then just re-run "tput cnorm" each time you log in. This should be good enough for now. At least now I can edit text files without being completely lost icon_e_biggrin.gif

 

To display grey-block cursor in console i used this script:

 

  # delete console settings for current user

  rm -rf ~/.terminfo

  # delete console settings for root

  sudo rm -rf /etc/terminfo/*

  cd /tmp

  # copy default console settings to a file

  infocmp -A /lib/terminfo linux > terminfo

  # replace 'bad' cursor params (cnorm and cvvis) with new (man terminfo)

  sed -i -e 's/?0c/?16;0;240c/g' -e 's/?8c/?16;0;240c/g' terminfo

  # compile the edited terminfo

  sudo tic terminfo

 

 

last command launched as root, puts compiled data in /etc/terminfo

since ~/.terminfo is removed, parameters will be read from /etc/terminfo (for current user and root)

 

now create script in /etc/profile.d with one line:

 

tput cnorm

 

now cursor should be anywhere at anytime except login prompt.

I use the solution posted by markbirss.

 

It works.

 

I just wanted to add that you should enter those commands as a super user, otherwise the cursor will disappear when you open vim as a super user. This happened to me on a previous install and I was using a workaround to edit read-only files. Today, in a fresh install, I entered those commands as a super user and I'm not having that problem anymore.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.