Quantcast
Channel: Comments for The Developer's Tidbits
Viewing all 373 articles
Browse latest View live

Comment on DosBox Beginners, Newbie and First Timers Guide by Ben

$
0
0

DOSBox is a MS-DOS “Microsoft Disk Operating System” emulator. Unless the COBOL programs were compiled to run on DOS then out of the box they probably would not work. If you have the source code to these programs there are Cobol compilers for DOS such as Free Cobol https://www.google.com/search?q=cobol+dos


Comment on Windows 7 Network Bookmarks, Shortcuts, Favourites by Weblyf - Social Bookmark

$
0
0

Weblyf – Social Bookmark…

[...]Windows 7 Network Bookmarks, Shortcuts, Favourites « The Developer's Tidbit[...]…

Comment on Windows File Junctions, Symbolic Links and Hard Links by Support for multiple folders in the Skydrive app… | SharePoint Blog

Comment on Remove or Clean High / Extended ASCII Characters in ColdFusion for XML Safeness by Josh Nathanson

Comment on The WordPress eXtended Rss (WXR) Export/Import, XML Document Format Decoded and Explained. by Khurram Nawaz

$
0
0

Hi sir, i have followed your tutorial and it help me alot in understanding the wordpress and standard RSS format, i am having some issues, issue is that i want to import images aswell and i am importing from custom blog, i am able to make XML format according to WXR, used RSS importer to import that XML file, but i dont know how to import images aswell, can you help me ?

Comment on Windows File Junctions, Symbolic Links and Hard Links by Ricardo Bohner

$
0
0

This is the best article about symbolic links, shortcuts, hardlinks and junctions I found so far, or at least the one I best understood. Thanks very much Ben.

I would like to add something about the post where “Robert” mentioned If there was a way of listing all the symbolic link on a computer.

Well one could use the command promt and enter:

dir /s /al c:\

Do this for all the drives you have Juncions, symbolic links and shortcuts. Let’s say you want a listing on your desktop about all the juncitons, symbolic links etc for c: and subfolders:

dir /s /al c:\ > %userprofile%\desktop\junctions.txt

Comment on Implement a SFTP Service for Ubuntu/Debian With a Chroot’ed, Isolated File Directory. by Cesar Serra

$
0
0

Excellent post. Clear, concise, very well executed. Helped and educated me on setting up SFTP access on my Ubuntu server install. Thanks so much!

Comment on Implement a SFTP Service for Ubuntu/Debian With a Chroot’ed, Isolated File Directory. by Ben

$
0
0

Thank you for the feedback, I am very glad the item was helpful.


Comment on Windows File Junctions, Symbolic Links and Hard Links by Ben

$
0
0

Thanks for the positive feedback Ricardo I am glad this was useful for you. I just tried out your dir command for listing all links on a computer and it worked perfectly, nice work.

Comment on The WordPress eXtended Rss (WXR) Export/Import, XML Document Format Decoded and Explained. by Ben

Comment on DOSBox Keys and Functions by Josh Hines

$
0
0

Some keyboards (of the newer variety) as well as nearly ALL laptop keyboards have different keycodes than older qwerty keyboards. I have noticed myself that many programs on dosbox can have issues if it asks for a specific shift or Ctrl key (left or right), as well as the ~ key. There is a way to fix this in Dosbox, but for the life of me I cannot remember the setting.
Instead of digging through the manual, which will read like stereo instructions (such an outdated notion now, eh?) if you are like me, simply do a search on google. (that’s how I found the answer)

I believe that my question was “getting ~ to work in dosbox”, or “~ wont work in dosbox”, possibly even “how to use ~ in dosbox” you can also type “tilde” instead of ~.

This is how I found the answer (within just a minute or two). It has to do with how DosBox lists your keyboard. There are many types of keyboards, most for different languages, but there are a few english ones, and you will need to switch to one of those. (I am on a laptop and I assure you, this fixed all of my keys.)

I apologize for the long post. I am going to add section 7 of the Dosbox manual here, since it contains the information you are seeking. I will attempt to use the “spoiler Code” to cut down on the size of this post. If it works (I have never posted here, and I don’t know if the BBCode works, nor do I know if I will be able to edit it afterwards…) then you will see the Chapter Title. Click on it to expand it so that you can see the information in it. If the spoiler code does not work, you will just see the whole thing with a BBCode tag around the heading.

===================
[spoiler=8. Keyboard Layout:]
===================

To switch to a different keyboard layout, either the entry “keyboardlayout” in the [dos] section of the DOSBox configuration file can be used, or the internal DOSBox program keyb.com (Section 4: Internal Programs) Both accept DOS conforming language codes (see below), but only by using keyb.com a custom codepage can be specified.

The default keyboardlayout=auto currently works under windows only. The language is chosen according to the OS language, but the keyboard layout is not detected.

Layout switching
DOSBox supports a number of keyboard layouts and codepages by default, in this case just the layout identifier needs to be specified (like keyboardlayout=PL214 in the DOSBox configuration file, or using “keyb PL214″ at the DOSBox command prompt). The list of all layouts built into DOSBox is here: http://vogons.zetafleet.com/viewtopic.php?t=21824

Some keyboard layouts (for example layout GK319 codepage 869 and layout RU441 codepage 808) have support for dual layouts that can be accessed by pressing LeftALT+RrightSHIFT for one layout and LeftALT+LeftSHIFT for the other. Some keyboard layouts (for example layout LT456 codepage 771) have support for three layouts, third can be accessed by pressing LeftALT+LeftCTRL

Supported external files
The FreeDOS .kl files are supported (FreeDOS keyb2 keyboard layoutfiles) as well as the FreeDOS keyboard.sys/keybrd2.sys/keybrd3.sys libraries which consist of all available .kl files. See http://www.freedos.org/ for precompiled keyboard layouts if the DOSBox-integrated layouts don’t work for some reason, or if updated or new layouts become available.

Both .CPI (MS-DOS and compatible codepage files) and .CPX (FreeDOS UPX-compressed codepage files) can be used. Some codepages are compiled into DOSBox, so it is mostly not needed to care about external codepage files. If you need a different (or custom) codepage file, copy it into the directory of the DOSBox so it is accessible for DOSBox. If you place all ten ega.cpx files (from FreeDOS) in DOSBox folder, an appropriate codepagefile for the requested layout/codepage is chosen automatically.

Additional layouts can be added by copying the corresponding .kl file into the directory of the DOSBox configuration file and using the first part of the filename as language code.

Example: For the file UZ.KL (keyboard layout for Uzbekistan) specify “keyboardlayout=uz” in the DOSBox configuration file.
The integration of keyboard layout packages (like keybrd2.sys) works similar.

Note that the keyboard layout allows foreign characters to be entered, but there is NO support for them in filenames. Try to avoid them both inside DOSBox as well as in files on your host operating system that are accessible by DOSBox.[/spoiler]

Well, whether that worked or not, I just wanted to add that you will have a much easier time getting this setting fixed if you use a front-end for dosbox. (Ignore this if you know what a front-end is.**A Front-End is a “shell” program that lets you interface with another program in a usually more efficient way.**)
The front-end I use is D-Fend Reloaded. It has a drop down menu in its game properties tab which you can use to select your keyboard. (And it’s extremely helpful in every other way. You can set it up for each game, to add cheats, manuals and hintbooks, extra game files, every setting in dosbox can be set for each game, and will be saved and remembered so all you have to do is click the game in the list to start playing.)

P.S. : It’s not just newer keyboards that seem to have the problem, it is also HP(Hewlett Packard) keyboards that seem to use a different layout than the one recognized by dos. The right setting will restore your non-functional keys. However, if this still does not work for you, then there is one SURE-FIRE method of fixing the problem, but as the saying goes, “It’s like going around your arse to get to your elbow.” Basically you can use a keymapping program to give your non working keys a different keybinding, which will then be recognized by Dosbox, but that ONLY works if you are needing the key for a control in a game. It still will not work for typing in commands, because you are basically changing the key (for example, Left Shift) to something else that Dosbox will recognize with your current keyboard layout. (like NUMPAD 5, from the extra number keys on the right of most full sized keyboards)
That causes the dosbox program to recognize the NUMPAD 5 key every time the Left Shift key is pressed. This can cause issues later on as that key might do something else, and really, the most simple way (don’t be intimidated!) is to change the layout of your keyboard as described above in section eight of the DosBox manual. If you cannot determine what layout you need, then trial and error will show you the way in less than 3 minutes. Just try one setting, go into the DosBox prompt, see if you can type those keys.
If you cannot, then exit DosBox, select another setting, preferably the next down the list just to be sure you don’t miss one, (only the english ones!) and then repeat the process. It really shouldn’t take that long.

I fixed my problem in this way, no problem. I hope it helps, and if all else fails, just do a search for the right setting, maybe add your model of keyboard/laptop to the search string, and you should find what you seek.

Good luck, and Happy Gaming!!!

-Volyren Nightsong (Volyren…….(a)………gmail…………com)

[just replace the (a) with @ and remove the extra dots.....obscure your email addy like this to avoid getting tons of spam. This way the spambots that search everything for email addresses won't recognize it as a valid target]

Comment on Implement a SFTP Service for Ubuntu/Debian With a Chroot’ed, Isolated File Directory. by uppulrisrk

$
0
0

post was very usefull. But i did as you posted above but at the client side clent console shows all folders in ” / ” folder.what i have o now to slove this

Comment on Implement a SFTP Service for Ubuntu/Debian With a Chroot’ed, Isolated File Directory. by Ben

$
0
0

I suggest trying again and make sure you follow each instruction. If you are serving root “/” as the base FTP directory there is something wrong with your set-up. You are not chroot to a sub-directory.

Comment on DosBox Beginners, Newbie and First Timers Guide by Bianca Smith Dallaire

$
0
0

i dont see my file when i CLEARLY put it in the c:\ drive and i write dir command it shows me EVERYTHING exept that file. you need more steps!!!! fuck.

Comment on DosBox Beginners, Newbie and First Timers Guide by Ben

$
0
0

You put the files in your DOSBox Virtual drive, not your Windows C: drive. In this example the DOSBox Virtual drive is “C:\DOS Hard Disk\”


Comment on Implement a SFTP Service for Ubuntu/Debian With a Chroot’ed, Isolated File Directory. by uppulrisrk

$
0
0

thank you very much i have completed sftp configuration.but i have small doubt can i integrate ads users to ubuntu to login sftp server

Comment on Implement a SFTP Service for Ubuntu/Debian With a Chroot’ed, Isolated File Directory. by greycellz

$
0
0

Thank you. This worked very well. I have a small query. Instead of /var/www I want to use /home/username. This is because I have a separate home partition and is much bigger in size than / partion. I tried to change in sss_config file, but did not had any success.

Comment on Implement a SFTP Service for Ubuntu/Debian With a Chroot’ed, Isolated File Directory. by Ben

$
0
0

Please read comment #15 for a detailed answer. Basically you can not use home directories.

Comment on Windows File Junctions, Symbolic Links and Hard Links by chris2mop

$
0
0

Hi,
After reading the previous posts, i still have a question about symlinks:
let’s assume:
HDD1 C: , D: , E: partitionned
some users’s dirs on C: mklinked (/J option) to E: partition dirs

then, because of run out of space on D: partition, i have to resize it (getting additional space from E:)
are the links preservated after the whole process ?

and more:
Expanding D: partition to the rest of HDD1 and adding a new HDD as follow:
HDD1 C: , D:
HDD2 E:

Tks in advance
Chris2mop

Comment on Windows File Junctions, Symbolic Links and Hard Links by Ben

$
0
0

The links will remain unaffected unless you start deleting data off drive E:. Normally you will only be able to enlarge D: from unused space from drive E:. But your available free space on drive E: and for your symlink targets will be less.

Viewing all 373 articles
Browse latest View live




Latest Images