how to make the command line screen follow the curser?

karim

I just installed a kali-linux on windows 10.
My problem is on the command prompt when I type clear to clear the screen everything get moved up of the screen, and left with black screen without any cursor, so that I have to press enter many times to make the cursor down again.

Hastur

It seems you have a wrong number of lines & dimension of the characters set...
(I mean the dimension of the characters * number of lines allowed > number of pixels of the current text screen resolution, so it scrolls up)...

Try changing the dimension of the window...


Bonus
When you cannot fix problem like those you can use a dirty patch

alias C='clear; echo -e "\n\n\n\n"'

With alias you create your command (C) that execute the usual clear and adds a number of newlines (\n) that depends on the lines you have to scroll down (in this case 4).

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

How to make a for loop in command line?

분류에서Dev

How to make a batch file to use Flex command line debugger?

분류에서Dev

Kali Linux black screen with blinking curser after USB boot

분류에서Dev

How do you make samba follow symlink outside the shared path

분류에서Dev

How can I make/follow a release announcement feed on Bitbucket?

분류에서Dev

How to make position:absolute divs follow the paddings of a position:relative parent;

분류에서Dev

Connect a keyboard / IR controller to a command line program running in a screen

분류에서Dev

How to make the Terminal make a noise on command completion?

분류에서Dev

How to give python command line arguments from command line mode

분류에서Dev

How "make" command locates makefile

분류에서Dev

How to run a command or script at screen lock/unlock?

분류에서Dev

How to make the lock screen look like the login screen?

분류에서Dev

How to make Swipe from every location of Screen?

분류에서Dev

Make a file accept only two arguements from the command-line

분류에서Dev

make object follow each other

분류에서Dev

How to disable Alert volume from the command line?

분류에서Dev

how to view a doc from command line?

분류에서Dev

How to capture all visited URLs on the command line?

분류에서Dev

How to restart GNOME Shell from command line?

분류에서Dev

How to get the hash only from command line?

분류에서Dev

How to run a VirtualBox VM from command line?

분류에서Dev

How to execute shortcut keys from command line?

분류에서Dev

How to get volume level from the command line?

분류에서Dev

How to sync two folders with command line tools?

분류에서Dev

How to start remote command line session?

분류에서Dev

How to search for debian packages with command line?

분류에서Dev

How to switch to a command-line console

분류에서Dev

How to read command line argument in shell sript

분류에서Dev

How to change line width in "info" command

Related 관련 기사

  1. 1

    How to make a for loop in command line?

  2. 2

    How to make a batch file to use Flex command line debugger?

  3. 3

    Kali Linux black screen with blinking curser after USB boot

  4. 4

    How do you make samba follow symlink outside the shared path

  5. 5

    How can I make/follow a release announcement feed on Bitbucket?

  6. 6

    How to make position:absolute divs follow the paddings of a position:relative parent;

  7. 7

    Connect a keyboard / IR controller to a command line program running in a screen

  8. 8

    How to make the Terminal make a noise on command completion?

  9. 9

    How to give python command line arguments from command line mode

  10. 10

    How "make" command locates makefile

  11. 11

    How to run a command or script at screen lock/unlock?

  12. 12

    How to make the lock screen look like the login screen?

  13. 13

    How to make Swipe from every location of Screen?

  14. 14

    Make a file accept only two arguements from the command-line

  15. 15

    make object follow each other

  16. 16

    How to disable Alert volume from the command line?

  17. 17

    how to view a doc from command line?

  18. 18

    How to capture all visited URLs on the command line?

  19. 19

    How to restart GNOME Shell from command line?

  20. 20

    How to get the hash only from command line?

  21. 21

    How to run a VirtualBox VM from command line?

  22. 22

    How to execute shortcut keys from command line?

  23. 23

    How to get volume level from the command line?

  24. 24

    How to sync two folders with command line tools?

  25. 25

    How to start remote command line session?

  26. 26

    How to search for debian packages with command line?

  27. 27

    How to switch to a command-line console

  28. 28

    How to read command line argument in shell sript

  29. 29

    How to change line width in "info" command

뜨겁다태그

보관