General :: Terminal That Supports ANSI Italic Escape Code?

Oct 29, 2010

I would like to replace gvim with vim in the terminal. One of the nice things about gvim is that it is able to display text using italics.

Vim allows setting an ANSI escape code for italics (e[3m), but this does not work in gnome-terminal. Is there a terminal emulator that supports the ANSI escape code for italics?

View 1 Replies


General :: Printing Transcript With Ansi Escape Sequence?

Aug 8, 2010

Is there a way to print a transcript generated using script that is coloured using ansi escape sequences while preserving the colours?

I am on OS X 10.6, but any tool that works on OS X or on Linux that can print or create a pdf file will be extremely helpful.

View 1 Replies View Related

General :: Redefine The Way ANSI Colors Are Shown In A Terminal Emulator?

Jun 8, 2011

I'd like to redefine the actual colors that ANSI escape sequences show, i.e. I'd like to personalize what "light red" means and render it as, say, orange. Is there any terminal emulator that works under linux that allows me to do this? how?

View 1 Replies View Related

Programming :: ANSI C Code Seg-faults When Unsigned Int Variable Is Used?

Feb 20, 2011

I'm writing a tridiagonal solver for sparse linear systems and I coded this decreasing loop:

PHP Code:

xx[NN - 1] = gamma[NN - 1]*BB[NN - 1];
ii = NN - 2;
/* Compute the x values: */
while (ii >= 0) {
xx[ii] = gamma[ii]*(BB[ii] + xx[ii + 1]);
ii = ii - 1;

now... if ii is declared as an unsigned integer, the code gives me a segmentation fault, but if I declare it as an int, it doesn't. Using DDD I noticed that, as an unsigned int variable, when I finally decrease it, it underflows and blows up to a huge value, ergo giving me an unaccesible direction for xx in the following iteration! I taugh me not to use unsigned int variables for dereasing loops! XD

View 14 Replies View Related

Fedora :: ANSI BBS In Gnome Terminal ?

Sep 24, 2010

I am a former Sysop of a BBS and currently resurrecting the BBS. I have been looking for a way to get Gnome Terminal in Fedora 13 configured to support ANSI BBS emulation.

Back in the DOS days, we just loaded ANSI.SYS and ran our terminal software (like Procomm Plus or Qmodem), but I am hoping someone has done this and can help me set it up.

I have already tried Qterrm and the "latest" syncterm. Neither of these worked right. Syncterm hasn't been updated since 2009, so I really don't want to mess too much with that one.

I know you can in Mac OS X to do it, so I figure we can too. I REALLY want gnome terminal to be the way to do it.

View 5 Replies View Related

Programming :: C Code Profiling Technique That Supports Multiple Threads?

Mar 8, 2011

I am using GPROF for my code profiling ,but it seems GPROF doesn't supports multithread .Does any one know any other technique for profiling the application code I have checked oprofile but it profile kernel ,I just required for C code profiling technique that supports multiple threads

View 1 Replies View Related

Software :: Vim To Render Terminal Colouring Using Escape Characters?

Nov 2, 2010

My question is: what option can I set in vim to see the colouring inside the editor as I would get it in my terminal (and switch off any additional syntax highlighting)?

View 1 Replies View Related

Fedora :: Prevent Terminal Escape $ Sign In Auto-complete F15?

Jun 15, 2011

I just installed F15 and although different, I like it a lot. One thing I don't like, however, is the default auto-completion of environment variables in the terminal. In F14 and older, if you type for instance


ls $HOME and hit TAB, auto-complete will list the contents of $HOME to search deeper, so to say. But in F15, the terminal automatically escapes the $ sign. If you do the same as above, you get


ls $HOME

instead of


ls /home/benny/

how to change the auto-complete settings of the terminal so that $'s are not escaped anymore?

View 7 Replies View Related

OpenSUSE :: Supports Wyse 50 Terminal Emulator?

Mar 31, 2010

I have an OpenBSD server and I access i'm trying to access it via serial port with a Opensuse computer. I have been using Minicom but its 2 emulation types (vt102 and ANSI) Dont seem to be working for me. Is there a terminal emulator for linux that supports wyse50? That would be best.

View 4 Replies View Related

Software :: Html And Php Editor That Supports Both The Design View And Code View As Like In Dreamviewer?

May 30, 2011

I have been working in macromedia dreamviewer for editing html and php files, Just now I moved to linux system by installing xampp , my question is that I need a best html and php editor that supports both the design view and code view as like in dreamviewer.

View 7 Replies View Related

General :: Keyboard Does Not Work In **Ubuntu Terminal **whilst Writing A Source Code?

Aug 29, 2010

I have installed a Virtual machine.I use Virtual Box for the same. My host OS is Windows XP SP3. I have assigned it 500mb of Ram and it works fine. But my problem is that my Keyboard does not work in Ubuntu terminal whilst writing a source code.

When I use the arrow keys it gives me alphabets A B C D. And also when i press a . it acts as a backspace.I have a cordless Logitech Keyboard.I don't know why my keyboard isn't functioning inside the Terminal (& that to only whilst typing in source codes) I have tried changing the Character Encoding but thats not helping.

View 2 Replies View Related

Ubuntu :: Firefox Doesn't Display Italic Text Under GNOME 3?

May 7, 2011

I am posting this under "Desktop Environments" because this does not occur under Unity, nor under KDE (tested with Kubuntu live-CD).

I run Firefox 4.0.1 on Ubuntu 11.04, having installed GNOME 3 via PPA. The following HTML file is not displayed correctly in Firefox:

<p>This is <em>italic text</em>.</p>


View 1 Replies View Related

Ubuntu :: Select Font Characteristics For The So-called MS Fonts (Arial) Instead Of The Menu Showing Bold And Italic

Mar 12, 2010

This is an interaction between OOo and the font package on Ubuntu, so I have searched both sets of forums fruitlessly. In Open Office when I go to select font characteristics for the so-called MS fonts (Arial for example) instead of the menu showing Bold and Italic, it shows "Negreta" and "Cursiva".

View 1 Replies View Related

General :: Regex Escape The Comma?

Aug 12, 2010

sometimes there are one, sometime there are two exchanges in this log file. the 100= is the stock exchange- if there are two, they are seperated by a comma. i understand how to escape a comma in a regex, but I am having trouble with combining it.

35=8 39=1 38=1000 32=13 14=754 31=1.11 44=1.1 100=AMEX,ISE
35=8 39=1 38=1000 32=151 14=205 31=1.1 44=1.1 100=AMEX
35=U 39=2 38=1000 32=45 14=184 31=1.1 44=1.1 100=AMEX,ISE


View 11 Replies View Related

Programming :: Cannot Compile C++ Code In Terminal

Feb 13, 2011

I am unable to compile C++ program in terminal. Whenever I try to add "#include<iostream.h>" it shows an error and thats why I can not use "cout" and "cin" functions. I installed g++ for this but the problem persists.

View 4 Replies View Related

General :: Escape Commands In A Bashrc Alias?

Sep 17, 2010

I need to occasionally touch a file with the current timestamp as the filename. I would do so this way:

touch `date "+%Y-%m-%d_%H-%M"`.txt

However, I'd like to define an alias for this. When I try adding to the bashrc this:

alias td="touch `date "+%Y-%m-%d_%H-%M"`.txt"

the result is that the filename is the same during the entire session, since the `date ..` gets calculated just once during login...

How can I get the command to expand only when I call the alias? Or must I use a function for this?

View 1 Replies View Related

General :: Substituting Lines In Files Without Need To Escape?

Jan 17, 2011

Usually when I need to replace some lines in a file, the first tool that comes to mind is sed -i:

sed -i 's|tool:.*|tool: some-tool|'

However, it's inconvenient when there are . characters in the replacement string:

sed -i 's|host:.*|host:|' Is there a better tool for this case?

View 1 Replies View Related

General :: Escape Characters In Watch Command

Oct 20, 2009

Need little advice running this command.
watch -d 'ps aux | awk '{print $4" "$11}' | sort | uniq -c | awk '{print $2" "$1" "$3}' | sort -nr | head'

I get this error message from AWK. awk: cmd. line:1:
{print awk: cmd. line:1: ^ unexpected newline or end of string

I have tried all the usual by trying to escape the single and double quotes in the command but same result. The end result should be the a listing of memory hungry processes that are scanned every 2 seconds (watch default value).

View 2 Replies View Related

General :: Fedora14 Want To Mount Joliet Cd Escape Seq 25,2f,40

May 3, 2011

i have a cd that shows you an empty directory unless you mount it for the joliet extensions - specifically 25 2f 40. It uses wide characters with the high half null.

View 3 Replies View Related

General :: Removing The Escape Characters From GNU Screen's Screenlog.%n?

Jan 22, 2010

Is it possible to remove the ESC sequences in GNU Screen's output file? Things such as colours, tabs and other escape characters make their way into the log files and become difficult to decipher.

I've tried Dr. Google & Co. as well as reading the manual, but haven't been able to find anything suitable.Perhaps I've overlooked something?

View 3 Replies View Related

General :: Escape From Evolution And Have Thunderbird Be My Default Email?

Feb 25, 2011

Fedora 14

When I started I took the defaults and ended up with Evolution.

I have never managed to get it set up to send. It and godaddy are on diffferent planets.

Having used Thunderbird in the past, I downloaded it and it automagically set itself up to send and receive.

So now I use Thunderbird - BUT - when I click on a link in an html page - the mailto macro sends me to something other than THunderbird - perhaps Evolution - and nothing gets sent.

So how do I tell the system that when i click a mailto in firefox I want Thunderbird?

PS I think I found it. In firefox - edit - preferences - applications tab - mmailto - it said Evolution. I changed it so say /usr/bin/thunderbird - will now test it.

YES - Seems that asking a question triggers my brain on how to resolve it. Sorry to waste your time.

View 1 Replies View Related

General :: Replace New Line With <br /> And Escape Special Characters?

Feb 6, 2011

I wish to replace a new line with br (html) but it doesn't seem to work


message=$(echo ${FORM_message} | tr '
' '<br />' )

what it gives me seems to be ... b...? I am also having problem escaping hash sign in cut command:


list=$(echo "$line" | cut -d'#;#' -f1) ;

my intention is to split the line with "#;#"

View 5 Replies View Related

Ubuntu :: Code - Screen Recording Using Terminal Command

Oct 30, 2010

the code when recording a screen using terminal command? it has this code "xllgrab".. that's all i can remember.. i read it somewhere in this forum and it really works but i can't find that thread anymore

View 3 Replies View Related

Ubuntu :: Code In Terminal To Reset The Video Drivers?

Sep 18, 2009

Whats the code in terminal to reset the video drivers? when i try to boot this is what happens.

View 3 Replies View Related

Programming :: Psuedo Terminal - Cannot Add Fflush To Source Code

Feb 22, 2010

I have a problem in programing pseudo terminal. In the book APUE (advanced programing in the unix environment) in chapter 15.4: coprocess gives an example of using pipe to operate another program, that provide its input and read its output: Figure 15.18. Figure 15.19 is filter to add two numbers using standard IO. The author said that you must flush the IO buffer in the program which are operated through pipe by another program, however, we cannot add fflush to the source code and re-compile the whole program if we need to use it in another process. It said that pseudo terminal can solve this problem, but I have tried in fedora12 with forkpty call and fail. Source code as follows:

The main process:
#include "common.h"
#define LINESIZE 256
int main()
int fd[2];
pid_t pid;
if( socketpair(AF_UNIX, SOCK_STREAM, 0, fd)<0 ) {
perror("create socket error");
int master;
struct termios tm;
if( tcgetattr(STDIN_FILENO, &tm)<0 ) {
perror("tcgetattr error");
struct winsize size;
if( ioctl(STDIN_FILENO, TIOCGWINSZ, (char*)&size)<0 ) {
perror("ioctl error");
setbuf(stdout, NULL);
pid=forkpty(&master, NULL, &tm, &size);
if( pid<0 ) {
perror("create process error");
else if(pid>0) {//parent
char line[LINESIZE];
memset(line, 0, LINESIZE);
while( fgets(line, LINESIZE, stdin)!=NULL ) {
write(fd[0], line, strlen(line));
memset(line, 0, LINESIZE);
int n=read(fd[0], line, LINESIZE);
if(n>=0) line[n]=0;
printf("%s", line);
memset(line, 0, LINESIZE);
} else {//child
if( fd[1]!=STDIN_FILENO ) {
if(dup2(fd[1], STDIN_FILENO)!=STDIN_FILENO) {
perror("dup2 error");
if( fd[1]!=STDOUT_FILENO) {
perror("dup2 error");
if(execl("./add", "add", (char*)0)<0) {
perror("exec error");
return 0;
The add program reads a line and get two numbers and return the sum of them.

#include "common.h"
int main() { int n1, n2;
char line[256];
memset(line, 0, 256);
while( fgets(line, 256, stdin)!=NULL) {
sscanf(line, "%d%d", &n1, &n2);
printf("%d", n1+n2);
fflush(NULL); /*the program does not work without this sentence why?*/
memset(line, 0, 256); } return 0; }

View 5 Replies View Related

Software :: Less - ANSI Colors And Search

Aug 2, 2010

I'm having an annoying issue with less. What I want is to view logs with important stuff color coded, and be able to correctly use less's search function.

What happens is that less correctly displays color coded text, but offsets the search highlighting.

For instance, if I run "ls -l --color=always | less -R", and then search for some text, the highlighting will be offset if that text (or any text before it) is colored.

I tried forcing LESSANSIENDCHARS by doing a "export LESSANSIENDCHARS=m", but that didn't work.

"less --version" gives me "less 382+iso254", and I am running "SUSE LINUX Enterprise Server 9 (x86_64)".

View 3 Replies View Related

General :: Escape Forward Slash But Not Working Statement Garbled?

May 2, 2011

I am trying to use sed command to repalce one string with other but somehow replacement string contains forwards slash hence getting the error statement garbled!


View 4 Replies View Related

Programming :: Explorations In Memory Allocation In ANSI C?

Feb 8, 2011

I'm performing some explorations in terms of memory allocations in ANSI C, using the following compiler:

gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)

and I started to try to make the compiler complain for a huge data structure, so I coded this:


I mean, I can always read the man entry for gcc but I rather ask because I can then have interaction...

View 11 Replies View Related

General :: Convert Shell Logs - Incl. Escape Characters - To HTML?

Mar 6, 2010

Is there tool or a regexp that can convert shell escape characters to HTML code?

As an example, here is a logfile from GNU screen:

Which I would like to convert to something like this:

And send as HTML e-mail to an e-mail address, to archive my work.

Here is a related question, which shows how to convert it to regular text, but it would be nice to convert to HTML and not just throw the escape characters away.

View 1 Replies View Related

General :: Check Whether PC Supports PCI Express?

Feb 19, 2010

I'm trying to figure out whether my system supports PCI Express without opening up the box. lspci doesn't mention "Express" or "PCI-e" anywhere, but dmesg reports that a "PCI Express Hot Plug Controller Driver" is in use.

View 3 Replies View Related

Copyrights 2005-15, All rights reserved