Sponsored Content
Full Discussion: Make bold chars in UNIX
Top Forums Shell Programming and Scripting Make bold chars in UNIX Post 302938673 by sea on Wednesday 18th of March 2015 10:58:15 AM
Old 03-18-2015
Quote:
Originally Posted by cjcox
Well... because ncurses support both dbs... technically they'll tell you that you must call it a "termcap" package. But it does both. I only mentioned it because the FreeBSD mailling lists indicated that it's one way to get a terminfo db on FreeBSD.
Hmm Smilie
When i search for ncurses on youtube, i see plenty of C-like code, which doesnt look script'ish as php or java script for example.
Though, it could be perl... but then again, the TO asked for a script, and to my believe perl is out of that (general usage) range.

Trying to say:
With my knowledge, to my understanding ncruses seems like its providing a programming language API which then needs to be compiled - and therefor is not a script. (please correct me if i'm mistaken on this)
Furthermore, tput bold is part of ncurses support utilities, which was in this thread said to be not working on some systems.
Code:
$ yum provides tput
Loaded plugins: langpacks
ncurses-5.9-16.20140323.fc21.x86_64 : Ncurses support utilities
Repo        : fedora
Matched from:
Filename    : /usr/bin/tput

Which makes my confusion - perfect Smilie

Thank you

Last edited by sea; 03-18-2015 at 12:03 PM..
 

10 More Discussions You Might Find Interesting

1. Programming

How can I make ls -l in HP-UNIX?

I made a liitle source about that.. BUt I got a trouble when making files'authority.. How can I display them?? p.s.) used struct stat .. (1 Reply)
Discussion started by: sangjinn
1 Replies

2. Shell Programming and Scripting

Hidden chars in Unix can be replaced?

We have some unseen chars in unix, like '^T's, can be seen with 'cat -v' command. Is there any way, with which, we can replace these ^T s with a space? (1 Reply)
Discussion started by: videsh77
1 Replies

3. UNIX for Dummies Questions & Answers

how to make a bold text in vi

pls disregard got my question answered . as you can't do bold in vi (0 Replies)
Discussion started by: xzyan
0 Replies

4. UNIX for Dummies Questions & Answers

How can i make this bold

Folks; I'm writing this as a part of a script: echo "col1 hdg|col2hdg|col3hdg|" How can i make these fields shows in Bold text? (10 Replies)
Discussion started by: moe2266
10 Replies

5. Shell Programming and Scripting

How to convert C source from 8bit chars to 16bit chars?

I was using the following bash command inside the emacs compile command to search C++ source code: grep -inr --include='*.h' --include='*.cpp' '"' * | sed "/include/d" | sed "/_T/d" | sed '/^ *\/\//d' | sed '/extern/d' Emacs will then position me in the correct file and at the correct line... (0 Replies)
Discussion started by: siegfried
0 Replies

6. Programming

Unix Make

I need tutorial on Make utility on Unix. Any help or link appreciated. many thanks Mirko (3 Replies)
Discussion started by: mmipko
3 Replies

7. Shell Programming and Scripting

find 4 chars on 2nd line, 44 chars over

I know this should be simple, but I've been manning sed awk grep and find and am stupidly stumped :( I'm trying to use sed (or awk, find, etc) to find 4 characters on the second line of a file.txt 44-47 characters in. I can find lots of sed things for lines, but not characters. (4 Replies)
Discussion started by: unclecameron
4 Replies

8. Shell Programming and Scripting

Bold chars redirect to CSV

Is there any way to redirect characters in bold to .csv file using KSH. I need to open this csv in MS EXCEL. thanks (4 Replies)
Discussion started by: param_it
4 Replies

9. Shell Programming and Scripting

Removing formats (bold) from UNIX file

Hi , Could you please guide me how to remove formatting (bold text) in a unix file? vi editor showing like this... ^ Cat command showing like this... tl21ss01 tl21ss02 tl21ss03 (6 Replies)
Discussion started by: suresh3566
6 Replies

10. UNIX for Beginners Questions & Answers

Shell script to split data with a delimiter having chars and special chars

Hi Team, I have a file a1.txt with data as follows. dfjakjf...asdfkasj</EnableQuotedIDs><SQL><SelectStatement modified='1' type='string'><! The delimiter string: <SelectStatement modified='1' type='string'><! dlm="<SelectStatement modified='1' type='string'><! The above command is... (7 Replies)
Discussion started by: kmanivan82
7 Replies
CMatrix(1)						      General Commands Manual							CMatrix(1)

NAME
CMatrix - simulates the display from "The Matrix" SYNOPSIS
cmatrix [-abBflohnsVx] [-u update] [-C color] DESCRIPTION
Shows a scrolling 'Matrix' like screen in Linux OPTIONS -a Asynchronous scroll -b Bold characters on -B All bold characters (overrides -b) -f Force the linux $TERM type to be on -l Linux mode (sets "matrix.fnt" font in console) -o Use old-style scrolling -h, -? Print usage and exit -n No bold characters (overrides -b and -B) -s "Screensaver" mode, exits on first keystroke -x X window mode, use if your xterm is using mtx.pcf -V Print version information and exit -u delay Screen update delay 0 - 9, default 4 -C color Use this color for matrix (default green). Valid colors are green, red, blue, white, yellow, cyan, magenta and black. KEYSTROKES The following keystrokes are available during execution (unavailable in -s mode) a Toggle asynchronous scroll b Random bold characters B All bold characters n Turn off bold characters 0-9 Adjust update speed ! @ # $ % ^ & ) Change the color of the matrix to the corresponding color: ! - red, @ - green, # - yellow, $ - blue, % - magenta, ^ - cyan, & - white, ) - black. q Quit the program BUGS
This program is very CPU intensive. Don't be surprised if it eats up over 40% of your CPU at times. HOMEPAGE
The CMatrix homepage is currently at http://www.asty.org/cmatrix. AUTHORS
Chris Allegretta (chrisa@asty.org), with a lot of help from many other people. See README file for details. Mon May 3 1999 CMatrix(1)
All times are GMT -4. The time now is 08:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy