highlight (hl)

   

Home

Introduction

Features

Download

Screenshots

FAQ

Installation

Userguide

Contact

 

 

SourceForge.net Logo

   
     

faq

Contents:

How can I load a file interactively in the current directory?
How can I delete a buffer I don't use any more?
How can I exit an input dialog without executing the action?
I have forgotten in which buffer I loaded  the file xy ?
I have exported a HTML-file but I can't find it in the current directory. Where is it?
I wanted to export a file in /usr/include (or anything) but it said: Couldn't create file. What was wrong?
I don't like the colours of highlight. Can I change them?
I have some that  hl doesn't display. What is wrong?
highlight is a terminal application. Why isn't it a X-application?


How can I load a file interactively in the current directory?

Hit the 'o' key to enter the open dialog. The mistake you probably made is not specifying that you want to load the current dirctory: use the './' first, then you can load the file.
./thefile.c (return)
back to contents

How can I delete a buffer I don't use any more?

You can't. It is not necessary ( :-) ). If you want to load a new file then select either an empty buffer or overwrite an already used buffer. The program flushes the buffer file automatically.
back to contents

How can I exit an input dialog without executing the action?

The input dialogs such as 'o', 'g', 'f' can be left without executing the action by moving the cursor to the beginning of the input field and then hitting the backspace key. You drop out of the dialog automaticaly then.
back to contents

I have forgotten in which buffer I loaded  the file xy ?

Use the info screen by pressing 'i'. It will list you all loaded files.
back to contents

I have exported a HTML-file but I can't find it in the current directory. Where is it?

The export functions works like this: it replaces the dot '.' by an underscore '_' and appends '.html'. The file is save in the same directory as the source files.
back to contents

I wanted to export a file in /usr/include (or anything) but it said: Couldn't create file. What was wrong?

The directory /usr/include (or any other out of your home directory) doesn't belong to you unless you are logged in as root. Therefore you have no write permission into these directories. If you want to export a file you don't own then you first have to copy it into a directory where you have write permission.
WE ARE SORRY FOR THE INCONVINIENCE (by Douglas Adams). It is very likely that you may change the writing directory in future versions of highlight.
back to contents

I don't like the colours of highlight. Can I change them?

Again I am very sorry for the inconvenience. This is a point on the top of the todo-list for highlight. In one of the next versions it should be possible to customize the colours in a separate ressource file. At the moment you have to dive into the languages.h file (this is probably only a good idea if you are C/C++-programmer and want to spend some time looking at the code).
back to contents

I have some files that  hl doesn't display. What is wrong?

The text files you wanted to watch are probably dos coded. At the moment you first have to remap it with:
dos2unix file
before you can see it.
back to contents

highlight is a terminal application. Why isn't it a X-application?

highlight has been written to be small and quick. As probably every programmer has an open xterm on his desktop he can easily open highlight. If there is a demand, I will write an X version. But I can't imagine  there is ;-).
back to contents

Copyright © 2007 H.M. Singer