×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Brett, Is VXWorks on a VAL Board POSIX Compliant?

Brett, Is VXWorks on a VAL Board POSIX Compliant?

Brett, Is VXWorks on a VAL Board POSIX Compliant?

(OP)
I'm thinking it's not. I guess I'm just the most recent person to support someone who thought it was a good idea to name their announcements $message.wav

Why would they let you do that?

fun fact: cat listoffileswithDollarsignsinthem.txt | sed "s/\\$/\\\\$\\\/g" > thoseFilesWithBackslashesAroundTheDollarSignGone.txt adds backslashes before and after the $ rid of them if you find yourself needing to grab them all from BASH by FTP to strip the dollar sign off and put them back.

RE: Brett, Is VXWorks on a VAL Board POSIX Compliant?

Page 52
Avaya Aura Communication
Manager Screen Reference
03-602878
Release 5.2
May 2009
Issue 1.0

up to 27-character alpha-numeric filename
(no ., /, :, *, ?, <, >, \,
.wav, or blanks in this field for VAL circuit packs only)

try to use any of the characters above will return help message when you try to submit

Name can not contain a '.', '/', ':', '*', '?', '<', '>', '\', or blanks


A great teacher, does not provide answers, but methods to teach others "How and where to find the answers"

bsh

44 years Bell, AT&T, Lucent, Avaya
Tier 3 for 34 years and counting
http://bshtele.com

RE: Brett, Is VXWorks on a VAL Board POSIX Compliant?

(OP)
But why do they support dollar signs? I have to "ftp get \$\message.wav" and CM's bash shell can't "put" it that way onto a G450. It just seems like an unnecessarily permissive design choice.

Nobody can use file names with a dollar sign without problems!

RE: Brett, Is VXWorks on a VAL Board POSIX Compliant?

You youngsters don't understand this because you did not grow up learning from system 75 days.

system 75 and G1 and G3i used tn750 boards and the announcements were originally saved to tape and hard disk. (no .wav)
g3 as they evolved were later compatible with tn750B which be backed up to tape, disk, and flash cards.
tn750C would allow backups to tape, disk, flash cards but also saved to the announcement board memory.

The announcement naming conventions were not restrictive base on POSIX file systems.

starting with g3v9 and tn2501 ValBoards, the announcement naming convention was changed to work with previous systems
that had tn750 integrated announcements. For upgrade purposes the things that changed were no spaces in the names and
Name can not contain a '.', '/', ':', '*', '?', '<', '>', '\', or blanks. This allowed Definity and CM systems to support
both tn750 and tn2501, and later the virtual val on media-gateways. This is where file system naming became an issue.
The tn750 have no way to backup on Linux platform.

Below is an example from tn750C on g3siv6 to prove my point

CODE

list integrated-annc-boards                                                SPE B

                           INTEGRATED ANNOUNCEMENTS
Board Location: 02C20                         Time Remaining at 32Kbps: 109

Internal Announcement                                         Length in
Number   Extension    Name                        Rate        Seconds
1        3803         ./:*?<>$!#%^&@()-+          32             0 


A great teacher, does not provide answers, but methods to teach others "How and where to find the answers"

bsh

44 years Bell, AT&T, Lucent, Avaya
Tier 3 for 34 years and counting
http://bshtele.com

RE: Brett, Is VXWorks on a VAL Board POSIX Compliant?

Use a backslash for a delimiter in front of a special character like a dollarsign

solaris_tools [86468]-> ls -l *wav
-rw-r--r-- 1 bsh bsh 16895 Feb 15 2014 4c08.wav
solaris_tools [86469]-> cp 4c08.wav \$newname.wav
solaris_tools [86470]-> ls -l *wav
-rw-r--r-- 1 bsh bsh 16895 Feb 15 2014 4c08.wav
-rw-r--r-- 1 bsh bsh 16895 Jan 9 11:06 $newname.wav

solaris_tools [86463]-> ftp 172.16.2.48
Connected to 172.16.2.48.
220 FTP server ready
Name (172.16.2.48:bsh): bsh
331 Password required
Password:
230 User logged in
ftp> bin
200 Type set to I, binary mode
ftp> cd
(remote-directory) /annc
250 Changed directory to "/annc"
ftp> put 4c08.wav
200 Port set okay
150 Opening BINARY mode data connection
226 Transfer complete
local: 4c08.wav remote: 4c08.wav
16895 bytes sent in 0.035 seconds (473.97 Kbytes/s)
ftp> put \$newname.wav
200 Port set okay
150 Opening BINARY mode data connection
226 Transfer complete
local: $newname.wav remote: $newname.wav
16895 bytes sent in 4.6 seconds (3.56 Kbytes/s)
ftp> dir
200 Port set okay
150 Opening ASCII mode data connection
size date time name
-------- ------ ------ --------
16895 Jan-09-2018 11:05:24 4c08.wav
16895 Jan-09-2018 11:06:44 $newname.wav

226 Transfer complete
204 bytes received in 0.0037 seconds (53.40 Kbytes/s)
ftp>

CODE

list directory /annc board 001V9

                                LIST DIRECTORY

Board                File/Directory                    Creation       Size  Pro-
Loc                      Name                       Date       Time    Kb   tect
001V9 F:4c08.wav                                  2018/01/09 11:05:24 17     n
001V9 F:$newname.wav                              2018/01/09 11:06:44 17     n
--------------------------------------------------------------------------------
list integrated-annc-boards 1v9

                           INTEGRATED ANNOUNCEMENTS
Board Location: 001V9                         Time Remaining at 64Kbps: 986

Internal Group  Announcement                                  Length   Size
Number   Number Extension        Name                          (Sec)   (Kb)
NA              4902             4c08                          2      16
NA              4903             $newname                      2      16 


A great teacher, does not provide answers, but methods to teach others "How and where to find the answers"

bsh

44 years Bell, AT&T, Lucent, Avaya
Tier 3 for 34 years and counting
http://bshtele.com

RE: Brett, Is VXWorks on a VAL Board POSIX Compliant?

(OP)
Thanks for the background. I'd have just thought for the sake of keeping life simple that when they decided to change the rules at V9 that they'd have simplified the supported characters to at least a common set supported by any number of operating systems with a FTP program.

I guess the design decision with them being as critical as they are went something like "it works. we're changing as little as possible and not putting any kid gloves on this".

This youngster frowned a little when he spoke to the admin with $holdmsg#1.wav on his board and he pronounced it "dollar sign hold message hashtag 1 dot wave".

Thanks again!

RE: Brett, Is VXWorks on a VAL Board POSIX Compliant?

I don't know if you have noticed, but there are still several customers that are using tn750 boards with val and virtual val on all the
Linux CM platform loads that allow it. It's amazing to me, that with no way to back them up and a board only having 4 minute capacity, would be enough to think about investment in newer technology. Sixty minutes on a valboard and up to 240 minutes on g450 val with extra memory.

Most of the special characters can work with operating systems and ftp, sftp, scp using a backslash for a delimiter in front of all
characters that have special meaning to shell or even using quotes may be a work-around.

A great teacher, does not provide answers, but methods to teach others "How and where to find the answers"

bsh

44 years Bell, AT&T, Lucent, Avaya
Tier 3 for 34 years and counting
http://bshtele.com

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close