01-10-2020
looks to me like the character set is either not installed on the linux box for your language or there are some other encoding differences between the unix and the linux box. Ideally you should only use ascii characters in filenames to avoid this kind of problems or they get lost in translation across platforms.
10 More Discussions You Might Find Interesting
1. Red Hat
If PATH is set to ../bin:../sbin:/usr/bin:/usr/local/bin (chunk of path string). Sometime when I try to execute ls command it says ../bin/ls not found. According to my understanding "ls" should be searched in all the path varibales that we set in the PATH varaibale.
Is there any reason for the... (5 Replies)
Discussion started by: hansini
5 Replies
2. UNIX for Dummies Questions & Answers
hello
On Debian Lenny, I first ran apt-get install git-core and then removed it to install from source. The trouble is that when I typed git --version, I am get:
-bash: /usr/bin/git: No such file or directory
of course, git is now in /usr/local/bin
I don't understand why since... (1 Reply)
Discussion started by: JCR
1 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I logged in to the unix solaris with my user name and then I again logged in with the sudo bash -l command
now when I do echo $PATH
It shows me => /usr/bin:/usr/local/bin:/usr/bin/usr/sbin:/usr/ucb:/usr/local/bin
How do i find out where is this file located for setting the... (3 Replies)
Discussion started by: siddhans
3 Replies
4. Shell Programming and Scripting
This is weirdly a linux question I suppose.
Im having a problem with this code the file path is fine if I don't use the ~ and put in the user /Users/tempuser/....
This will be installed on more than one computer and changing the plist for every install is going to become tedious.
Is there... (1 Reply)
Discussion started by: digitalviking
1 Replies
5. UNIX for Dummies Questions & Answers
I use the following command to print the current directory above the command prompt
set prompt="`exec pwd`\n$USER@`hostname -s` %B: % > "
The output is something like this
<current path>
$USER@hostname >
But when I try to CD to any other directory and press the return key, the... (6 Replies)
Discussion started by: aelhosiny
6 Replies
6. Shell Programming and Scripting
Hi All,
Can you please provide some pointers to move files from Base path to multiple paths in efficient way.Folder Structure is already created.
/Path/AdminUser/User1/1111/Reports/aaa.txt to /Path/User1/1111/Reports/aaa.txt
/Path/AdminUser/User1/2222/Reports/bbb.txt to... (6 Replies)
Discussion started by: karthikgv417
6 Replies
7. Shell Programming and Scripting
Greetings Experts,
I need to pass a parameter to ksh and the value is windows path eg: sh abc.txt C:\Users\chill3chee\Desktop
No matter I try with \ delimiter, still could not get this exact value assigned to the shell variable which was checked with echo. Tried with using... (2 Replies)
Discussion started by: chill3chee
2 Replies
8. UNIX for Advanced & Expert Users
Currently I am using this laborious command
lvdisplay | awk '/LV Path/ {p=$3} /LV Name/ {n=$3} /VG Name/ {v=$3} /Block device/ {d=$3; sub(".*:", "/dev/dm-", d); printf "%s\t%s\t%s\n", p, "/dev/mapper/"v"-"n, d}'
Would like to know if there is any shorter method to get this mapping of... (2 Replies)
Discussion started by: royalibrahim
2 Replies
9. AIX
Hello,
I have encountered the issue on my AIX 6.1. As you can see below, the hdisk1 & hdisk8 are not recognized by the system
/ > lspv
hdisk0 00fa6d1288c820aa rootvg active
hdisk1 00fa6d1288c8213c None
hdisk2 ... (9 Replies)
Discussion started by: Phat
9 Replies
10. UNIX for Beginners Questions & Answers
Hello,
I am creating a file with all the source folders included in my git branch, when i grep for the used source, i found source included as relative path instead of absolute path, how can convert relative path to absolute path without changing directory to that folder and using readlink -f ? ... (4 Replies)
Discussion started by: Sekhar419
4 Replies
CURSES_BORDER(3) BSD Library Functions Manual CURSES_BORDER(3)
NAME
curses_border, border, box, wborder -- curses border drawing routines
LIBRARY
Curses Library (libcurses, -lcurses)
SYNOPSIS
#include <curses.h>
int
border(chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr, chtype bl, chtype br);
int
box(WINDOW *win, chtype vertical, chtype horizontal);
int
wborder(WINDOW *win, chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr, chtype bl, chtype br);
DESCRIPTION
These functions draw borders around stdscr or around the specified window.
The border() function draws a border around stdscr using the characters given as arguments to the function. The ls, rs, ts and bs are the
characters used to draw the left, right, top and bottom sides, respectively. The tl, tr, bl and br are the characters used to draw the top-
left, top-right, bottom-left and bottom-right corners, respectively. If any of the characters have a text portion that is 0 then a default
alternate character set character is used for that character. Note that even though the text portion of the argument is 0, the argument can
still be used to specify the attributes for that portion of the border. The following table shows the default characters for each argument:
ls ACS_VLINE
rs ACS_VLINE
ts ACS_HLINE
bs ACS_HLINE
tl ACS_ULCORNER
tr ACS_URCORNER
bl ACS_LLCORNER
br ACS_LRCORNER
wborder() is the same as border() excepting that the border is drawn around the specified window.
The box() command draws a box around the window given in win using the vertical character for the vertical lines and the horizontal character
for the horizontal lines. The corner characters of this box will be the defaults as described for border() above. Passing characters with
text portion that is 0 to box() will result in the same defaults as those for border() as described above.
RETURN VALUES
Functions returning pointers will return NULL if an error is detected. The functions that return an int will return one of the following
values:
OK The function completed successfully.
ERR An error occurred in the function.
SEE ALSO
curses_attributes(3), curses_line(3)
STANDARDS
The NetBSD Curses library complies with the X/Open Curses specification, part of the Single Unix Specification.
HISTORY
The Curses package appeared in 4.0BSD.
BSD
August 12, 2002 BSD