Software :: Make Iconv To Skip Incorrect Symbols Or Iconv Alternative?

Jul 24, 2011

I'm going to convert a lot of text files from unicode to MS Win encoding cp-1251 but I fail using iconv since it stop converting when reach a symbol not existing in Windows codepage:Code:iconv: illegal input sequence at position ...Is there a way to force iconv to continue encoding skipping incorrect symbol or any other program for CLI codepage conversion? I'm remember there was a 'konvert' command many years ago in one (and as far as I remember it was not stopping in this case) but I can't find any package providing this command...

View 3 Replies


ADVERTISEMENT

Ubuntu Servers :: Skip Boot Errors - Adding Incorrect Variables

Sep 1, 2011

when changing /etc/network/interfaces and adding incorrect variables. next time you reboot the system it won't start. in the past with 9.10 & 9.04 ubuntu used to ignore these errors in the file and continue booting. allowing us to correct them later. is there anyway to skip these boot errors?

View 1 Replies View Related

Programming :: 'nm' Lists All Symbols - Including Static Library Symbols?

Apr 5, 2010

By issuing the 'nm' command on shared library (internally using one static library), the functions exposed by static library is also being listed, Which allows to use internal functions which is of course not intended. I have one static library having A(), B() and C() functions. Creating one shared library which has function XYS() that is using A() and B() functions from Static library. While doing 'nm' on shared library, all the static library function are being listed.

Static Lib:

#include<stdio.h>
void A(char *msg)
{
printf("

[code]....

View 4 Replies View Related

Programming :: Make Getchar() Skip A Leading Space?

Jul 10, 2010

How do I make getchar() skip a leading space? The situation I am looking is this: I print a prompt that ends in a space printf("Input: ");and then when I use getchar() to read the text that was typed after the prompt, it appears to process the trailing space as a leading space that belongs to the input.

how can the space be skipped, preferably without inserting code that explicitly checks whether I'm reading the first character or not. I have already found out that I can skip such a space using scanf scanf (" %c", &ch); where the leading space in the format string eliminates leading spaces from the input string. That is the sort of thing I have in mind.

View 7 Replies View Related

Ubuntu :: Make A Script That Will Skip The Screen Saver Stage And Just Shut The Monitor Off?

Jul 23, 2010

I am trying to make a script that will skip the screen saver stage and just shut the monitor off (and not come on till the computer is touched)

Code:
#!/bin/sh
gnome-screensaver-command --lock
xset dpms force off
gnome-screensaver-command --inhibit
exit

that appears to work but i want it to exit after the computer is touched again

View 5 Replies View Related

Ubuntu :: Incorrect Monitor Detection / Make It Correct?

Feb 25, 2011

It's detecting a 73" Mitsubishi TV when I have a 60". I installed my graphics card driver and that didn't correct the error.

View 4 Replies View Related

Server :: Alternative To SSL Certificates / Make Self-signed Certificates Work On Most Popular Browsers Without Being Flagged?

Aug 24, 2010

I run a web server on Fedora 12, principally using Apache, MySQL, and PHP. I host a variety of sites, one of which is a family website that contains semi-sensitive personal data for several hundred extended family members, who all have access to the database-driven site.

Until now, I have been using a self-signed SSL certificate to encrypt the data as it is read and written back and forth from my database. Family members have simply had to put up with clicking past certificate warnings as they enter the site, as most browsers flag self-signed certificates as bad. It hasn't really been that much of a bother, but I'd love to do it more professionally. I have looked into buying SSL certificates, but it's a site I host for free and would rather find a cheap or free alternative if possible.

So I'm just fishing for ideas to work with. What are some alternatives to using SSL certificates for moderately strong website encryption? So far, I run only one host on the domain, but may eventually need encryption that would support multiple hosts. Or does anybody know a way to make self-signed certificates work on most popular browsers without being flagged as suspicious?

View 7 Replies View Related

General :: What Are The Symbols In VDT's Output

Feb 17, 2011

I've been messing with a curses-based disk check tool in Linux called VDT (visual disk test). It puts out a nice little chart on the screen as it's going, but I have no idea what each unit of output on the chart means. I've read the man page several times, but there doesn't seem to be any mention of the visual output.

For instance, right now I have a chart that looks like this during a read test. What do the o's and the Z mean?

View 1 Replies View Related

Ubuntu :: Chown And Skip Dot And Dot-dot?

Mar 5, 2011

I issued chown '-hR <user>:<group> *' on a directory. chown also change dot and dot-dot in cwd and all subirectories. How do I go about recursively changing ownership without changing dot and dot-dot?

View 2 Replies View Related

Programming :: How To Skip Getchar In C

Oct 1, 2010

I would like to read an input from keyboard using getchar. However, if no input (No Carriage return/new line none whatsoever) is given after say, 5 seconds, I would like to skip the getchar and move on. How do I do this in C. I'm using GNU compiler set.

View 6 Replies View Related

Ubuntu :: Battery, Network & Other Symbols Gone?

Jan 8, 2010

wanted to remove one of the informative symbols, at the top right of the screen next to the date/time, i right clicked it and went 'remove from panel' and all my symbols including the battery level and network connection indicators. I cant seem to get them back and their not in the 'add to panel' list

View 4 Replies View Related

Ubuntu :: Options List - What Certain Symbols Do Such As {}

Nov 1, 2010

I have searched these forums and the net and for the life of me I cannot find a list of of all the options (ie. -a -b -c) I also have some interest in knowing what certain symbols do such as {};

View 6 Replies View Related

General :: Debug Symbols Of GNU Packages

Jul 21, 2011

Where can I find debug symbols of GNU packages, for example for coreutils etc.?

View 3 Replies View Related

Programming :: GDB (No Debugging Symbols Found)

Oct 19, 2010

I'm running gdb across a network using gdb server. I've got it up and running. However I can't see any source or variables for my code (in ddd /gdb). At start up gdb says (no debugging symbols found). I've got a g in my make file,
CPFLAGS = -Wall -Os -g -pedantic

I've tried loading symbols in using "symbol-file testarm", this sort of works in that I can view symbols but not names, e.g. if I ask dd to show x y and z, rather than
x = 10
y = 20
x = 30

It says:
display
10/20/30

Also ddd does not show anything in the source window, is there a way I can get it to show this? I think it's because I've started ddd with ddd arm-linux-gdb, as I'm calling a crosscompiler gdb. So can I tell ddd to point to the correct folders? What commands I need to set in gdb/ddd to view variable names (it's hard to keep track when it bunches them all together) and how to view my source code.

View 2 Replies View Related

Programming :: Parser Symbols With Different Types

Nov 27, 2010

I decided to try making a programming language again after my last unsuccessful attempt, so now I figured how to write a good AST and it works great when the nodes are hard-coded into a test program. But to make a language out of it, I need a parser to build the tree according to an input file. I ran into a problem here:

YACC input file:
Code:
%{
#include "nodes/allnodes.h"
#include "Node.h"
int vars[26];
%}

%token SEMICOLON INTEGER VARIABLE IF WHILE DO OPAREN CPAREN OBRACE CBRACE
%right ASSIGN
%left NE
%left PLUS MINUS
%left TIMES DIVIDE
%% .....

As you might see, each nonterminal creates a Node* object and uses it as its value. The problem is that the literal tokens, however, don't return Node*'s and I don't know what to do. I would like to be able to convert literal tokens to nodes in the Lex file (which would avoid the problem), but the problem is with the assignment operator, which takes a Node* for the right-hand side and a variable name (not a Variable Node, because they just evaluate the the variable's value and you can't change the variable with them) for the left hand side.

View 14 Replies View Related

Programming :: Difference Between Various Symbols Of Kernel

Aug 22, 2010

I was going through some exercise given in my school. I have read the C book but I am not able to understand some part. That is static variable. What exactly is a static variable and what does it do? I saw in Linux Kernel Programming external and exported are also some thing. I am not getting the difference between static,EXPORT_SYMBOL,external variable types. If I make a kernel module then how will I make sure that my variable is visible to the kernel. Is this what it is all talking about? I have checked this page [URL].

View 2 Replies View Related

Slackware :: 13.1 - MF / MP Symbols Small And Unreadable

Jun 4, 2010

When I used slackware 13.0 I installed wine 1.1.40 and then I installed an old program, PowerTAB. The font for the mf, mp, and other symbols was very small and unreadable. To solve this I put sylfaen.ttf in /home/darksaurian/.wine/drive_c/windows/Fonts and this magically fixed the problem. I don't know why or how I figured it out. But now with Slack 13.1 I do the exact same thing, same version of wine, and the font trick does nothing. The mf, mp symbols remain unchanged and unreadable.

View 9 Replies View Related

Slackware :: Where Can I Find KDE 4.4.x Debug Symbols?

Jun 26, 2010

Where can I find KDE 4.4.x debug symbols?

My dolphin-fish likes to be out of segment (segmentation fault).

KDE crash handler complains about missing debug(ger) symbols.

Are they added to Slackware? I made full-install.

View 2 Replies View Related

Ubuntu :: Audio Files Skip Every Now And Then

Jul 6, 2011

Strange problem from a couple of months, Audio files skip every now and then. Sounds like buffering issue. MP3, Wav etc. all skip on VLC, Qamp etc, once in a minute or two, its quite random. i thought there was CPU spikes or something by some program i installed. I checked the system monitor and found no unusual spikes in the CPU... so i am thinking this must be the audio buffers. Can i set the buffers for the for the driver or something? my machine is: Dell Inspiron Mini netbook Ubutu lucid 10.04, 2bg RAM, 260GB HDD

View 1 Replies View Related

Programming :: C- How To Skip Dirs That Are Mounted Twice

Aug 27, 2010

I need to list a directory recursively but I want to skip subdirs that were already mounted. There are 2 cases:

a) a filesystem was mounted twice, like in this example:

- "/dev/sda2" was mounted on "/mnt/mnt_point1"
- "/dev/sda2" was mounted on "/mnt/mnt_point2"

I want to list "/mnt" but descend only in "/mnt/mnt_point1"

b) part of the file hierarchy was remounted somewhere else, with "mount --bind":

- "mount --bind /home/user/tmp/test /home/user/tmp/mounted_test"

I want to list "/home/user/tmp" but descend only in "test" "statfs" and "statvfs" don't offer any information to discern if a dir was mounted twice. One solution would be to read "/etc/mtab" (as "find" command does it) and perform some checks, but I think that this is pretty expensive (one has to read /etc/mtab every time one encounters a dir; if this file is read only when program starts, a mount could occur in between reads, so that the program will be inaccurate). Another solution would be to filter kernel events (via libudev or Netlink) and do this reading of /etc/mtab only when a MOUNT event was issued.

View 1 Replies View Related

OpenSUSE :: Oprofile And Debug Symbols For Glibc ?

Mar 2, 2010

How do I get debug symbols for glibc? I'm using oprofile when profiling applications. Unfortunately, the default glibc version that comes with SUSE 11.1 has the debug symbols stripped-out. That means that all libc functions get aggregated into one big blob under "glibc.so" and you can't tell whether you spend most of the time in memory allocation, syslog or lock related routines.

So, I've tried a myriad of different ways of getting the symbols. From trying to build glibc myself to hunting for dozens of different rpms on this site and on the Internet. So far - no positive results.

My sytem: OpenSUSE 11.1, x86-64.

View 6 Replies View Related

OpenSUSE :: Installing Debug Symbols For KDE Applications

Jan 9, 2011

I followed the instructions at
OpenSUSE: Bugreport KDE - openSUSE
to install debug symbols for okular which seems to crash quite often for me. However gdb and the kde crash application are unable to find them. The kde app says its not a good crash report and I should follow the guide.. which has already been done.

I installed
kdegraphics4-debuginfo
kdebase4-runtime-debuginfo
kdebase4-workspace-debuginfo
kdelibs4-debuginfo
libqt4-debuginfo

Is there a step I'm missing to get gdb to load the symbols or something?

View 6 Replies View Related

General :: How To List Imported Symbols In ELF Executable

Jul 9, 2010

For PE executable, I can list the imported symbols using

dumpbin /imports FILE.EXE

or using the depends utility which is GUI application.

`nm ELF-binary' just returns "no symbols".

View 1 Replies View Related

Ubuntu :: 9.10 - Colored Screen With Strange Symbols

Feb 13, 2010

I'm using Kubuntu 9.10 and I have a problem with my screen. I use the nvidia driver downloaded from the website, installed manually as I always do. I wanted to update it, but when I press ctr-alt-F1 to go to the console to stop kdm, I cannot see the usual black screen, but only a very strange blinking screen with lines and colours, strange symbols like $ & %. This happens for every F1 until F6, then F7 luckily brings me again on the graphical desktop.

I tried to install the drivers from the "Hardware drivers" manager in Kubuntu, but nothing changed. I don't know if it's an issue related to the kernel or to the driver. But I don't know how to update it without F1 console, and however it's a serious issue because I cannot do anything in case of desktop failure. The kernel is the last officially released (I don't use the proposed repos), that is 2.6.31-19.

View 1 Replies View Related

Ubuntu :: Purple Screen With Three Symbols At Bottom

Jun 24, 2010

I'm getting a screen that has what looks a like a keyboard, equal-sign, then a person in a circle. This happens when I go to install it. I have made new discs and everything and nothing but the screen.

View 2 Replies View Related

Ubuntu :: Certain Fonts Cause Greek Letters To Appear As Symbols

Sep 12, 2010

Some fonts cause some greek letters to appear as squares or symbols - while the rest appear correctly.

Is there any way to make all non-latin characters to use a font different than the one the latin characters use?

View 2 Replies View Related

Ubuntu :: Modify The Keypress Return Symbols?

May 8, 2011

When I press the keyboard button: (- _) I would like to see a '_' on the screen instead of a '-'. How can this be done? {Lucid 10.4}

View 2 Replies View Related

Programming :: Could Not Read Symbols - Archive Has No Index

Apr 2, 2010

I am trying to port c & c++ open source code onto embedded target(MIPS).It compiles fine on x86/RH4. When I try embedded platform specific tool chain as follows, I get following error:

I tried different combinations. It did not help. My idea is to port an open source code that works fine on X86/Linux to an embedded target based on MIPS.

View 4 Replies View Related

Ubuntu :: Network Symbols Appears In Corner With X Beside It?

Aug 31, 2010

I am running Ubuntu 10.4LTS. The network symbol of two monitors shows up consistently up in the right hand corner of my monitor. I look at my network settings and it shows activity on eth1 as "never". But, I am on the internet fine.

View 1 Replies View Related

General :: Meaning And Functions Of Shell Symbols?

Mar 16, 2011

In shell scripting, what do or what does this symbol do or mean ? "."(octet), ";" (semicolon)? Would really like to know? Cause I saw a written script if [ -f /etc/file ];then. . /etc/file. Wondering, the "." is meant to be source, so is "." the same thing as "source" ?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved