Jump to content
Muxe Inc Forums
Sign in to follow this  
Guest funa

NDN under Linux

Recommended Posts

Guest funa   
Guest funa

Can someone explain how to install and run NDN under Linux (Gentoo)?

Share this post


Link to post
Share on other sites

hi!

 

the first little hurdle to take is to unpack NDN.

i know it is not common to archive files in RAR under LINUX, but on the other hand it works well and i don't need to write special scripts for LINUX

so, obviously you need RAR or a compatible program to unpack NDN

 

as NDN is a DOS/WIN program it expects all install files in one directory, so you should create a dir named NDN and install the files into there

 

additionally, you can try around with these environment settings

NDN[LNG/DLG/CLP/SWP/DSK],SMARTPAD =

 

interesting is the NDN =

i haven't tried it myself in a multiuser env. yet, but you might be able to copy the file "ndn" into the "bin" dir and all other files to your home and hope that NDN starts

 

must try this myself soon

 

hope this is of help to you

Stefan / AH

Share this post


Link to post
Share on other sites

hi again!

 

i meant something like NDN = dir

 

(forgot that this text is interpreted as HTML so my notation was replaced...)

 

Stefan / AH

Share this post


Link to post
Share on other sites
Guest funa   
Guest funa

Well, it works. Thanks.

 

However, I have a few questions:

 

1. I don know where and how to put this NDN=/dir setting. In which file?

 

2. I am a great fan of Dos Navigator on Windows and here it works fine.

However on Linux the ESCAPE key behaves very strange - you have to hit it twice to cencel things.

How can I counfigure it to work like on Windows?

 

Thanks for help.

 

Igor

Share this post


Link to post
Share on other sites

hi!

 

1. i don't even know myself; it should be somewhere in the startup scripts so the environment contains the information and NDN can parse it, like autoexec.bat/config.sys in MS OS's

if you know/find and get it to work please let us know!

 

2. unfortunately we have to live with the limitations the LINUX text terminals provide, and believe me, compared to DOS/WINDOWS it is really limited.

it starts with the fact, that you cannot use all keyboard keys as you want: CTRL+F?? for example

(i know that i can load own key combinations into the kernel, but i don't know if that would help me...)

 

a single ESC is treated as a ALT, so the next key you press will be treated as ALT+?

 

you can check this behaviour (and strange keyboard combinations) in MIDNIGHT COMMANDER and other text applications

 

maybe i can succesfully change the keyboard handling someday to be closer to DOS, but at the moment there are more important things to do

 

i don't even want to start with copying/pasting from CLIPBOARD (im not even sure if its possible at all, just read some brief docs about something similar)

 

if you want to experience the trouble yourself, try executing NDN in a pure text terminal, and in a KDE terminal window

you will see that mouse may work or not in one of the 2, and many keys will behave differently

 

i am glad that the current NDN-LINUX versions run and do all the basic things (together with the additional introduction of what i call "virtual drives", the driveline which usually would be useless in LINUX, or FTP)

 

i found the documentation of LINUX internals to be a complete mess, and i now know, that, although there seem to be SO MANY linux freaks, most of them don't know anything about the internals; programming at the lowest level of LINUX is no fun

 

there are quite some things left to do in the LINUX version, but, then again, compared to all the other LINUX programs i know NDN is already in a very good shape

 

hope you find NDN in LINUX as useful as in DOS/WINDOWS

 

Stefan / AH

Share this post


Link to post
Share on other sites
Guest funa   
Guest funa

Hi!

 

Well, thans for help.

My only thought regarding the Escape key is this:

it coult probably be done with some setting - you could define whether

to act on Escape key immediately as ESCAPE or to wait for second key.

There is simmilar setting in the MC, however ESC here waits for 0.5 s before

it acts as Escape - I would like it not to wait.

 

I agree, NDN works under Linux.

But I would really appreciate if the god-damn ESC key woud obey my thoughts....

 

Igor

Share this post


Link to post
Share on other sites
Guest RayeR   
Guest RayeR

Hail to the Linux version!

I'm using DN very long time but woried about only MC under linux. Now I found NDN linux version, tried it and ti seem to work, good job! I'm nice surprised...

 

But there's still a lot missing to be perfect....

 

I have some questions:

 

1) How the "drive change" work here?

I would like to configure NDN to assume C: = /mnt/c , D: = /mnt/d ...etc

I don't find any config file to modify

 

2) When I run NDN under XTerm in Xwindows, ALT/CTRL/SHIFT key modifiers

doesn't work (in MC works) so I have to use menu. Is it normal?

Share this post


Link to post
Share on other sites

hi RayeR!

 

yes, there's a lot left to do (in all versions)

that's why i cannot concentrate on the linux version at the moment

 

1) NDN opens /proc/mounts and reads the entries of the file

each entry will be one drive on the drive line

i don't know how to sort the entries in that file, because it is generated by the system and only contains the drives that are actually mounted

maybe you can do that by sorting the drives in the /etc/fstab files in the odrer you want, it SHOULD use the same order as used in the /proc/mounts file.

 

2) yes, the way i know to read the shift-modifiers in linux does not work in any xterm environment

i don't know how MC does it (does it change the statusline when you press alt f.ex.?)

all i can say is that there is no obvious way to do it, so i think there must be a trick i don't know yet

maybe the next time i do some linux only work i can fix this

 

thanks for your message

 

Stefan / AH

 

PS: i haven't forgotten about the ESC problem,it will be

worked on ASAP too

Share this post


Link to post
Share on other sites
Guest RayeR   
Guest RayeR

>1) NDN opens /proc/mounts and reads the entries of the file

 

I looked at /proc/mount and saw the mounted systems. So I made

simple experiment. I swap 2 drive lines in /etc/fstab and reboot

Then I saw that /proc/mnt changed but NDN still sotrs the drives

in same order. To be more specific here's how NDN assigned my drives:

 

A: unknown

B: dev/pts

C: dev/shm

D: mnt/c

E: mnt/d

F: ...

 

the /mnt/* entires are sorted OK but I want to get mnt/c to be C:

but it is assigned to those stange /dev/things. It would be good if NDN

will use ini file to config drives...

 

>2) yes, the way i know to read the shift-modifiers in linux does not work

>in any xterm environment i don't know how MC does it (does it change the

>statusline when you press alt f.ex.?)

 

No status line don't change under Xterm.

 

I'll look forward for future NDN versions :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×