LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-18-2012, 05:11 PM   #211
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,976

Rep: Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555

Quote:
Originally Posted by BlackRider View Post
WTF???
My thoughts exactly. If you don't install the games, then you deprive yourself of the login quotes.
 
Old 09-19-2012, 12:43 AM   #212
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Freeslack
Posts: 1,711

Rep: Reputation: 102Reputation: 102
If you don't install the games, then you deprive yourself of the login quotes.

Precisely.
 
Old 09-19-2012, 03:40 AM   #213
bnguyen
Member
 
Registered: Jul 2010
Distribution: Slackware
Posts: 125

Rep: Reputation: 32
Git has just issued a bug-fixes release, so it's pretty safe to be incorporated:
https://raw.github.com/git/git/maste...s/1.7.12.1.txt

On a similar note, latest subversion is at 1.7.6 (also a bug-fixes -- released about a month ago), while in -current it is still at 1.7.5.
https://svn.apache.org/repos/asf/sub.../1.7.6/CHANGES
 
Old 09-19-2012, 04:03 PM   #214
yars
Member
 
Registered: Apr 2012
Location: Russia
Distribution: Slackware
Posts: 137

Rep: Reputation: 13
Hi!
I have installed Bash 4.2.24 and Slackware 14RC4. I have a problem: when I type in english a unknown command, all good:
Code:
$ my_command
bash: my_command: command not found
But if I make an error and type the command in russsian, I get:
Code:
# ьн_сщььфтв
bash:$'\321\214\320\275_\321\201\321\211\321\214\321\214\321\204\321\202\320\262': command not found
I can fix it with a patch:
Code:
*** ./execute_cmd.c.orig	2012-09-19 22:36:49.308655767 +0400
--- ./execute_cmd.c	2012-09-19 22:38:35.043662058 +0400
***************
*** 4731,4739 ****
  	  hookf = find_function (NOTFOUND_HOOK);
  	  if (hookf == 0)
  	    {
- 	      /* Make sure filenames are displayed using printable characters */
- 	      if (ansic_shouldquote (pathname))
- 		pathname = ansic_quote (pathname, 0, NULL);
  	      internal_error (_("%s: command not found"), pathname);
  	      exit (EX_NOTFOUND);	/* Posix.2 says the exit status is 127 */
  	    }
--- 4731,4736 ----
Or with /etc/.bashrc:
Code:
echo 'function command_not_found_handle {
  echo "bash: $1 : command not found"
}'
I have this problem also in bash-4.2.037, upgraded in RC2.
Thanks and sorry for my english.

Last edited by yars; 10-26-2012 at 01:25 PM. Reason: Please, see the post #218 in this thread.
 
1 members found this post helpful.
Old 09-21-2012, 04:37 PM   #215
yars
Member
 
Registered: Apr 2012
Location: Russia
Distribution: Slackware
Posts: 137

Rep: Reputation: 13
I will add that there an another patch that solves these problem: ROSA Lab
Code:
--- bash-4.2/lib/sh/strtrans.c.orig 2012-08-06 17:37:02.478363913 +0400
+++ bash-4.2/lib/sh/strtrans.c  2012-08-06 17:45:29.647803781 +0400
@@ -212,6 +212,11 @@
   if (str == 0 || *str == 0)
     return ((char *)0);
 
+#if defined (HANDLE_MULTIBYTE)
+  wchar_t wcc;
+  size_t wc_len;
+#endif
+
   l = strlen (str);
   rsize = 4 * l + 4;
   r = ret = (char *)xmalloc (rsize);
@@ -222,6 +227,9 @@
   for (s = str, l = 0; *s; s++)
     {
       c = *s;
+#if defined (HANDLE_MULTIBYTE)
+      wc_len = 1;
+#endif
       l = 1;       /* 1 == add backslash; 0 == no backslash */
       switch (c)
    {
@@ -243,7 +251,12 @@
    case '\'':
      break;
    default:
-     if (ISPRINT (c) == 0)
+#if defined (HANDLE_MULTIBYTE)
+          wc_len = mbrtowc(&wcc, s, MB_CUR_MAX, NULL);
+          if ((int)wc_len < 0 || iswprint(wcc) == 0)
+#else
+          if (ISPRINT (c) == 0)
+#endif
        {
          *r++ = '\\';
          *r++ = TOCHAR ((c >> 6) & 07);
@@ -256,7 +269,12 @@
    }
       if (l)
    *r++ = '\\';
+#if defined (HANDLE_MULTIBYTE)
+      for (; (int)wc_len > 0; wc_len--, c = wc_len ? *++s : c)
+          *r++ = c;
+#else
       *r++ = c;
+#endif
     }
 
   *r++ = '\'';
@@ -277,10 +295,34 @@
   if (string == 0)
     return 0;
 
+#if defined (HANDLE_MULTIBYTE)
+  const wchar_t *wcs;
+  wchar_t wcc;
+
+  wchar_t *wcstr = NULL;
+  size_t wclen, slen;
+
+ 
+  slen = mbstowcs (wcstr, string, 0);
+ 
+  if (slen == -1)
+    slen = 0;
+  wcstr = (wchar_t *)xmalloc (sizeof (wchar_t) * (slen + 1));
+  mbstowcs (wcstr, string, slen + 1);
+
+  
+  for (wcs = wcstr; wcc = *wcs; wcs++)
+    if (iswprint(wcc) == 0)
+      {
+        free (wcstr);
+        return 1;
+      }
+  free (wcstr);
+#else
   for (s = string; c = *s; s++)
     if (ISPRINT (c) == 0)
       return 1;
-
+#endif
   return 0;
 }
This patch is wrote a more professional people, than I.

Last edited by yars; 09-21-2012 at 04:46 PM.
 
1 members found this post helpful.
Old 09-22-2012, 03:24 AM   #216
hua
Member
 
Registered: Oct 2006
Location: Slovak Republic
Distribution: Slackware 13.37, 14.0
Posts: 396

Rep: Reputation: 49
Hi Slackware team.
I only want to ask about an error which I had in 13.37 on Lenovo server hardware.
Here is the original thread:
http://www.linuxquestions.org/questi...3-37-a-935355/
Here is the short log about the problem.
Quote:
Adaptec aacraid driver 1.1-5[26400]-ms
aacraid 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
aacraid 0000:04:00.0: setting latecy timer to 64
AAC0: adapter kernel panic'd ffffffff.
aacraid 0000:04:00.0: PCI INT A disabled
aic94xx: Adaptec aic94xx SAS/SATA driver version 1.0.3 loaded
Will this problem be solved in the Slackware14?
Thanks for all your work on Slackware. Slackware is the greatest OS.

Last edited by hua; 09-22-2012 at 03:25 AM.
 
Old 09-22-2012, 02:31 PM   #217
otzy_007
LQ Newbie
 
Registered: Apr 2010
Distribution: Slackware64 13.0, Slackware 11.0
Posts: 6

Rep: Reputation: 1
How about bumping the version of taglib to 1.8? I'm running my own build of v1.8 and I don't have any issues.
 
Old 09-29-2012, 12:41 PM   #218
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,245
Blog Entries: 16

Rep: Reputation: 233Reputation: 233Reputation: 233
Quote:
Originally Posted by yars View Post
Hi!
I have installed Bash 4.2.24 and Slackware 14RC4. I have a problem: when I type in english a unknown command, all good:
Code:
$ my_command
bash: my_command: ccommand not found
That's not the actual error right? It's just a typo from posting in this thread. (Cause I built the package myself and it's not showing a message like that.)

Last edited by konsolebox; 09-29-2012 at 09:49 PM. Reason: Grammer :)
 
Old 09-29-2012, 02:01 PM   #219
yars
Member
 
Registered: Apr 2012
Location: Russia
Distribution: Slackware
Posts: 137

Rep: Reputation: 13
Quote:
Originally Posted by konsolebox View Post
That not the actually error right? It's just a typo from posting in this thread. (Cause I built the package myself and it's not showing a message like that.)
Yes, this is a typo. But I shown a example when I type the unknown command in russian instead english:
Code:
# ьн_сщььфтв
bash:$'\321\214\320\275_\321\201\321\211\321\214\321\214\321\204\321\202\320\262': command not found
This is a bug with the quoting a UTF-8 strings. These patches can solves this problem, but it is not correct from the point of view of experts, that I am not. This bug located in a bash-4.2/lib/sh/strtrans.c file.
The patch on execute_cmd.c just revert behavior of the Bash like bash-4.1.
I would love to do a proper patch, but unfortunately I do not have enough for that knowledge.
 
Old 10-27-2013, 10:11 AM   #220
mats_b_tegner
Member
 
Registered: Nov 2009
Location: Gothenburg, Sweden
Distribution: Slackware64
Posts: 145

Rep: Reputation: 47
xine-ui 0.99.7

Quote:
Originally Posted by willysr View Post
yes, the current xine-ui is now 5 years old and it lack several features that are present in 0.99.7
however, strange thing is that i couldn't find any bug report about this problem in other distributions. It seems that their package is fine
I've finally found a patch over at BLFS which solves the pesky Open file issue:
http://www.linuxfromscratch.org/blfs...a/xine-ui.html
http://www.linuxfromscratch.org/patc...am_fix-1.patch

This patch also works on Slackware 14.1 RC2.

Mats
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
rc4 kernel module azza Programming 1 06-28-2009 04:25 PM
INIT 4(rc4.d) guruvayur Linux - General 1 01-27-2009 05:39 AM
no modem slack 10.2, 2.6.16-rc4 teamjt Linux - Laptop and Netbook 1 02-28-2006 10:45 AM
AES vs RC4 vs TKIP jspsandhu Linux - Security 4 07-19-2005 09:50 AM
RC4 encryption koningshoed Linux - Security 4 01-27-2003 05:00 PM


All times are GMT -5. The time now is 04:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration