Can't pass filename to dtpad editor


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Can't pass filename to dtpad editor
# 1  
Old 04-11-2008
Can't pass filename to dtpad editor

At the command line, If I type:
%dtpad filename &

It opens up a blank dtpad window, just as if I typed:
%dtpad &

And no difference if I give it the pathname, such as:
%dtpad /here/there/filename &

No issues with passing a filename using vi, xedit, emacs, etc...

The SA indicated it's simply how dtpad runs on our AIX box,
but not being able to pass a file to an editor just doesn't make any sense.

Also, when dtpad opens, I can open a file going the gui File->Open route, but it's way too slow and cumbersome. Interestingly, when I go this route the files that come up for me to select are never in the directory where I actually kicked off dtpad:

So if I'm in /here/there, and open a dtpad window, the File->Open route points me to /nothere/notthere...I'm thinking there's a connection between this and not being able to pass a file on the command line, but don't have the expertise to diagnose...

Regards,
Eryck
# 2  
Old 04-11-2008
for further clarification,
I don't receive any errros when attempting to pass dtpad a filename,
it just brings up a blank window...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to pass subject,mailbody and filename as parameters to function?

Hi Experts, how to pass subject,mailbody and filename as parameters to function. mode=$1 file=/db/files/uniq.txt mail_send() { export MAILPART=$(uuidgen) export MAILPART_BODY=$(uuidgen) { echo "TO:nalu.d@hes.com" echo "Subject:$subject" echo "MIME-Version: 1.0" ... (0 Replies)
Discussion started by: nalu
0 Replies

2. Shell Programming and Scripting

How to pass filename as arguement to awk command?

Hi, I am facing one issue. The awk command works fine if i hardcode the file name but if is pass it as an arguement it doesn't work. For e.g:Below commands works fine awk -v A="$type" '{F=substr($0,23,8) "_LTD_" A ".txt"; print $0 >> F; close(F) }' RL004.txt But the below command does not... (2 Replies)
Discussion started by: Neelkanth
2 Replies

3. Shell Programming and Scripting

How to Pass filename to AWK in bash script

I have written a script which works fine, to remove patterns contained in EXCLUDE.DAT from input.txt awk 'BEGIN {n=0;while (getline < "EXCLUDE.DAT" > 0){ex=$0;n++}} {for(var in ex){print var "-" ex $0 ;i++}}' input.txt The last problem I need to solve is how to pass the file... (3 Replies)
Discussion started by: nixie
3 Replies

4. Shell Programming and Scripting

How to pass a filename as a command line argument

Hi,I have a script which is given below :#!/bin/bash. ini_script.shdb2 connect to $DB_NAME user $DB2_UID using $DB2_PASSWORDfor file in `ls -1 ./sql/ddw/`do echo "Executing the file $file" echo db2 -tvf $filedonedb2 quiti want this script to accept directorie's names present in... (1 Reply)
Discussion started by: ektubbe
1 Replies

5. Shell Programming and Scripting

Filename from splitting files to have the same filename of the original file with counter value

Hi all, I have a list of xml file. I need to split the files to a different files when see the <ko> tag. The list of filename are B20090908.1100-20090908.1200_CDMA=1,NO=2,SITE=3.xml B20090908.1200-20090908.1300_CDMA=1,NO=2,SITE=3.xml B20090908.1300-20090908.1400_CDMA=1,NO=2,SITE=3.xml ... (3 Replies)
Discussion started by: natalie23
3 Replies

6. Shell Programming and Scripting

set EDITOR=vi -> default editor not setting for cron tab

Hi All, I am running a script , working very fine on cmd prompt. The problem is that when I open do crontab -e even after setting editor to vi by set EDITOR=vi it does not open a vi editor , rather it do as below..... ///////////////////////////////////////////////////// $ set... (6 Replies)
Discussion started by: aarora_98
6 Replies

7. UNIX for Dummies Questions & Answers

Pasting text in VI editor from a different editor

Hi, I knw its a silly question, but am a newbie to 'vi' editor. I'm forced to use this, hence kindly help me with this question. How can i paste a chunk 'copied from' a different editor(gedit) in 'vi editor'? As i see, p & P options does work only within 'vi'. (10 Replies)
Discussion started by: harishmitty
10 Replies

8. UNIX for Dummies Questions & Answers

Can't pass filename to dtpad editor

I posted this in the Advanced forum, thought I'd try it here as well... At the command line, If I type: %dtpad filename & It just opens up a blank dtpad window (and no error is returned), just as if I typed: %dtpad & And no difference if I give it the pathname, such as: %dtpad... (1 Reply)
Discussion started by: edhamilt
1 Replies

9. UNIX for Dummies Questions & Answers

dtpad?

try{ng to find an easy to use text editor for the novice user (vi is too complicated, and pico may be a second choice). the issue I'm having is when the user(in dtpad) copies from another platform (e.g. IBM - MVS, windows), special characters show up such as carriage returns, etc. I know this... (2 Replies)
Discussion started by: douknownam
2 Replies

10. UNIX for Dummies Questions & Answers

pass argument to a filename

How can I use the value of an argument as a filename? Example: The argument for a process is 999. I would like the output of the process to be placed in a file called 999. I have tried using $$1, but that only assigns a unigue number. thanks JP (1 Reply)
Discussion started by: jpprial
1 Replies
Login or Register to Ask a Question