Fedora :: Can't Input Chinese In Bash And Sh,--(fc13)

Dec 29, 2010

i can input chinese in vim ,gvim,gedit ,and also zsh...., but i can't input chinese in bash and sh , i use ibus.

If i login with another account , i can input chinese in bash and sh !

i also diff the locale and env between the two account ,they are nearly the same;

example: when i input chinese ""i type "wq" and space,then bash print :

Display all 4063 possibilities? (y or n)

View 1 Replies


ADVERTISEMENT

Red Hat / Fedora :: Adding Chinese Fonts FC13 64

Jun 26, 2010

I've also tried:adding the font to local .fonts directory adding font to /usr/share/fonts simply clicking on the ttf file and then 'install' (which puts it in the .fonts directory) But nothing seems to help. As I haven't yet made 15 posts, I can't post a URL, but I'm trying to add Chinese fonts from the uni-heidelberg.de site. (A search on free chinese fonts will give the URL). The only installation hiccup I've noticed is that the font name, when the ttf file is clicked on in the gnome GUI, is (for a number of fonts, not just one file). I don't think that's the problem though.

View 1 Replies View Related

Fedora :: Asian And Chinese Input With Gcim?

Oct 25, 2009

We would like to type simplified Chinese characters on FC11. gcim is installed, and it is selected as input method. We see that with ctrl-space input method changes, and we can select types with ctrl-shift. However, we cannot find a "normal" simplified Chinese,. If we type "WO" it pops up with 7 possibilities, witch is not enough as it suppose to drop over 50 .

View 3 Replies View Related

Ubuntu :: How To Input Chinese (big 5) At Terminal

Sep 11, 2010

display Chinese using gnome terminal I can input Chinese using VI thru gnome terminal but I can not input Chinese(Big 5) correctly on the command line I use scim/bridge as my input method

View 1 Replies View Related

Ubuntu :: Unable Chinese Language Input?

Jan 4, 2010

I'm on a project and I need to type Chinese. I'm new to this Linux thing (only a week) and very noobie.

View 2 Replies View Related

Ubuntu :: Through Chinese Input Primer For Karmic?

Jan 27, 2010

I'm looking for a current primer on the options for Chinese input available for Karmic (9.10). I'm new to Linux, but have been using Chinese input method editors for Windows and Mac for some time. I found some info in these forums, but most of it is several years old.

Some specific questions:

1) I have enabled Chinese input through system>administration>language support, but it seems there is no option for traditional Chinese input via Pinyin, only through some of the other methods, like ¡.

2) I take is IBus is a general name for Asian language input in Linux, but I don't quite understand if it's the only option out there. Also, did it replace SCIM?

3) This being open source, I'm guessing there are tons of input method editors out there to try. Is there some sort of repository I can search.

View 9 Replies View Related

Ubuntu :: Install Chinese Input Method?

Mar 14, 2011

My system is English edition but for work... I have to input Chinese and be able to read chinese documents

View 1 Replies View Related

General :: Input Chinese Characters On Slakware 12.0?

Feb 6, 2010

My installation of slakware linux 12.0 seemed Ok, I can see the beautiful KDE Window and I can also read Chinese homepages by Foxfire browser. But I don't know how I can input Chinese characters. I in fact installed everything from the DVD-package. It appeared that SCIM was installed, and I don't know if I have CLE.

View 1 Replies View Related

Slackware :: Enable Scim To Input Chinese?

Jun 8, 2011

I finished my installation of Slackware 13.37, but I found I cannot input chinese using pinyin in KDE. Of course, I started "scim input method", I mean I can see the icon of keyboard in the tray bar, but I cannot swith input method into chinese with "Control + Space".

View 14 Replies View Related

Slackware :: Input Chinese Words In Xface Environment?

Apr 21, 2010

try xface in my slackware(I updated my slackware from 12.0 to 13.0 a few days before). But, i don't know how to configure the xface windows environment like KDE(i used this before, but found it's very slow in my my new slack). I browsed all the information on the slackbook but found nothing. Googled, failed too

View 4 Replies View Related

OpenSUSE :: SCIM Chinese Input Works On Dolphin But Not In Firefox

Mar 10, 2011

I've installed 11.4 KDE x86-64,which downloaded last night,a GM version. Things working great except 2 thing : SCIM & wifi.SCIM Chinese input works great when 11.3 KDE,but in 11.4 KDE it ONLY works in Dolphin,not works in Firefox.........

View 5 Replies View Related

Red Hat / Fedora :: Change Input/Output Color In Bash?

Jun 5, 2009

When in the interactive envirment, my Input and Output are all mess-up. So i want to color the Input and Output with two different colors.. so i can figure them out..

View 1 Replies View Related

Fedora :: Error: Package Openldap-2.4.21-6.fc13.x86_64 (which Is Newer Than Openldap-2.4.21-4.fc13.i686

Jun 8, 2010

Code:
$ su -c 'yum install wine'
this forum won't let me put all the text in Transaction Check Error: package openldap-2.4.21-6.fc13.x86_64 (which is newer than openldap-2.4.21-4.fc13.i686) is already installed package nss-softokn-freebl-3.12.4-19.fc13.x86_64 (which is newer than nss-softokn-freebl-3.12.4-17.fc13.i686) is already installed

View 4 Replies View Related

Fedora :: Upgrade Of Java-1.6.0-openjdk-1.6.0.0-43.1.8.2.fc13.i686 And Java-1.6.0-openjdk-plugin-1.6.0.0-43.1.8.2.fc13.i686 Prevent The Loading Of Ameritrades Command?

Oct 21, 2010

Last nights upgrade of java-1.6.0-openjdk-1.6.0.0-43.1.8.2.fc13.i686 and java-1.6.0-openjdk-plugin-1.6.0.0-43.1.8.2.fc13.i686 prevent the loading of Ameritrades Command Center.Downgrading to version 1.6.0.0-37 fixes the problem. I'll post the bugzilla number as soon as I get the chance to file it.

View 3 Replies View Related

General :: [bash] Output Of One Script Is Input Of Another?

Mar 20, 2010

Now, I have one script called "defcon" defcon gets the current DEFCON level and outputs it using echo.

Code:

#!/bin/bash
DEFCON=`curl -s http://members.tripod.com/~Swat_25/defcon.html | sed -n '/^$/!{s/<[^>]*>//g;p;}' | sed '/^$/d' | grep '[12345]$'`
echo "The current DEFCON level is $DEFCON"

The second script ("tweet") updates my twitter account.

Code:

#!/bin/bash
curl -s -u USER:PASS -d status="$@" http://twitter.com/statuses/update.xml > /dev/null

What I want to do is be able to update my twitter account with the current defcon status (this is really more of a learning thing than something I actually want to be doing). The original script for tweet replaced $@ with $1, but if I use:

tweet `defcon`

it only uses the first word in the string, similarly if I used $2 or $3.So I changed it to $@. The normal function still works, but typing:

tweet `defcon`

updates twitter with nothing.

EDIT I should mention the /dev/null is there to catch the output of curl, otherwise it won't run silently. It still updates twitter normally with the send to /dev/null

View 1 Replies View Related

Ubuntu :: Bash Script For Each Line Of Input?

Jul 21, 2011

I've written my script so that it reads in the variables $1 $2 $3 $3....$12I have an input file as follows

word1 1 1 2 3 4 5
word2 1 1 2 3 4 5 6
word3 1 1 2 3 4

[code]...

View 9 Replies View Related

Programming :: User Input Bash Script

Apr 28, 2010

I've written a bash script that allows a user to input a directory location to find out the size of the directory. However, if the user inputs a directory and finds its size then inputs another directory then wants to quit, the script asks the user numerous times if he wants to quit!! The script won't exit until the number of times the user looks at a directory is reached! What gives?

Here's the script:

Code:

View 4 Replies View Related

General :: Bash: Input Password Into A Variable?

Aug 22, 2010

I'm basically setting up two sshfs mounts and I have it set up so I run one command but type my password twice.Is there an easy to way to input a password using bash and pass that variable to another process asking for a password?

View 5 Replies View Related

General :: Bash: Auto Input Password?

Aug 28, 2010

When I use the scp command, here is a command prompt "Input password:",Now I want to use a one line command to perform the scp command.I tested the "echo "password" | scp xxx yu@10.xxx.xxx.xxx:/", but failed.

View 2 Replies View Related

Software :: Bash Input Control - Different Numbers ?

Mar 18, 2011

I'm making an bash script.

As input you can input different numbers from 1 to 3.

Depending from the input a text shows up.

View 2 Replies View Related

Programming :: Read Multiple Input With Bash?

May 7, 2010

As I'm starting to learn bash scripting I'm trying to automatize some tasks I usually perform. I have a notification mail I need to send several times a day. It has this structure:

Quote:

Dear user,
blah blah blah blah

You need to contact the following people:

[code]...

To replace "user", I found this:

Code:

read -p "Please enter username: " username
echo "Dear $username,"

Which probe to be very useful with other simple notifications like this. But I don't know how to manage the email addresses as they are usually more than one and could vary from 1 to 10. They should appear one above the other. I found this: "Here is a little work around. The only thing the user needs to do is hit enter without anything else on a line and it will close out"

Code:

#!/usr/bin/ksh
word=a
until [[ $word = "" ]];do

[code]....

I tried to use it and modify for my needs but I failed, I don't realize yet how can I use it. If possible, I would like to use the until loop like the above example just for learning purposes but any other form will be accepted as well.

View 10 Replies View Related

Programming :: Working With User Input In Bash

Jun 2, 2009

I've been using python/bash to help myself automate things for a long time, however I am curious. One reason I use python more is because I don't quite know how to work with user input in Bash, such as getting it to ask for input and wait, and then placing that user input into a command.

Here's an example of a script I use from time to time for converting OGG video files into AVI.

How could I write this same script in Bash? Keep in mind I am mostly self taught, so I am by no means an expert programmer.

Code:

View 3 Replies View Related

Ubuntu :: Bash Script, Take User Input Then Use It As A Path?

Jan 29, 2011

I'm trying to make a script to make it quicker to encode videos.

Code:
#!/bin/bash
echo "Type the path of the video file"

[code]....

View 9 Replies View Related

General :: Feeding Input To Interactive Programs In Bash?

Aug 30, 2010

If I have an interactive program, e.g top, which, after launch, can be fed with key strokes and changes its behavior, for example, after launching top and then pressing "1", you can see the CPU utilization per core. I was wondering if there is a programmatical way to do so, so I don't have to press "1" every time. I would think it is an easy task, but so far my attempts have failed.

View 4 Replies View Related

Software :: Bash : Input A Mp3 And Output The Lyrics As Text?

Dec 18, 2010

I am looking for a prgramme that output the lyrics when I give it an mp3...

Code:

fetchlyrics mymp3.mp3

based on its data inside of mp3

View 7 Replies View Related

Software :: Bash Script: Wait For Input From Kdialog Before Doing Sth?

May 27, 2011

The goal of the script is the following:Whenever I leave my house, my wife comes to my computer to check her mails (She has two computers of her own but they have a dangerous operating system, so they have been banned from the internet).She shuts down qbittorrent so as to download all her mails, and she forgets to execute it again on 98% of the times. End result: my computer is sometimes turned on for 10 hours doing absolutely nothing.I had therefore two choices: a) get on my wife's nerves until she gets the problem or b) write a bash script.If you are married, you will understand that bash scripts are easier to deal with than spouses.Ergo, I wrote the following script:

Code:
#!/bin/bash -x
while true ; do

[code]...

View 3 Replies View Related

Programming :: Bash: Handling Input From File And Keyboard?

Jan 20, 2009

I have this little shell script which copies file names taken from inputfile:

Code:
while read line; do
cp -i $line something

[code]...

View 4 Replies View Related

Programming :: Bash: Passing Output To Another Programs Input?

Nov 12, 2009

I am not sure if that Subject really explains it, basically I have a script that executes a CLI java-applet that requires a passphrase from the user. I can easily execute this by issuing the -p argument followed by the passphrase however that shows up on possible logs or at least on the results of the ' ps ' command. If you do not supply this -p argument it provides a new line with the echo " Enter Passphrase: " and asks for input.

how can I provide a result/input for the Passphrase request and is it still possible to throw this application in the background with the ' & ' following the command? I have seen a few examples that show a /bin/expect that expects a result and sends a command however I would like to refrain from any extra dependencies. Example of Regular Execution of application:

Code:

$ /usr/local/***/**** -u USERNAME -r Default-Realm -f certificate.der
Password:

View 6 Replies View Related

Programming :: Bash Script Predefined User Input

Aug 9, 2009

I have a script im having some problems with, what I need is to have the system generate a random password for me and use that password when creating new users to it.

System is Debian Lenny and script is in bash.

The program is znc. I have made it so that it will generate the random password on the shell but the problem is to use it in the bnc software.

To make a password there the command is znc --makepass and look like this:

My question is now if it would be possible to put in the script so it would "answer" when it need those passwords ? the random password that is generated is in a variable called $setpass and is NOT crypted.

Or is there any other software that would be able to generate that md5 string for me ?

View 7 Replies View Related

Programming :: Bash: Feeding Input To A Script From A Text File?

Nov 17, 2010

I have a script which checks on my jobs that run on some cluster.The script, "script.sh", takes as an input the job-id for the job to be checked. Sometimes I have 100s of jobs and I want to check them all (for successful completion.) I could put these job-ids into a text file, "job-id.txt", each id in its own line.For each job-id, the script would ask me few questions (with a yes or no answers) to see if I want to do some other checks for each job-id.I want to know how may I direct my job-ids from this text file into the script one job-id at a time.

View 14 Replies View Related







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