Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gen-ctl-io(1) [debian man page]

GEN-CTL-IO(1)							      libctl							     GEN-CTL-IO(1)

NAME
gen-ctl-io - generate C interface code for libctl control files SYNOPSIS
gen-ctl-io [OPTION]... [spec-file] DESCRIPTION
gen-ctl-io generates C code to import/export the input/output variables used in a libctl control file. gen-ctl-io generates files like ctl-io.h and ctl-io.c. These files define global variables, data structures, and functions for the input/output variables, classes, and function interfaces defined in the spec-file argument, automating the interaction between C and Guile. The arguments such as --code and --header are used to control whether ctl-io.c or ctl-io.h, etcetera, are generated. If no argument is specified then both of these files are generated by default, for backwards compatibility. libctl is a free library to aid in interfacing scientific software with the GNU Guile scripting and extension language. Documentation for it may be found online at the libctl home page: http://ab-initio.mit.edu/libctl OPTIONS
--code Generate C (or C++) source code to implement the Guile interface functions. The default output file name is ctl-io.c (in C) or ctl- io.cpp (in C++). --header Generate the header file declaring the interface data types and functions. The default output file name is ctl-io.h (in C) or ctl- io.hpp (in C++). --swig Generate a SWIG interface definition file declaring automatic conversions for the various libctl data types. The default output file name is ctl-io.i. --cxx Generate C++ code instead of C code. -o file Use file as the output file name instead of the defaults (above). BUGS
Send bug reports to S. G. Johnson, stevenj@alum.mit.edu. AUTHORS
Written by Steven G. Johnson. libctl March 27, 2006 GEN-CTL-IO(1)

Check Out this Related Man Page

KTRANS(1)						      General Commands Manual							 KTRANS(1)

NAME
ktrans - language transliterator SYNOPSIS
ktrans DESCRIPTION
The ktrans program installs itself between the keyboard and /dev/cons and transliterates typed letter sequences into characters in lan- guages that do not use the Latin character set. The language is selected by typing a control character: ctl-E return to default English mode (no transliteration). ctl-G Japanese hiragana: interpret lower-case letters as a Hepburn representation of hiragana. In this mode, typing ctl-T looks up the last `word' in a hiragana-kanji dictionary and replaces it. Subsequent ctl-T characters cycle through the possibilities. A word is the longest immediately preceding unbroken string of hiragana characters. ctl-K Japanese katakana. ctl-R Russian: interpret letters as Cyrillic; the transliteration is mostly phonetic, with ' for myagkij-znak (), '' for tverdyj-znak () yo for , j for i-kratkaya (). ctl-L Greek. FILES
/dev/kbd SOURCE
/sys/src/cmd/ktrans SEE ALSO
81/2(1) BUGS
Considerably more sophistication is required to support ideographic languages properly. There is no way to generate the control characters literally. KTRANS(1)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

find command

Hi all., i am using the follwowing command.. ls -ltr TNT.*.*.*.ctl* | awk -F" " '{print $6" "$7 }' the output is: Feb 27 Feb 27 Feb 27 Feb 27 Feb 28 Feb 28 Mar 9 Mar 21 Mar 21 from this output i am trying to get the FIND the files on march 21. i am using the find command no... (6 Replies)
Discussion started by: pavan_test
6 Replies

2. Shell Programming and Scripting

using sed

Hi ... I have a file saju-list with the following contents Nidesh:25 Dinto:26 Johnson:28 I want to write a script to display the output like this : NAME Nidesh 25 NAME Dinto 26 NAME Johnson 28 I write my script like this : for x in $(cat /in/tmp/saju-list) do (6 Replies)
Discussion started by: sars
6 Replies

3. Shell Programming and Scripting

Sed

Hi I have a problem with a sed script to change oracle sqlldr ctl files I need to change a decode statement which works if there is only on occourance in a file if there are more it only chages the last one. how do I process all and the write the file out... (3 Replies)
Discussion started by: truma1
3 Replies

4. Shell Programming and Scripting

how to include header file in b-sh script

I'm new in this. In C/C++, you define variables in one header file & then simply include it in any files where those variables are referenced. I tried to include a header named DefineVars- which initializes all the globals- but when I add the line "DefineGlobals" at the begining of another... (2 Replies)
Discussion started by: bluemoon1
2 Replies

5. UNIX for Advanced & Expert Users

System performence.

I am using RHEL AS3. I want to improve the system performence. For that I have disabled the un-used virtual consoles , And I increased the swap space., I disabled the unwanted services which are running background. Can any one tel me other techniques to improve the system performance? Help... (5 Replies)
Discussion started by: praveen_b744
5 Replies

6. Shell Programming and Scripting

Sed issue in K Shell programming

I am doing the following script in k shell sed -i 's/FILENAME/$i/g' TEST/test$j.ctl > TEST/control$j.ctl In the file it replaces $i for all FILENAME, it doesnot replace with the value of i. I put single quotes like below sed -i 's/FILENAME/'$i'/g' TEST/test$j.ctl > TEST/control$j.ctl I... (9 Replies)
Discussion started by: toshidas2000
9 Replies

7. UNIX for Dummies Questions & Answers

Displaying Return Codes

This is a high-level explanation, if more details are needed, please do not hesitate to ask. I have a set of .ctl files which I want to execute: AV1.ctl AV2.ctl AV3.ctl I have a script which has a for loop in it: for filename in AV1 AV2 AV3 do . execute_another_script.sh done ... (2 Replies)
Discussion started by: hern14
2 Replies

8. Shell Programming and Scripting

Help with test command

Plese help me on the below query. for j in *.20071231* *.ctl *.dat do ( if then cp "$base/*.*" "$base1" fi ) done My requirement is for all files that has extension *.20071231* *.ctl *.dat should be copied to another folder. But those with caaa.20071231.log... (7 Replies)
Discussion started by: sussane
7 Replies

9. UNIX for Advanced & Expert Users

Create a file based on multiple files

Hey everyone. I am trying to figure out a way to create a file that will be renamed based off of one of multiple files. For example, if I have 3 files (cat.ctl, dog.ctl, and bird.ctl) that gets placed on to an ftp site I want to create a single file called new.cat.ctl, new.dog.ctl, etc for each... (3 Replies)
Discussion started by: coach5779
3 Replies

10. Programming

Changing type name

In C++, how can I change the type with another name For example How can I declaring an object real which would be the same as declaring it float (5 Replies)
Discussion started by: kristinu
5 Replies

11. Shell Programming and Scripting

Generate filenames in a loop

Hi all, I want to generate output files in a loop, run the same command on the same input file 1000 times and output in files with a new name each time, maybe a number appended to it. The output will be different each time as I`m sampling randomly from the input file. I want to do the... (3 Replies)
Discussion started by: newbie83
3 Replies

12. Shell Programming and Scripting

Remove headers thar dont match

Good evening I need your help please, im new at Unix and i wanted to remove the first 5 headers for 100000 records files and then create a control file .ctl that contains the number of records and all seem to work out but when i tested at production it didnt wotk. Here is the code: #!... (6 Replies)
Discussion started by: alexcol
6 Replies

13. Shell Programming and Scripting

Rename file extension.

I have a list file that contains names of many files. I am reading one file name at a time using for loop Then I like to create one more list file but with the file extension changed to "ctl". Note: The file name can have any number of dots ".". But the extension after the last dot should be... (4 Replies)
Discussion started by: pinnacle
4 Replies

14. Shell Programming and Scripting

Performance issue in Grepping large files

I have around 300 files(*.rdf,*.fmb,*.pll,*.ctl,*.sh,*.sql,*.prog) which are of large size. Around 8000 keywords(which will be in the file $keywordfile) needed to be searched inside those files. If a keyword is found in a file..I have to insert the filename,extension,catagoery,keyword,occurrence... (8 Replies)
Discussion started by: millan
8 Replies

15. Shell Programming and Scripting

Cut a string for last 8 characters

Hello All I have a file like this abc.tpt.ctl bdc.tpt.ctl cdw.tpt.ctl I have looped every line using the for Loop, now I want to take each line and cut the .tpt.ctl part of it and store it in a variable and use the variable in same loop. The part I am stuck at is how do I cut the last... (9 Replies)
Discussion started by: nnani
9 Replies