xterm 256 colors

10 февраля 2020 1387 admin

xterm 256 colors


Иногда "голый" xterm достает.
Голый, потому что я использую IceWM + X. И никаких украшательств tongue
Хочется хотя бы xterm 256 colors

На NetBSD (подозреваю что и на других *nix-ах) это можно сдеать следующим образом:

upd.
Теперь надо это писать в ~/.Xresources


1. Создаем в профиле пользователя файл ~/.Xdefaults( с точкой )
2. Пишем туда, что-то подобное:
!==============================================================================
! XTerm
!==============================================================================
!#########
XTerm*utf8Title: true
XTerm*faceName: Droid Sans Mono
XTerm*faceSize: 13
xterm*bolfFont:
xterm*scrollBar: true
xterm*geometry: 80x20
xterm*eightBitInput: false
xterm*metaSendsEscape: true
xterm*colorBDMode: true
xterm*boldMode: on
xterm*alwaysBoldMode: false
xterm*dynamicColors: on
xterm*colorMode: on
xterm*saveLines: 10000
xterm*visualBell: false
xterm*termName: xterm-256color

!==============================================================================
! #####
!==============================================================================
xterm*colorBD: #e6d51d
xterm*background: #111111
xterm*foreground: #b4b4b4
! ######
xterm*color0: #000000
xterm*color8: #555753
! #######
xterm*color1: #b6212d
xterm*color9: #ff6565
! #######
xterm*color2: #4c8d00
xterm*color10: #6bbe1a
! ######
xterm*color3: #ff8040
xterm*color11: #e6d51d
! #####
xterm*color4: #0086d2
xterm*color12: #00d2ff
! ########
xterm*color5: #963c59
xterm*color13: #d3649f
! ########
xterm*color6: #105952
xterm*color14: #177f75
! #####
xterm*color7: #cdcaa9
xterm*color15: #ffffff

Где (из основных):
XTerm*faceName: Droid Sans Mono - используемый шрифт в консоли
XTerm*faceSize: 13 - размер этого самого шрифта
xterm*termName: xterm-256color - а это, собственно, наша цель
xterm*saveLines: 10000 - количество строк буфера, на такое количество строк можно промотать назад

Второй блок - расцветка. На вкус и цвет (я скопировал откуда-то из инета)

Получается, как-то так:

http//freeserver.su/uploads/images/NetBSD/2020-02-10_Feb0038-1920x1080.jpg

http//freeserver.su/uploads/images/NetBSD/2020-02-10_Feb1603-1920x1080.jpg
  • 0

Другие новости по теме:

Другие новости по теме:

    Добавление комментария

    Имя:
    Пароль:
    Email:
    Код:
    captcha
    Введите код:

    Последнии комментарии
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Tanesha (09.03.2026)
    Keep on working, great job!
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Leatha (08.03.2026)
    certainly like your web site however you need to t...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Amie (06.03.2026)
    I couldn't resist commenting. Well written!
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Susanna (04.03.2026)
    Великолепное игровая платформа, продолжайте в том ...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Benito (11.02.2026)
    Greate post. Keep writing such kind of info on you...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Noreen (11.02.2026)
    Just want to say your article is as amazing. The c...
    Что такое сны ?
    Автор admin (12.01.2026)
    stranger, Зато никогда не поздно)
    Рад, если у...
    Что такое сны ?
    Автор stranger (27.04.2025)
    Удивительная, просто удивительная статья!!!
    П...
    Обновление NetBSD до STABLE
    Автор www3 (14.06.2024)
    Много кто пользуется, но народ не очень словоохотл...
    Обновление NetBSD до STABLE
    Автор www2 (14.06.2024)
    anon, я пользуюсь.
     Популярные
       
    Календарь
    « Март »
    Пн Вт Ср Чт Пт Сб Вс
    1
    2 3 4 5 6 7 8
    9 10 11 12 13 14 15
    16 17 18 19 20 21 22
    23 24 25 26 27 28 29
    30 31
    Яндекс.Метрика