首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏运维

    shell用户个人配置文件

    EDITOR=vim ​ ​8,如果没有操作默认300秒断开​ export TMOUT=300 ​9,给MAN命令加上颜色 9# man pages in color export LESS_TERMCAP_mb =$'\E[01;31m' export LESS_TERMCAP_md=$'\E[01;31m' export LESS_TERMCAP_me=$'\E[0m' export LESS_TERMCAP_se =$'\E[0m' export LESS_TERMCAP_so=$'\E[01;44;33m' export LESS_TERMCAP_ue=$'\E[0m' export LESS_TERMCAP_us

    79610发布于 2018-11-14
  • 来自专栏ExASIC

    在CentOS7上安装开源Verilog仿真工具EpicSim

    /configure make su - <******> make install termcap wget https://ftp.gnu.org/gnu/termcap/termcap-1.3.1 .tar.gz tar zxvf termcap-1.3.1.tar.gz cd termcap-1.3.1 .

    1.2K20发布于 2020-10-10
  • 来自专栏数据之美

    修改 mysql/oracle/bash/vimrc/cmd 提示符格式与颜色

    =$'\e[01;31m' export LESS_TERMCAP_md=$'\e[01;35m' export LESS_TERMCAP_me=$'\e[0m' export LESS_TERMCAP_se =$'\e[0m' export LESS_TERMCAP_so=$'\e[01;33m' export LESS_TERMCAP_ue=$'\e[0m' export LESS_TERMCAP_us= (2)配色 2: export LESS_TERMCAP_mb=$'\E[01;31m' export LESS_TERMCAP_md=$'\E[01;31m' export LESS_TERMCAP_me =$'\E[0m' export LESS_TERMCAP_se=$'\E[0m' export LESS_TERMCAP_so=$'\E[01;44;33m' export LESS_TERMCAP_ue =$'\E[0m' export LESS_TERMCAP_se=$'\E[0m' export LESS_TERMCAP_so=$'\E[01;44;33m' export LESS_TERMCAP_ue

    1.7K100发布于 2018-02-24
  • 来自专栏葫芦

    linux split

    [-bl] file PREFIX -b:后面可接欲切割成的文件大小,可加单位如b,k,m登; -l:以行数进行切割 [root@localhost tmp]# split -b 300k /etc/termcap termcap [root@localhost tmp]# ll -k termcap* -rw-r--r-- 1 root root 300 Dec 13 03:36 termcapaa -rw-r

    2.6K20发布于 2019-04-17
  • 来自专栏魏杰的技术专栏

    在Linux下编译MySQL时报错“No curses/termcap library found”解决方案

    with-charset=gbk –with-extra-charsets=all 执行后出现如下错误: checking for tgetent in -ltermcap… no checking for termcap functions library… configure: error: No curses/termcap library found 解决方法: //加入参数–with-named-curses-libs

    68040编辑于 2022-12-23
  • 来自专栏爱可生开源社区

    故障分析 | 命令行登录 MySQL 报 Segmentation fault 故障解决

    同时,我们也可以知道,这个函数是给使用 termcap 库的应用使用的,后台会转换为 terminfo 库中的值。 termcap 和 terminfo 都是描述终端能力的库,termcap 出现的比较早,已经被 terminfo 取代,但为了兼容性,termcap 的接口仍然保留。 图片 在 centos6 中可以使用:cat /etc/termcap 来查看所有终端的能力,/etc/termcap 是一个 ASCII 文件,这个文件在 centos7 和 8 中已不存在。 这里引用一段 tgetstr 的使用说明(来源: https://www.gnu.org/software/termutils/manual/termcap-1.3/html_node/termcap_ But it is supported only by the GNU termcap library.

    2.2K20编辑于 2022-10-31
  • 来自专栏Brian

    Mac 配置终端环境

    source .zshrc 当然你也可以自定制一些alias,这样你可以方面的调用shell命令,比如: # man page highlight export LESS_TERMCAP_mb=$'\ E[01;31m' # begin blinking export LESS_TERMCAP_md=$'\E[01;38;5;74m' # begin bold export LESS_TERMCAP_me =$'\E[0m' # end mode export LESS_TERMCAP_se=$'\E[0m' # end standout-mode export LESS_TERMCAP_so =$'\E[38;5;246m' # begin standout-mode - info box export LESS_TERMCAP_ue=$'\E[0m' # end underline export LESS_TERMCAP_us=$'\E[04;38;5;146m' # begin underline 如果你在shell运行man 3 printf,你看到的界面是已经亮高的

    2.9K120发布于 2018-04-03
  • 来自专栏悟空被FFmpeg玩

    交叉编译gdb

    linked, for GNU/Linux 2.6.14, not stripped[root@T-bagwell gdb]# 编译完以后,生成的文件就是这样的 具体过程如下: 编译的时候遇到了需要找到termcap ,我先交叉编译了termcap,然后暂时先存着 然后把gdb里的configure改了一下,我做成了patch,在附件中能看到 文件: gdb-6.8-patch-for-QQ2440.patch.gz patch.gz 大小: 0KB 下载: 下载 文件: gdb-6.8-patch-for-QQ2440.patch.gz 大小: 0KB 下载: 下载 大了patch以后不行的,还要找到之前编译的termcap

    3.9K20发布于 2019-03-05
  • 来自专栏kali blog

    如何打造属于你Kali Linux 之终端改造(一)

    egrep --color=auto' alias diff='diff --color=auto' alias ip='ip --color=auto' export LESS_TERMCAP_mb =$'\E[1;31m' # begin blink export LESS_TERMCAP_md=$'\E[1;36m' # begin bold export LESS_TERMCAP_me =$'\E[0m' # reset bold/blink export LESS_TERMCAP_so=$'\E[01;33m' # begin reverse video export LESS_TERMCAP_se=$'\E[0m' # reset reverse video export LESS_TERMCAP_us=$'\E[1;32m ' # begin underline export LESS_TERMCAP_ue=$'\E[0m' # reset underline # Take advantage

    48000编辑于 2025-07-28
  • 来自专栏架构专题

    《调教命令行06》条条大道通罗马,罗马罗马你在哪(学习技巧)

    cat >> ~/.bashrc <<EOF function man() { env \\ LESS_TERMCAP_mb=\$(printf "\e[1;31m") \\ LESS_TERMCAP_md =\$(printf "\e[1;31m") \\ LESS_TERMCAP_me=\$(printf "\e[0m") \\ LESS_TERMCAP_se=\$(printf "\e [0m") \\ LESS_TERMCAP_so=\$(printf "\e[1;44;33m") \\ LESS_TERMCAP_ue=\$(printf "\e[0m") \\ LESS_TERMCAP_us=\$(printf "\e[1;32m") \\ man "\$@"} EOF 再次执行man命令,就可以看到彩色的信息了。

    83310发布于 2020-04-09
  • 来自专栏XRSec.Blog

    code-server code-server arm

    egrep --color=auto' alias diff='diff --color=auto' alias ip='ip --color=auto' export LESS_TERMCAP_mb =$'\E[1;31m' # begin blink export LESS_TERMCAP_md=$'\E[1;36m' # begin bold export LESS_TERMCAP_me =$'\E[0m' # reset bold/blink export LESS_TERMCAP_so=$'\E[01;33m' # begin reverse video export LESS_TERMCAP_se=$'\E[0m' # reset reverse video export LESS_TERMCAP_us=$'\E[1;32m ' # begin underline export LESS_TERMCAP_ue=$'\E[0m' # reset underline # Take advantage

    2.2K20编辑于 2022-02-11
  • 来自专栏开源部署

    在Linux系统中安装LAMP出现的错误总结

    1.checking for termcap functions library... configure: error: No curses/termcap library found      

    5.3K10编辑于 2022-06-28
  • 来自专栏大嘴说编程

    群晖系统Synology DSM安装ipkg包管理

    creen_4.0.3-2_i686.ipk Installing termcap ermcap_1.3.1-2_i686.ipk Configuring screen Configuring termcap

    22.1K31发布于 2019-03-21
  • 来自专栏C语言入门到精通

    C语言 | 每日基础(97)

    你需要使用termcap, terminfo 或 curses 类的函数库, 或者系统提供的特殊函数。在 MS-DOS 系统下, 有两 个函数可以使用 clrscr() 和 gotoxy()。

    5413430发布于 2020-10-30
  • 来自专栏全栈程序员必看

    minicom指令_Minicom 使用初步

    仅当终端支持,并且在其termcap或terminfo数据库入口中有相关信息时才可用。 -l 逐字翻译 高位被置位的字符。 使用此标志, 你可以重载环境变量TERM, 这在环境变量MINICOM 中使用很方便; 你可以创建一个专门的 termcap 入口以备minicom 在控制台上使用,它将屏幕初始化为raw模式, 这样, 由于termcap显然没有对于色彩的支持,因而minicom 硬性内置了这些转义序列的代码。所以此选项缺省为off。使用‘-c on’可以打开此项。

    2.2K20编辑于 2022-08-11
  • 【Linux】Screen命令

    -a            强制所有功能进入每个窗口的termcap。 -A             - [r | R]使所有窗口适应新的显示宽度和高度。

    44410编辑于 2024-08-16
  • 来自专栏C语言入门到精通

    基础知识 | 每日一练(147)

    你需要使用 termcap, term-info 或 curses 类的函数库, 或者系统提供的特殊函数。在 MS-DOS 系统下, 有两个函数可以使用 clrscr() 和 gotoxy()。

    5672928发布于 2019-10-15
  • 来自专栏技术博文

    一天一个 Linux 命令(16):less 命令

    --no-init Don't use termcap init/deinit strings. -y [N] .... --no-keypad Don't send termcap keypad init/deinit strings. ........

    96410发布于 2021-09-26
  • 来自专栏入门小站

    linux目录结构和重要文件路径说明

    /etc/printcap :类似/etc/termcap ,但针对打印机.语法不同 /etc/profile : 有关Linux环境变量的东西 /etc/profile.d : 存放的是一些应用程序所需的启动脚本 /etc/termcap :一个 ASCII 定义行为的文件 Terminal, console 和 printers. /etc/X11 : 配置文件 X-window 系统。

    2.6K10编辑于 2022-06-02
  • 来自专栏Linux学习积累

    2019年9月23日 Linux学习笔记

    /etc/printcap 类似/etc/termcap ,但针对打印机。语法不同。 /etc/termcap 终端性能数据库。说明不同的终端用什么“转义序列”控制。写程序时不直接输出转义序列(这样只能工作于特定品牌的终端),而是从/etc/termcap 中查找要做的工作的正确序列。

    97310发布于 2019-09-23
领券