You are not logged in.

#1 2016-02-19 00:30:49

Exo
Member
Registered: 2016-02-19
Posts: 7

Caret Cursor missing

Upon a fresh install of Arch Linux, the caret cursor simply is not there.

In layman's terms, the blinking line or block that tells me where I will edit something is missing.

Offline

#2 2016-02-19 09:20:35

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Caret Cursor missing

Which applications are affected? Which DE/WM are you using? Does it affect terminal emulators and/or TTYs?

Offline

#3 2016-02-19 10:06:53

Exo
Member
Registered: 2016-02-19
Posts: 7

Re: Caret Cursor missing

x33a wrote:

Which DE/WM are you using?

To my knowledge, I do not use any Desktop Environment (DE) or Window Manager (WM).

x33a wrote:

Which applications are affected?... Does it affect terminal emulators and/or TTYs?

Nano and Vim are both affected by this as well as the TTY loaded on boot by default.

I haven't used any other graphical applications.




I would think there is a file somewhere that governs this issue.

I have to type a random character to know where the caret cursor is. When I find it, I end up either needing to repeat that process or count characters and arrow key use.


To clarify, I am referring to the "_" or box that blinks, highlighting the point being edited.

Offline

#4 2016-02-19 10:31:59

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Caret Cursor missing

Which shell are you using? Are you using any particular framebuffer driver or kernel parameters?

Offline

#5 2016-02-19 12:24:34

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Caret Cursor missing

Does the following have any effect:

echo -e "\033[?2c"

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2016-02-19 19:39:24

Exo
Member
Registered: 2016-02-19
Posts: 7

Re: Caret Cursor missing

x33a wrote:

Which shell are you using?

echo $SHELL

The code above returns: "/bin/sh"

x33a wrote:

Are you using any particular framebuffer driver or kernel parameters?

I don't know enough to answer this question.

Trilby wrote:

Does the following have any effect:

echo -e "\033[?2c"

This code returns a blank line.

Last edited by Exo (2016-02-19 19:41:49)

Offline

#7 2016-02-19 19:42:26

ayekat
Member
Registered: 2011-01-17
Posts: 1,634

Re: Caret Cursor missing

How about this?

printf "\033[?25h"

(source: https://en.wikipedia.org/wiki/Ansi_escape_code)


pkgs │ hacks │ cfg │ blag

Offline

#8 2016-02-19 19:53:08

Exo
Member
Registered: 2016-02-19
Posts: 7

Re: Caret Cursor missing

ayekat wrote:

How about this?

printf "\033[?25h"

This code returns nothing.

Offline

#9 2016-02-20 04:54:55

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Caret Cursor missing

Exo wrote:
x33a wrote:

Which shell are you using?

echo $SHELL

The code above returns: "/bin/sh"

I am not sure if a default Arch Linux install uses /bin/sh. It should be /bin/bash, but I could be wrong.

Try running

bash

from your terminal and see if the cursor is visible in a bash session.

Also, what's the output of

uname -a

Offline

#10 2016-02-20 06:07:39

Exo
Member
Registered: 2016-02-19
Posts: 7

Re: Caret Cursor missing

x33a wrote:
Exo wrote:
x33a wrote:

Which shell are you using?

echo $SHELL

The code above returns: "/bin/sh"

I am not sure if a default Arch Linux install uses /bin/sh. It should be /bin/bash, but I could be wrong.

You're correct, it is bash. I must have changed it and forgotten. I decided to perform a reinstall just in case. Nothing has changed; the problem persists.


x33a wrote:

Try running

bash

from your terminal and see if the cursor is visible in a bash session.

No change.

x33a wrote:

Also, what's the output of

uname -a

Linux 4.4.1-2-ARCH #1 SMP PREEMPT Wed Feb 3 13:12:33 UTC 2016 x86_64 GNU/Linux

Offline

#11 2016-02-20 08:33:51

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Caret Cursor missing

Hmm.. very strange. I am running out of ideas. Are you sure you haven't modified anything else? Also, is it visible in the Arch Live medium? Finally, what is the output of:

locale

Offline

#12 2016-02-20 08:49:33

ayekat
Member
Registered: 2011-01-17
Posts: 1,634

Re: Caret Cursor missing

Linux 4.4.1-2-ARCH #1 SMP PREEMPT Wed Feb 3 13:12:33 UTC 2016 x86_64 GNU/Linux

There is no hostname in that line - that's probably irrelevant. But just so it is pointed out...


pkgs │ hacks │ cfg │ blag

Offline

#13 2016-02-20 10:06:09

Exo
Member
Registered: 2016-02-19
Posts: 7

Re: Caret Cursor missing

x33a wrote:

Hmm.. very strange. I am running out of ideas. Finally, what is the output of:

locale

the output is:

LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=
ayekat wrote:

Linux 4.4.1-2-ARCH #1 SMP PREEMPT Wed Feb 3 13:12:33 UTC 2016 x86_64 GNU/Linux

There is no hostname in that line - that's probably irrelevant. But just so it is pointed out...

I purposely left out the hostname.

Last edited by Exo (2016-02-24 08:39:50)

Offline

#14 2016-02-20 13:36:29

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Caret Cursor missing

There is no reason to be secretive about a hostname - but that's not particularly relevant.  Did you ever specify whether the cursor shows up in the live environment (installation iso)?

I asked about echoing the escape sequence as I believed this is either one of two problems: either you just had your soft cursor set to an invisible mode, or your graphics hardware was an issue.  We've ruled out the former.  The question about the installation iso would be informative for the latter.  Also, can you describe your hardware.  What kind of machine, what is graphics card?  Does booting with "nomodeset" added to the kernel line have any impact?  (I *think* this last one will prevent the use of a soft cursor and you will get only the actual default hardware cursor, but I'm not completely sure).


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#15 2016-02-24 09:10:10

Exo
Member
Registered: 2016-02-19
Posts: 7

Re: Caret Cursor missing

Trilby wrote:

There is no reason to be secretive about a hostname - but that's not particularly relevant.  Did you ever specify whether the cursor shows up in the live environment (installation iso)?

No, I forgot that. I have edited the old post and posted the necessary responses below.

x33a wrote:

Are you sure you haven't modified anything else?

Exo wrote:

I decided to perform a reinstall just in case.

x33a wrote:

Also, is it visible in the Arch Live medium?

Yes, it is.

Trilby wrote:

Did you ever specify whether the cursor shows up in the live environment (installation iso)?

Not intentionally.
Complete Installation Process:
(anything that starts with a "#" is an explanation for future reference.)

fdisk -l
     #the desired disk to install on is defined as: $DISK

cfdisk $DISK
     #4GB Linux swap as defined as $FIRSTPART, the rest as disk space as defined as $SECONDPART

mkfs.ext4 $SECONDPART

mount $SECONDPART /mnt

mkswap $FIRSTPART

swapon $FIRSTPART

pacstrap /mnt base base-devel

arch-chroot /mnt

passwd *********

echo ************** > /etc/hostname

pacman -S grub-bios

grub-install $DISK

mkinitcpio -p linux

grub-mkconfig -o /boot/grub/grub.cfg

exit

genfstab /mnt >> /mnt/etc/fstab

umount /mnt

shutdown -h now
Trilby wrote:

Also, can you describe your hardware.  What kind of machine, what is graphics card?

Laptop: Toshiba, Sattelite L55-B5294
Core: Intel i5-4210U 
RAM: 8.00GB

It uses Integrated Grapics.

Trilby wrote:

Does booting with "nomodeset" added to the kernel line have any impact?  (I *think* this last one will prevent the use of a soft cursor and you will get only the actual default hardware cursor, but I'm not completely sure).

I will try this tomorrow and report as soon as possible.

Last edited by Exo (2016-02-24 09:15:58)

Offline

Board footer

Powered by FluxBB