Slackware :: Characters In Long Lines Disappear On Xorg

Jun 29, 2011

Slackware 13.37, tested on 2 different PC;
affected: mousepad and tcl/tk applications

I am using mousepad and tcl/tk application to view text files with long lines. Sometimes ago I found that some characters (part of line) in long lines disappear. The problem is shown on a very small video. [URL]

View 14 Replies


ADVERTISEMENT

Programming :: Modify Lines That Are Too Long?

May 25, 2010

I have a CDL netlist with 5630 lines. 512 of the lines are over 128 characters. The tool I am using to read in the CDL returns an error for each line over 128 characters.

If the line is too long I can fix it by adding a line continuation symbol, in this case a "/", somewhere prior to the 128th character then a line feed, obviously, and a "+" to the continuation.

example (pretend its a long line);
before;
this line is too long
after;
this line /
+ is too long

Part of the problem is that I can't use a constant point prior to the 128th character because I can't break up a term.

bad;
this line i /
+ s too long

If I can replace the last space before the 128th character with " / + " on all lines that are over 128 characters then I'm golden. I'm not sure if I need to escape the + or not. If so then the substitution is " / + ". And if I use sed then I'll escape the .

View 6 Replies View Related

General :: Get The Lines With Only Five Characters?

Nov 2, 2010

I have a file with a random word on each line (3k+ lines). How can I get the lines with only five characters? I tried using grep file | more, but it returns all the words (even those less than 5 characters).

Edit: I also tried grep '.{5}' file | more but it doesn't show anything. And grep '.{5}' file | more returns all lines with four or more characters (I'm really confused about why it's doing this).

View 4 Replies View Related

General :: Add Characters To Several Lines In A File?

Apr 17, 2009

I would like to modify the content of a text file in Linux, in the following way:=> the file has several of these lines:./run_pest3 ./g134366.04080_0.062 x 2_d043 1 0.43 results_EC=> I want to modify all lines to be:./run_pest3 ./g134366.04080_0.062 x 2_d043 1 0.43 results_EC0.062i.e., the last number of $2 should be "attached" to the end of $7, for each line.

View 5 Replies View Related

Programming :: How To Add Characters And Lines To File

Jan 29, 2011

For example, I have a file called "file" like this one:
type=strongsubj len=1 word=absolve pos=verb stemmed=y priorpolarity=positive
type=strongsubj len=1 word=unique pos=adj stemmed=n priorpolarity=neutral
type=strongsubj len=1 word=absolutely pos=adj stemmed=n priorpolarity=neutral
type=weaksubj len=1 word=taking pos=verb stemmed=y priorpolarity=positive
type=weaksubj len=1 word=friend pos=noun stemmed=n priorpolarity=positive
type=weaksubj len=1 word=usually pos=adverb stemmed=n priorpolarity=positive
type=strongsubj len=1 word=purecolor pos=anypos stemmed=n priorpolarity=negative
type=strongsubj len=1 word=accusingly pos=anypos stemmed=n priorpolarity=negative

I want to add the plural for the noun, for example if find this line:
type=weaksubj len=1 word=friend pos=noun stemmed=n priorpolarity=positive
will add one more line :
type=weaksubj len=1 word=friends pos=noun stemmed=n priorpolarity=positive
where we add "s" for the word friend
I did try to do like that:
<code>
cat file | while read LINE ; do

set -- ${line}
if [[ "${4#pos1=}" == "noun" ]];then
#I tried this line but it doesn't work properly:
v3==$(echo $line |sed 's/$3/$s') #I want to find the third word "word=friend" in that line and add "s" after that word
# I don't know what command to add this new line "$v3" to the file ???
done
</code>

View 12 Replies View Related

Ubuntu Networking :: Can't Connect To Wifi Unless The Password Is Atleast 8 Characters Long?

Jan 20, 2011

When I need to type in the password to get on a wifi network, the "connect" button is grayed out and unclickable until I've typed in 8 characters for the password, making it impossible to connect to networks with shorter passwords. I'm not sure if this problem is unique to 10.10 or not, I've been using linux for a couple years now and I've never tried to connect to a network with such a short password before until last weekend, after my friend figured out how to change his password from the one his ISP set for him.

I'm running Xubuntu 10.10 on an IBM T42 laptop, here's the relevant hardware from the lspci command, 02:01.0 Ethernet controller: Intel Corporation 82540EP Gigabit Ethernet Controller (Mobile) (rev 03) 02:02.0 Network controller: Intel Corporation PRO/Wireless LAN 2100 3B Mini PCI Adapter (rev 04)

View 4 Replies View Related

General :: Breaking Long Command Into Lines In Crontab

Oct 14, 2010

How to break strings of command into multi-lines in crontab? e.g.
Code:
# the following is a very long a gruesome command to be run at 09:59 Monday to Friday.
59 09 * * 1-5 source $HOME/some-definitions; sh /usr/local/my/long/name/application/bin/hello $(date +\%Y\%m\%d) >>/var/log/my/long/name/application/log/hello.log

View 2 Replies View Related

Programming :: Remove All Lines Containing Extended Characters

Nov 7, 2010

I am using 'sed -e /foo/d' to match lines which I want to delete from a file. I discovered I have some lines which contain random (extended?) characters like 'ủ' which I would also like to delete. The lines in the file should only contain alpha numeric characters.

View 8 Replies View Related

Fedora Installation :: Total Number Of Lines And Characters

Dec 25, 2010

View the entire contents of the file / etc / passwd, showing first 10 lines of file / etc / group, 10 displayed the last line of the file / etc / group. And
- The total number of lines and characters in file pwd and grp

View 2 Replies View Related

Ubuntu :: Prevent Writing New Characters In Beginning Of Output Lines

Aug 5, 2011

In Windows's CMD when you execute a command and then start writing the next one (while still executing the former one) the characters remain in the buffer and they all come up nicely to the new line once the previous command has been executed. In Ubuntu when I do this the newly typed characters annoyingly get in the beginning of the previous command's output lines. I don't really understand why isn't the default method as in Windows's CMD. I mean otherwise almost _everything_ sucks with it when compared to Unix/Linux shells/terminals (commands are longer, syntax is annoying, etc.) So I'd like to know how to do this in both Bash and Zsh.

View 1 Replies View Related

General :: Perform A Long Directory Listing Of All Files In The /bin Directory That Have Exactly Three Characters In Their Name?

Jan 18, 2010

How do you perform a long directory listing of all files in the /bin directory that have exactly three characters in their name?

View 1 Replies View Related

Software :: Password Management - The Password Length Must Be At Least 16 Characters Long

Feb 23, 2010

I have a requirement to set up linux system administrator password with respect to below guidelines... I was lookin at pam_passwdqc but not sure that it all the below mentioned criterias to be acheieved.. Please go thru the below criteria and let me know which utility should i use for it.

1 The password length must be at least 16 characters long.
2 The password must be different from the previous 20 passwords.# Not sure how to acheieve this
3 The password must be changed every 60 days.
4 The password must be different from the user ID. It must not contain any derivatives of the User ID. ]# Not sure how to acheieve this
5 The password must contain characters from 3 of the following 4 classes:

5.1 Upper Case
5.2 Lower Case
5.3 Numerals
5.4 Special Characters (for example: #, $, &, ].....)

View 1 Replies View Related

Slackware :: NFS Directories Corrupt Or Disappear

Feb 6, 2011

NFS server is on Slackware-current64 and client is on 13.1. The directory being exported is vfat formatted on a firewire drive. I've been accessing this share on the client with Amarok and Juk without incident for a couple of months. Yesterday I decided to try out moc on the client with this setup. After many revisions to fstab options on both the server and client I still get the same result: after a couple of hours running moc post remounting and re-exporting, the directories on the nfs share on the client start disappearing or corrupting.

View 3 Replies View Related

Slackware :: Difference Between Files (xorg.conf And Xorg.conf-vesa)?

Feb 16, 2011

1. What is the difference between files (xorg.conf and xorg.conf-vesa)

2. No matter how hard I try I can't change keyboard layout in xorg.conf-vesa (I change it in file ) but there is no actually anything changing, it starts to get annoying - for example - below goes my xorg.conf-vesa, if I uncomment and set line from

[Code]...

View 3 Replies View Related

Slackware :: Files Disappear & Are Reverted To Original?

Oct 12, 2010

After 2 weeks of work to restore my server to working condition (after a failed HDD) I am facing a very strange problem. Basically, random files (config, scripts, etc) are either going mising or are reverted to original states. Example1: This morning, I went to use VNC to remote login in my server. I couldnt start the VNC server. I used ssh to login and searched for a lock file (.pid) or anything else preventing VNC from starting, only a few minutes later to open rc.local_shutdown and discover that it was only containing:

Code:
#!/bin/sh
#
# /etc/rc.d/rc.local: Local system initialization script.
#
# Put any local startup commands in here. Also, if you have
# anything that needs to be run at shutdown time you can
# make an /etc/rc.d/rc.local_shutdown script and put those
# commands in there.
All my custom commands were gone...

Example2: Yesterday, I was still using my NFS shares to play music and movies. All worked perfectly. A few minutes ago, I tried to mount the NFS shares on my laptop but it did not work. I used ssh again to login in the server and discovered that nfsd was not running. I tried to start it and it said that there were no exports to share (or something like that). I opened /etc/exports and it was PLAIN empty!! However, I had a export.orig file in /etc... SO somehow, something erased my exports file but care to create a backup of it!

Question: What could do such stupid stuff? Hints: I did not install anything. I did not fool around with anything. The server was unpowered between yesterday and today.

View 3 Replies View Related

Slackware :: Using The Default Xorg Server Without Using Xorgconfig In Slackware?

Jul 13, 2011

i can normally adjust the back light settings of my lap top by pressing fn and the up and down aarows. I am using the default xorg server without using xorgconfig in slackware, and it works perfect so far dispite this slight problem. When i do, do that key combo, (in kde) it does display the the meter of brightness, but i can't move the settings. I believe this may be an x issue, but not sure.

View 6 Replies View Related

Slackware :: Fixed Conky / KDE4 Transparency - Doesn't Disappear When Click Desktop

Jun 19, 2010

This works on my Slackware64 13.1 using KDE 4.4.4, Conky version 1.8.0. This is a simple .conkyrc tweak that doesn't need feh, it doesn't have the distracting faun shadow-border and most importantly, it doesn't disappear when you click your desktop (On my system anyway). These are the relevant sections to edit:

Code:
own_window_colour black
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
own_window_argb_130
own_window_type override
own_window yes

I found that getting rid of the own_window_argb_values yes suggested in other fixes and replacing it with a specific alpha and then changing window type to override solved all my issues. I've noticed no bugs or strange happenings. This seems to be a common problem with a lot of workaround solutions. I think this is a much more elegant way. Edit: Not persistant... After 2 reboots it's back to normal.

View 1 Replies View Related

Slackware :: How Long After Release Until -current Kicks Up Usually

Jun 11, 2010

I know, I know Pat and crew deserve a break after a long dev cycle, but I got hooked on -current moving, so sue me . I was just wondering how long does it usually take before current starts moving again after a release?

View 5 Replies View Related

Slackware :: When Change The Bright Of Screen - Xfce Power Manager Show A Info Bar - Now It Disappear

Aug 3, 2010

I'm running Slackware64 13.1. When I change the bright of my screen, xfce power manager show a info bar. But now it disappear, when I run xfce4-power-manager from a terminal I get this info:

Quote:

Another thing, Slackware don't have cpu governors?

View 7 Replies View Related

Slackware :: Takes A Long Time To Delete A File?

Mar 6, 2010

It takes an awfully long time to delete a file when deleting it though one of the KDE programs, like kdevelop or konqueror file manager.

Deleting files with rm works fine. I suspect it has to do with KDE recycling bin mechanics which I know nothing about. I am running fluxbox wm if that matters.

View 7 Replies View Related

Slackware :: Accented Characters In Minimal Desktop?

Apr 10, 2010

I am running Slackware64 v13.0 with XMonad as my window manager and dzen2 as my status bar. Sometimes I do my Spanish homework on this computer, and I would like to know the best way to get accented characters and other symbols. Normally, in desktop environments or proprietary OSs, there is a window I can open to select certain special characters. I don't have any of that on this system, and I need to know if there is a simple, minimal program that displays special characters like this or if there is another way to use them easily. I would prefer something light and without many dependencies (just because I prefer simpler software), but I'm open to other solutions if something like this is not available.

View 7 Replies View Related

Slackware :: Odd Screen Characters And Laptop Activity?

May 13, 2011

Compaq N600c w/ Slack 13 loaded...it's an older workhorse that began behaving oddly after the user dl'd a background image for her desktop...on login, the laptop would spawn hundreds of terminals once producing a load avg of 40.5 -never seen that before- as well on shutdown and startup I start seeing the appearance of the following characters ^[[[D repeated hundreds if not thousands of times on the screen, boot and shutdown will progress to completion but it's unintended behaviour, therefore suspect in my mind.hd thorough self-test passed and memtest is not showing errors on it's second pass

View 3 Replies View Related

Slackware :: Specials Characters Don't Appear And Terminal Have No Colors

Sep 10, 2010

I use slackware64 13.1. In my root account the terminal have colors for folders, files, etc and characters like appear correct.I create a normal account for me, but specials characters don't appear and terminal have no colors.I read in a lot that I need to configure a .bashrc and a .bash_profile but I don't found this files in my root account to get some guide lines.

View 5 Replies View Related

Slackware :: Display Chinese Characters In File Browser ?

Jan 27, 2011

Using Fluxbox, have tried this in XFCE and KDE. Chinese characters display properly in whatever browser I use online. I do need to see some in the file manager and this is not working.

I have installed the following chinese display files from Slack -

No results so far.

View 12 Replies View Related

Slackware :: Unreadable Characters At Console Screen After KDE Logout?

Jan 17, 2011

I'm using Slackware 13.1.

Whenever I logout of KDE and go back into console mode, the characters at the console screen become unreadable gibberish. Is anyone else having this problem?

I can ctl+alt+F? to work at another console screen, but the ctl+alt+F1 screen remains unreadable until I reboot.

View 4 Replies View Related

Slackware :: Amarok Refusing To Play Songs That Have Any Non-ascii Characters

Jun 25, 2010

I'm stuck with the problem of amarok refusing to play songs that have any non-ascii characters in the metadata, which is about 1/3 of my collection.A solution to that problem would be ideal, but if there is a good alternative (like amarok 1.x series) I would probably switch.

View 5 Replies View Related

Slackware :: Dhclient Does Not Strip Or Escape Shell Meta-characters

Apr 6, 2011

dhclient does not strip or escape shell meta-characters

Summary: dhclient doesn't strip or escape certain shell meta-characters in dhcpd responses, allowing a rogue server or party with with escalated privileges on the server to cause remote code execution on the client.

CVE:

ISC dhclient did not strip or escape certain shell meta-characters in responses from the dhcp server (like hostname) before passing the responses on to dhclient-script. Depending on the script and OS, this can result in execution of exploit code on the client.

CVSS Score:

For more information on CVSS scores, visit [url]

Workarounds:

On SUSE systems, it is possible to disable hostname update by setting DHCLIENT_SET_HOSTNAME="no" in /etc/sysconfig/network/dhcp.

Other systems may add following line to dhclient-script at the beginning of the set_hostname() function:

In environments where filters/acls can be put into place to limit clients to accessing only legitimate dhcp servers, this will protect clients from rogue dhcp servers deliberately trying to exploit this bug.

However, this will not protect from compromised servers.

Active exploits:

Solution:

Upgrade to 3.1-ESV-R1, 4.1-ESV-R2 or 4.2.1-P1. [url]

No patch is available for 4.0.x as it is EOL. Anyone running 4.1.x should upgrade to 4.1-ESV-R2.

Acknowledgments:

Revisions:

View 1 Replies View Related

Ubuntu :: File System Check Failed A Long Is Being Saved /var/long/fsck/checkfs

Jan 9, 2010

just start Ubuntu 9.04 said: File system chek failed a long is beging saved /var/long/fsck/checkfs if that location is writable Please repair the file systmen manually A maintenance shell will now be started Ctr+ D terminate this shell and resume system boot. Give root password for maintenance or type Control +D to continue. I did Ctr+D , and after login said , that can not find /home. I starte with the live cd:

[Code]....

View 9 Replies View Related

Slackware :: Black Screen On Bootup After A Few Lines (13.37)

May 25, 2011

i just installed slackware 13.37 which worked fine but when i boot it up it runs a number of lines and then the screen just goes black... i can login as root blindly and start x (i THINK, judging from hdd led)... but screen stays black... its a laptop and closing/opening the lid doesnt work either...

i am dualbooting with slack 13.1 which runs fine... it switches screen res at some point during boot (font is smaller) and i would say that is the point where the screen goes black in 13.37...

View 14 Replies View Related

Slackware :: No More Xorg.conf?

Jun 2, 2010

Sorry if this was well covered here when most up-to-date Slackers moved to 13.0, but I have just jumped from 12.1 to 13.1. Generally very happy that I do not have to think about xorg.conf as I always found the structure of this conf file a tad confusing. However if I do need to (for example) change my video driver (I might for example want to try the nvidia driver from NVIDIA) or configure my touchpad - how do I do this ?

I understand that xorg.conf can still be created. If I do so, do I have to put all the stuff in that used to be there or can I just add the stuff I need to make the changes I am looking for?

View 4 Replies View Related







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